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