{-# 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.MediaConvert.Types.Xavc4kIntraCbgProfileClass
-- 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.MediaConvert.Types.Xavc4kIntraCbgProfileClass
  ( Xavc4kIntraCbgProfileClass
      ( ..,
        Xavc4kIntraCbgProfileClass_CLASS_100,
        Xavc4kIntraCbgProfileClass_CLASS_300,
        Xavc4kIntraCbgProfileClass_CLASS_480
      ),
  )
where

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

-- | Specify the XAVC Intra 4k (CBG) Class to set the bitrate of your output.
-- Outputs of the same class have similar image quality over the operating
-- points that are valid for that class.
newtype Xavc4kIntraCbgProfileClass = Xavc4kIntraCbgProfileClass'
  { Xavc4kIntraCbgProfileClass -> Text
fromXavc4kIntraCbgProfileClass ::
      Data.Text
  }
  deriving stock
    ( Int -> Xavc4kIntraCbgProfileClass -> ShowS
[Xavc4kIntraCbgProfileClass] -> ShowS
Xavc4kIntraCbgProfileClass -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Xavc4kIntraCbgProfileClass] -> ShowS
$cshowList :: [Xavc4kIntraCbgProfileClass] -> ShowS
show :: Xavc4kIntraCbgProfileClass -> String
$cshow :: Xavc4kIntraCbgProfileClass -> String
showsPrec :: Int -> Xavc4kIntraCbgProfileClass -> ShowS
$cshowsPrec :: Int -> Xavc4kIntraCbgProfileClass -> ShowS
Prelude.Show,
      ReadPrec [Xavc4kIntraCbgProfileClass]
ReadPrec Xavc4kIntraCbgProfileClass
Int -> ReadS Xavc4kIntraCbgProfileClass
ReadS [Xavc4kIntraCbgProfileClass]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Xavc4kIntraCbgProfileClass]
$creadListPrec :: ReadPrec [Xavc4kIntraCbgProfileClass]
readPrec :: ReadPrec Xavc4kIntraCbgProfileClass
$creadPrec :: ReadPrec Xavc4kIntraCbgProfileClass
readList :: ReadS [Xavc4kIntraCbgProfileClass]
$creadList :: ReadS [Xavc4kIntraCbgProfileClass]
readsPrec :: Int -> ReadS Xavc4kIntraCbgProfileClass
$creadsPrec :: Int -> ReadS Xavc4kIntraCbgProfileClass
Prelude.Read,
      Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
$c/= :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
== :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
$c== :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
Prelude.Eq,
      Eq Xavc4kIntraCbgProfileClass
Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Ordering
Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass
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 :: Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass
$cmin :: Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass
max :: Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass
$cmax :: Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass
>= :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
$c>= :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
> :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
$c> :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
<= :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
$c<= :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
< :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
$c< :: Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool
compare :: Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Ordering
$ccompare :: Xavc4kIntraCbgProfileClass
-> Xavc4kIntraCbgProfileClass -> Ordering
Prelude.Ord,
      forall x.
Rep Xavc4kIntraCbgProfileClass x -> Xavc4kIntraCbgProfileClass
forall x.
Xavc4kIntraCbgProfileClass -> Rep Xavc4kIntraCbgProfileClass x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep Xavc4kIntraCbgProfileClass x -> Xavc4kIntraCbgProfileClass
$cfrom :: forall x.
Xavc4kIntraCbgProfileClass -> Rep Xavc4kIntraCbgProfileClass x
Prelude.Generic
    )
  deriving newtype
    ( Eq Xavc4kIntraCbgProfileClass
Int -> Xavc4kIntraCbgProfileClass -> Int
Xavc4kIntraCbgProfileClass -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Xavc4kIntraCbgProfileClass -> Int
$chash :: Xavc4kIntraCbgProfileClass -> Int
hashWithSalt :: Int -> Xavc4kIntraCbgProfileClass -> Int
$chashWithSalt :: Int -> Xavc4kIntraCbgProfileClass -> Int
Prelude.Hashable,
      Xavc4kIntraCbgProfileClass -> ()
forall a. (a -> ()) -> NFData a
rnf :: Xavc4kIntraCbgProfileClass -> ()
$crnf :: Xavc4kIntraCbgProfileClass -> ()
Prelude.NFData,
      Text -> Either String Xavc4kIntraCbgProfileClass
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Xavc4kIntraCbgProfileClass
$cfromText :: Text -> Either String Xavc4kIntraCbgProfileClass
Data.FromText,
      Xavc4kIntraCbgProfileClass -> Text
forall a. (a -> Text) -> ToText a
toText :: Xavc4kIntraCbgProfileClass -> Text
$ctoText :: Xavc4kIntraCbgProfileClass -> Text
Data.ToText,
      Xavc4kIntraCbgProfileClass -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Xavc4kIntraCbgProfileClass -> ByteString
$ctoBS :: Xavc4kIntraCbgProfileClass -> ByteString
Data.ToByteString,
      Xavc4kIntraCbgProfileClass -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Xavc4kIntraCbgProfileClass -> ByteStringBuilder
$cbuild :: Xavc4kIntraCbgProfileClass -> ByteStringBuilder
Data.ToLog,
      HeaderName -> Xavc4kIntraCbgProfileClass -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Xavc4kIntraCbgProfileClass -> [Header]
$ctoHeader :: HeaderName -> Xavc4kIntraCbgProfileClass -> [Header]
Data.ToHeader,
      Xavc4kIntraCbgProfileClass -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Xavc4kIntraCbgProfileClass -> QueryString
$ctoQuery :: Xavc4kIntraCbgProfileClass -> QueryString
Data.ToQuery,
      Value -> Parser [Xavc4kIntraCbgProfileClass]
Value -> Parser Xavc4kIntraCbgProfileClass
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Xavc4kIntraCbgProfileClass]
$cparseJSONList :: Value -> Parser [Xavc4kIntraCbgProfileClass]
parseJSON :: Value -> Parser Xavc4kIntraCbgProfileClass
$cparseJSON :: Value -> Parser Xavc4kIntraCbgProfileClass
Data.FromJSON,
      FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
FromJSONKeyFunction Xavc4kIntraCbgProfileClass
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
$cfromJSONKeyList :: FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
fromJSONKey :: FromJSONKeyFunction Xavc4kIntraCbgProfileClass
$cfromJSONKey :: FromJSONKeyFunction Xavc4kIntraCbgProfileClass
Data.FromJSONKey,
      [Xavc4kIntraCbgProfileClass] -> Encoding
[Xavc4kIntraCbgProfileClass] -> Value
Xavc4kIntraCbgProfileClass -> Encoding
Xavc4kIntraCbgProfileClass -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Xavc4kIntraCbgProfileClass] -> Encoding
$ctoEncodingList :: [Xavc4kIntraCbgProfileClass] -> Encoding
toJSONList :: [Xavc4kIntraCbgProfileClass] -> Value
$ctoJSONList :: [Xavc4kIntraCbgProfileClass] -> Value
toEncoding :: Xavc4kIntraCbgProfileClass -> Encoding
$ctoEncoding :: Xavc4kIntraCbgProfileClass -> Encoding
toJSON :: Xavc4kIntraCbgProfileClass -> Value
$ctoJSON :: Xavc4kIntraCbgProfileClass -> Value
Data.ToJSON,
      ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
ToJSONKeyFunction Xavc4kIntraCbgProfileClass
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
$ctoJSONKeyList :: ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
toJSONKey :: ToJSONKeyFunction Xavc4kIntraCbgProfileClass
$ctoJSONKey :: ToJSONKeyFunction Xavc4kIntraCbgProfileClass
Data.ToJSONKey,
      [Node] -> Either String Xavc4kIntraCbgProfileClass
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Xavc4kIntraCbgProfileClass
$cparseXML :: [Node] -> Either String Xavc4kIntraCbgProfileClass
Data.FromXML,
      Xavc4kIntraCbgProfileClass -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Xavc4kIntraCbgProfileClass -> XML
$ctoXML :: Xavc4kIntraCbgProfileClass -> XML
Data.ToXML
    )

pattern Xavc4kIntraCbgProfileClass_CLASS_100 :: Xavc4kIntraCbgProfileClass
pattern $bXavc4kIntraCbgProfileClass_CLASS_100 :: Xavc4kIntraCbgProfileClass
$mXavc4kIntraCbgProfileClass_CLASS_100 :: forall {r}.
Xavc4kIntraCbgProfileClass -> ((# #) -> r) -> ((# #) -> r) -> r
Xavc4kIntraCbgProfileClass_CLASS_100 = Xavc4kIntraCbgProfileClass' "CLASS_100"

pattern Xavc4kIntraCbgProfileClass_CLASS_300 :: Xavc4kIntraCbgProfileClass
pattern $bXavc4kIntraCbgProfileClass_CLASS_300 :: Xavc4kIntraCbgProfileClass
$mXavc4kIntraCbgProfileClass_CLASS_300 :: forall {r}.
Xavc4kIntraCbgProfileClass -> ((# #) -> r) -> ((# #) -> r) -> r
Xavc4kIntraCbgProfileClass_CLASS_300 = Xavc4kIntraCbgProfileClass' "CLASS_300"

pattern Xavc4kIntraCbgProfileClass_CLASS_480 :: Xavc4kIntraCbgProfileClass
pattern $bXavc4kIntraCbgProfileClass_CLASS_480 :: Xavc4kIntraCbgProfileClass
$mXavc4kIntraCbgProfileClass_CLASS_480 :: forall {r}.
Xavc4kIntraCbgProfileClass -> ((# #) -> r) -> ((# #) -> r) -> r
Xavc4kIntraCbgProfileClass_CLASS_480 = Xavc4kIntraCbgProfileClass' "CLASS_480"

{-# COMPLETE
  Xavc4kIntraCbgProfileClass_CLASS_100,
  Xavc4kIntraCbgProfileClass_CLASS_300,
  Xavc4kIntraCbgProfileClass_CLASS_480,
  Xavc4kIntraCbgProfileClass'
  #-}