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