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