{-# 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.XavcHdIntraCbgProfileClass
-- 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.XavcHdIntraCbgProfileClass
  ( XavcHdIntraCbgProfileClass
      ( ..,
        XavcHdIntraCbgProfileClass_CLASS_100,
        XavcHdIntraCbgProfileClass_CLASS_200,
        XavcHdIntraCbgProfileClass_CLASS_50
      ),
  )
where

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

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

pattern XavcHdIntraCbgProfileClass_CLASS_100 :: XavcHdIntraCbgProfileClass
pattern $bXavcHdIntraCbgProfileClass_CLASS_100 :: XavcHdIntraCbgProfileClass
$mXavcHdIntraCbgProfileClass_CLASS_100 :: forall {r}.
XavcHdIntraCbgProfileClass -> ((# #) -> r) -> ((# #) -> r) -> r
XavcHdIntraCbgProfileClass_CLASS_100 = XavcHdIntraCbgProfileClass' "CLASS_100"

pattern XavcHdIntraCbgProfileClass_CLASS_200 :: XavcHdIntraCbgProfileClass
pattern $bXavcHdIntraCbgProfileClass_CLASS_200 :: XavcHdIntraCbgProfileClass
$mXavcHdIntraCbgProfileClass_CLASS_200 :: forall {r}.
XavcHdIntraCbgProfileClass -> ((# #) -> r) -> ((# #) -> r) -> r
XavcHdIntraCbgProfileClass_CLASS_200 = XavcHdIntraCbgProfileClass' "CLASS_200"

pattern XavcHdIntraCbgProfileClass_CLASS_50 :: XavcHdIntraCbgProfileClass
pattern $bXavcHdIntraCbgProfileClass_CLASS_50 :: XavcHdIntraCbgProfileClass
$mXavcHdIntraCbgProfileClass_CLASS_50 :: forall {r}.
XavcHdIntraCbgProfileClass -> ((# #) -> r) -> ((# #) -> r) -> r
XavcHdIntraCbgProfileClass_CLASS_50 = XavcHdIntraCbgProfileClass' "CLASS_50"

{-# COMPLETE
  XavcHdIntraCbgProfileClass_CLASS_100,
  XavcHdIntraCbgProfileClass_CLASS_200,
  XavcHdIntraCbgProfileClass_CLASS_50,
  XavcHdIntraCbgProfileClass'
  #-}