{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.FSx.Types.InputOntapVolumeType
( InputOntapVolumeType
( ..,
InputOntapVolumeType_DP,
InputOntapVolumeType_RW
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype InputOntapVolumeType = InputOntapVolumeType'
{ InputOntapVolumeType -> Text
fromInputOntapVolumeType ::
Data.Text
}
deriving stock
( Int -> InputOntapVolumeType -> ShowS
[InputOntapVolumeType] -> ShowS
InputOntapVolumeType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputOntapVolumeType] -> ShowS
$cshowList :: [InputOntapVolumeType] -> ShowS
show :: InputOntapVolumeType -> String
$cshow :: InputOntapVolumeType -> String
showsPrec :: Int -> InputOntapVolumeType -> ShowS
$cshowsPrec :: Int -> InputOntapVolumeType -> ShowS
Prelude.Show,
ReadPrec [InputOntapVolumeType]
ReadPrec InputOntapVolumeType
Int -> ReadS InputOntapVolumeType
ReadS [InputOntapVolumeType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [InputOntapVolumeType]
$creadListPrec :: ReadPrec [InputOntapVolumeType]
readPrec :: ReadPrec InputOntapVolumeType
$creadPrec :: ReadPrec InputOntapVolumeType
readList :: ReadS [InputOntapVolumeType]
$creadList :: ReadS [InputOntapVolumeType]
readsPrec :: Int -> ReadS InputOntapVolumeType
$creadsPrec :: Int -> ReadS InputOntapVolumeType
Prelude.Read,
InputOntapVolumeType -> InputOntapVolumeType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
$c/= :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
== :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
$c== :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
Prelude.Eq,
Eq InputOntapVolumeType
InputOntapVolumeType -> InputOntapVolumeType -> Bool
InputOntapVolumeType -> InputOntapVolumeType -> Ordering
InputOntapVolumeType
-> InputOntapVolumeType -> InputOntapVolumeType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: InputOntapVolumeType
-> InputOntapVolumeType -> InputOntapVolumeType
$cmin :: InputOntapVolumeType
-> InputOntapVolumeType -> InputOntapVolumeType
max :: InputOntapVolumeType
-> InputOntapVolumeType -> InputOntapVolumeType
$cmax :: InputOntapVolumeType
-> InputOntapVolumeType -> InputOntapVolumeType
>= :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
$c>= :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
> :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
$c> :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
<= :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
$c<= :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
< :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
$c< :: InputOntapVolumeType -> InputOntapVolumeType -> Bool
compare :: InputOntapVolumeType -> InputOntapVolumeType -> Ordering
$ccompare :: InputOntapVolumeType -> InputOntapVolumeType -> Ordering
Prelude.Ord,
forall x. Rep InputOntapVolumeType x -> InputOntapVolumeType
forall x. InputOntapVolumeType -> Rep InputOntapVolumeType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputOntapVolumeType x -> InputOntapVolumeType
$cfrom :: forall x. InputOntapVolumeType -> Rep InputOntapVolumeType x
Prelude.Generic
)
deriving newtype
( Eq InputOntapVolumeType
Int -> InputOntapVolumeType -> Int
InputOntapVolumeType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: InputOntapVolumeType -> Int
$chash :: InputOntapVolumeType -> Int
hashWithSalt :: Int -> InputOntapVolumeType -> Int
$chashWithSalt :: Int -> InputOntapVolumeType -> Int
Prelude.Hashable,
InputOntapVolumeType -> ()
forall a. (a -> ()) -> NFData a
rnf :: InputOntapVolumeType -> ()
$crnf :: InputOntapVolumeType -> ()
Prelude.NFData,
Text -> Either String InputOntapVolumeType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String InputOntapVolumeType
$cfromText :: Text -> Either String InputOntapVolumeType
Data.FromText,
InputOntapVolumeType -> Text
forall a. (a -> Text) -> ToText a
toText :: InputOntapVolumeType -> Text
$ctoText :: InputOntapVolumeType -> Text
Data.ToText,
InputOntapVolumeType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: InputOntapVolumeType -> ByteString
$ctoBS :: InputOntapVolumeType -> ByteString
Data.ToByteString,
InputOntapVolumeType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InputOntapVolumeType -> ByteStringBuilder
$cbuild :: InputOntapVolumeType -> ByteStringBuilder
Data.ToLog,
HeaderName -> InputOntapVolumeType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> InputOntapVolumeType -> [Header]
$ctoHeader :: HeaderName -> InputOntapVolumeType -> [Header]
Data.ToHeader,
InputOntapVolumeType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InputOntapVolumeType -> QueryString
$ctoQuery :: InputOntapVolumeType -> QueryString
Data.ToQuery,
Value -> Parser [InputOntapVolumeType]
Value -> Parser InputOntapVolumeType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [InputOntapVolumeType]
$cparseJSONList :: Value -> Parser [InputOntapVolumeType]
parseJSON :: Value -> Parser InputOntapVolumeType
$cparseJSON :: Value -> Parser InputOntapVolumeType
Data.FromJSON,
FromJSONKeyFunction [InputOntapVolumeType]
FromJSONKeyFunction InputOntapVolumeType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [InputOntapVolumeType]
$cfromJSONKeyList :: FromJSONKeyFunction [InputOntapVolumeType]
fromJSONKey :: FromJSONKeyFunction InputOntapVolumeType
$cfromJSONKey :: FromJSONKeyFunction InputOntapVolumeType
Data.FromJSONKey,
[InputOntapVolumeType] -> Encoding
[InputOntapVolumeType] -> Value
InputOntapVolumeType -> Encoding
InputOntapVolumeType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [InputOntapVolumeType] -> Encoding
$ctoEncodingList :: [InputOntapVolumeType] -> Encoding
toJSONList :: [InputOntapVolumeType] -> Value
$ctoJSONList :: [InputOntapVolumeType] -> Value
toEncoding :: InputOntapVolumeType -> Encoding
$ctoEncoding :: InputOntapVolumeType -> Encoding
toJSON :: InputOntapVolumeType -> Value
$ctoJSON :: InputOntapVolumeType -> Value
Data.ToJSON,
ToJSONKeyFunction [InputOntapVolumeType]
ToJSONKeyFunction InputOntapVolumeType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [InputOntapVolumeType]
$ctoJSONKeyList :: ToJSONKeyFunction [InputOntapVolumeType]
toJSONKey :: ToJSONKeyFunction InputOntapVolumeType
$ctoJSONKey :: ToJSONKeyFunction InputOntapVolumeType
Data.ToJSONKey,
[Node] -> Either String InputOntapVolumeType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String InputOntapVolumeType
$cparseXML :: [Node] -> Either String InputOntapVolumeType
Data.FromXML,
InputOntapVolumeType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: InputOntapVolumeType -> XML
$ctoXML :: InputOntapVolumeType -> XML
Data.ToXML
)
pattern InputOntapVolumeType_DP :: InputOntapVolumeType
pattern $bInputOntapVolumeType_DP :: InputOntapVolumeType
$mInputOntapVolumeType_DP :: forall {r}.
InputOntapVolumeType -> ((# #) -> r) -> ((# #) -> r) -> r
InputOntapVolumeType_DP = InputOntapVolumeType' "DP"
pattern InputOntapVolumeType_RW :: InputOntapVolumeType
pattern $bInputOntapVolumeType_RW :: InputOntapVolumeType
$mInputOntapVolumeType_RW :: forall {r}.
InputOntapVolumeType -> ((# #) -> r) -> ((# #) -> r) -> r
InputOntapVolumeType_RW = InputOntapVolumeType' "RW"
{-# COMPLETE
InputOntapVolumeType_DP,
InputOntapVolumeType_RW,
InputOntapVolumeType'
#-}