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