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