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