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