{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaLive.Types.H264FlickerAq
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.H264FlickerAq
  ( H264FlickerAq
      ( ..,
        H264FlickerAq_DISABLED,
        H264FlickerAq_ENABLED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | H264 Flicker Aq
newtype H264FlickerAq = H264FlickerAq'
  { H264FlickerAq -> Text
fromH264FlickerAq ::
      Data.Text
  }
  deriving stock
    ( Int -> H264FlickerAq -> ShowS
[H264FlickerAq] -> ShowS
H264FlickerAq -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [H264FlickerAq] -> ShowS
$cshowList :: [H264FlickerAq] -> ShowS
show :: H264FlickerAq -> String
$cshow :: H264FlickerAq -> String
showsPrec :: Int -> H264FlickerAq -> ShowS
$cshowsPrec :: Int -> H264FlickerAq -> ShowS
Prelude.Show,
      ReadPrec [H264FlickerAq]
ReadPrec H264FlickerAq
Int -> ReadS H264FlickerAq
ReadS [H264FlickerAq]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [H264FlickerAq]
$creadListPrec :: ReadPrec [H264FlickerAq]
readPrec :: ReadPrec H264FlickerAq
$creadPrec :: ReadPrec H264FlickerAq
readList :: ReadS [H264FlickerAq]
$creadList :: ReadS [H264FlickerAq]
readsPrec :: Int -> ReadS H264FlickerAq
$creadsPrec :: Int -> ReadS H264FlickerAq
Prelude.Read,
      H264FlickerAq -> H264FlickerAq -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: H264FlickerAq -> H264FlickerAq -> Bool
$c/= :: H264FlickerAq -> H264FlickerAq -> Bool
== :: H264FlickerAq -> H264FlickerAq -> Bool
$c== :: H264FlickerAq -> H264FlickerAq -> Bool
Prelude.Eq,
      Eq H264FlickerAq
H264FlickerAq -> H264FlickerAq -> Bool
H264FlickerAq -> H264FlickerAq -> Ordering
H264FlickerAq -> H264FlickerAq -> H264FlickerAq
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 :: H264FlickerAq -> H264FlickerAq -> H264FlickerAq
$cmin :: H264FlickerAq -> H264FlickerAq -> H264FlickerAq
max :: H264FlickerAq -> H264FlickerAq -> H264FlickerAq
$cmax :: H264FlickerAq -> H264FlickerAq -> H264FlickerAq
>= :: H264FlickerAq -> H264FlickerAq -> Bool
$c>= :: H264FlickerAq -> H264FlickerAq -> Bool
> :: H264FlickerAq -> H264FlickerAq -> Bool
$c> :: H264FlickerAq -> H264FlickerAq -> Bool
<= :: H264FlickerAq -> H264FlickerAq -> Bool
$c<= :: H264FlickerAq -> H264FlickerAq -> Bool
< :: H264FlickerAq -> H264FlickerAq -> Bool
$c< :: H264FlickerAq -> H264FlickerAq -> Bool
compare :: H264FlickerAq -> H264FlickerAq -> Ordering
$ccompare :: H264FlickerAq -> H264FlickerAq -> Ordering
Prelude.Ord,
      forall x. Rep H264FlickerAq x -> H264FlickerAq
forall x. H264FlickerAq -> Rep H264FlickerAq x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep H264FlickerAq x -> H264FlickerAq
$cfrom :: forall x. H264FlickerAq -> Rep H264FlickerAq x
Prelude.Generic
    )
  deriving newtype
    ( Eq H264FlickerAq
Int -> H264FlickerAq -> Int
H264FlickerAq -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: H264FlickerAq -> Int
$chash :: H264FlickerAq -> Int
hashWithSalt :: Int -> H264FlickerAq -> Int
$chashWithSalt :: Int -> H264FlickerAq -> Int
Prelude.Hashable,
      H264FlickerAq -> ()
forall a. (a -> ()) -> NFData a
rnf :: H264FlickerAq -> ()
$crnf :: H264FlickerAq -> ()
Prelude.NFData,
      Text -> Either String H264FlickerAq
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H264FlickerAq
$cfromText :: Text -> Either String H264FlickerAq
Data.FromText,
      H264FlickerAq -> Text
forall a. (a -> Text) -> ToText a
toText :: H264FlickerAq -> Text
$ctoText :: H264FlickerAq -> Text
Data.ToText,
      H264FlickerAq -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H264FlickerAq -> ByteString
$ctoBS :: H264FlickerAq -> ByteString
Data.ToByteString,
      H264FlickerAq -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H264FlickerAq -> ByteStringBuilder
$cbuild :: H264FlickerAq -> ByteStringBuilder
Data.ToLog,
      HeaderName -> H264FlickerAq -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H264FlickerAq -> [Header]
$ctoHeader :: HeaderName -> H264FlickerAq -> [Header]
Data.ToHeader,
      H264FlickerAq -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H264FlickerAq -> QueryString
$ctoQuery :: H264FlickerAq -> QueryString
Data.ToQuery,
      Value -> Parser [H264FlickerAq]
Value -> Parser H264FlickerAq
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [H264FlickerAq]
$cparseJSONList :: Value -> Parser [H264FlickerAq]
parseJSON :: Value -> Parser H264FlickerAq
$cparseJSON :: Value -> Parser H264FlickerAq
Data.FromJSON,
      FromJSONKeyFunction [H264FlickerAq]
FromJSONKeyFunction H264FlickerAq
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H264FlickerAq]
$cfromJSONKeyList :: FromJSONKeyFunction [H264FlickerAq]
fromJSONKey :: FromJSONKeyFunction H264FlickerAq
$cfromJSONKey :: FromJSONKeyFunction H264FlickerAq
Data.FromJSONKey,
      [H264FlickerAq] -> Encoding
[H264FlickerAq] -> Value
H264FlickerAq -> Encoding
H264FlickerAq -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [H264FlickerAq] -> Encoding
$ctoEncodingList :: [H264FlickerAq] -> Encoding
toJSONList :: [H264FlickerAq] -> Value
$ctoJSONList :: [H264FlickerAq] -> Value
toEncoding :: H264FlickerAq -> Encoding
$ctoEncoding :: H264FlickerAq -> Encoding
toJSON :: H264FlickerAq -> Value
$ctoJSON :: H264FlickerAq -> Value
Data.ToJSON,
      ToJSONKeyFunction [H264FlickerAq]
ToJSONKeyFunction H264FlickerAq
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H264FlickerAq]
$ctoJSONKeyList :: ToJSONKeyFunction [H264FlickerAq]
toJSONKey :: ToJSONKeyFunction H264FlickerAq
$ctoJSONKey :: ToJSONKeyFunction H264FlickerAq
Data.ToJSONKey,
      [Node] -> Either String H264FlickerAq
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H264FlickerAq
$cparseXML :: [Node] -> Either String H264FlickerAq
Data.FromXML,
      H264FlickerAq -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H264FlickerAq -> XML
$ctoXML :: H264FlickerAq -> XML
Data.ToXML
    )

pattern H264FlickerAq_DISABLED :: H264FlickerAq
pattern $bH264FlickerAq_DISABLED :: H264FlickerAq
$mH264FlickerAq_DISABLED :: forall {r}. H264FlickerAq -> ((# #) -> r) -> ((# #) -> r) -> r
H264FlickerAq_DISABLED = H264FlickerAq' "DISABLED"

pattern H264FlickerAq_ENABLED :: H264FlickerAq
pattern $bH264FlickerAq_ENABLED :: H264FlickerAq
$mH264FlickerAq_ENABLED :: forall {r}. H264FlickerAq -> ((# #) -> r) -> ((# #) -> r) -> r
H264FlickerAq_ENABLED = H264FlickerAq' "ENABLED"

{-# COMPLETE
  H264FlickerAq_DISABLED,
  H264FlickerAq_ENABLED,
  H264FlickerAq'
  #-}