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