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