{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- 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.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 ::
      Core.Text
  }
  deriving stock
    ( Int -> XavcHdIntraCbgProfileClass -> ShowS
[XavcHdIntraCbgProfileClass] -> ShowS
XavcHdIntraCbgProfileClass -> String
(Int -> XavcHdIntraCbgProfileClass -> ShowS)
-> (XavcHdIntraCbgProfileClass -> String)
-> ([XavcHdIntraCbgProfileClass] -> ShowS)
-> Show XavcHdIntraCbgProfileClass
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]
(Int -> ReadS XavcHdIntraCbgProfileClass)
-> ReadS [XavcHdIntraCbgProfileClass]
-> ReadPrec XavcHdIntraCbgProfileClass
-> ReadPrec [XavcHdIntraCbgProfileClass]
-> Read 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
(XavcHdIntraCbgProfileClass -> XavcHdIntraCbgProfileClass -> Bool)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> Bool)
-> Eq XavcHdIntraCbgProfileClass
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
Eq XavcHdIntraCbgProfileClass
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> Ordering)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> Bool)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> Bool)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> Bool)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> Bool)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> XavcHdIntraCbgProfileClass)
-> (XavcHdIntraCbgProfileClass
    -> XavcHdIntraCbgProfileClass -> XavcHdIntraCbgProfileClass)
-> Ord 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
$cp1Ord :: Eq XavcHdIntraCbgProfileClass
Prelude.Ord,
      (forall x.
 XavcHdIntraCbgProfileClass -> Rep XavcHdIntraCbgProfileClass x)
-> (forall x.
    Rep XavcHdIntraCbgProfileClass x -> XavcHdIntraCbgProfileClass)
-> Generic XavcHdIntraCbgProfileClass
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
    ( Int -> XavcHdIntraCbgProfileClass -> Int
XavcHdIntraCbgProfileClass -> Int
(Int -> XavcHdIntraCbgProfileClass -> Int)
-> (XavcHdIntraCbgProfileClass -> Int)
-> Hashable XavcHdIntraCbgProfileClass
forall 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 -> ()
(XavcHdIntraCbgProfileClass -> ())
-> NFData XavcHdIntraCbgProfileClass
forall a. (a -> ()) -> NFData a
rnf :: XavcHdIntraCbgProfileClass -> ()
$crnf :: XavcHdIntraCbgProfileClass -> ()
Prelude.NFData,
      Text -> Either String XavcHdIntraCbgProfileClass
(Text -> Either String XavcHdIntraCbgProfileClass)
-> FromText XavcHdIntraCbgProfileClass
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String XavcHdIntraCbgProfileClass
$cfromText :: Text -> Either String XavcHdIntraCbgProfileClass
Core.FromText,
      XavcHdIntraCbgProfileClass -> Text
(XavcHdIntraCbgProfileClass -> Text)
-> ToText XavcHdIntraCbgProfileClass
forall a. (a -> Text) -> ToText a
toText :: XavcHdIntraCbgProfileClass -> Text
$ctoText :: XavcHdIntraCbgProfileClass -> Text
Core.ToText,
      XavcHdIntraCbgProfileClass -> ByteString
(XavcHdIntraCbgProfileClass -> ByteString)
-> ToByteString XavcHdIntraCbgProfileClass
forall a. (a -> ByteString) -> ToByteString a
toBS :: XavcHdIntraCbgProfileClass -> ByteString
$ctoBS :: XavcHdIntraCbgProfileClass -> ByteString
Core.ToByteString,
      XavcHdIntraCbgProfileClass -> ByteStringBuilder
(XavcHdIntraCbgProfileClass -> ByteStringBuilder)
-> ToLog XavcHdIntraCbgProfileClass
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: XavcHdIntraCbgProfileClass -> ByteStringBuilder
$cbuild :: XavcHdIntraCbgProfileClass -> ByteStringBuilder
Core.ToLog,
      HeaderName -> XavcHdIntraCbgProfileClass -> [Header]
(HeaderName -> XavcHdIntraCbgProfileClass -> [Header])
-> ToHeader XavcHdIntraCbgProfileClass
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> XavcHdIntraCbgProfileClass -> [Header]
$ctoHeader :: HeaderName -> XavcHdIntraCbgProfileClass -> [Header]
Core.ToHeader,
      XavcHdIntraCbgProfileClass -> QueryString
(XavcHdIntraCbgProfileClass -> QueryString)
-> ToQuery XavcHdIntraCbgProfileClass
forall a. (a -> QueryString) -> ToQuery a
toQuery :: XavcHdIntraCbgProfileClass -> QueryString
$ctoQuery :: XavcHdIntraCbgProfileClass -> QueryString
Core.ToQuery,
      Value -> Parser [XavcHdIntraCbgProfileClass]
Value -> Parser XavcHdIntraCbgProfileClass
(Value -> Parser XavcHdIntraCbgProfileClass)
-> (Value -> Parser [XavcHdIntraCbgProfileClass])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [XavcHdIntraCbgProfileClass]
FromJSONKeyFunction XavcHdIntraCbgProfileClass
FromJSONKeyFunction XavcHdIntraCbgProfileClass
-> FromJSONKeyFunction [XavcHdIntraCbgProfileClass]
-> FromJSONKey XavcHdIntraCbgProfileClass
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [XavcHdIntraCbgProfileClass]
$cfromJSONKeyList :: FromJSONKeyFunction [XavcHdIntraCbgProfileClass]
fromJSONKey :: FromJSONKeyFunction XavcHdIntraCbgProfileClass
$cfromJSONKey :: FromJSONKeyFunction XavcHdIntraCbgProfileClass
Core.FromJSONKey,
      [XavcHdIntraCbgProfileClass] -> Encoding
[XavcHdIntraCbgProfileClass] -> Value
XavcHdIntraCbgProfileClass -> Encoding
XavcHdIntraCbgProfileClass -> Value
(XavcHdIntraCbgProfileClass -> Value)
-> (XavcHdIntraCbgProfileClass -> Encoding)
-> ([XavcHdIntraCbgProfileClass] -> Value)
-> ([XavcHdIntraCbgProfileClass] -> Encoding)
-> ToJSON XavcHdIntraCbgProfileClass
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
Core.ToJSON,
      ToJSONKeyFunction [XavcHdIntraCbgProfileClass]
ToJSONKeyFunction XavcHdIntraCbgProfileClass
ToJSONKeyFunction XavcHdIntraCbgProfileClass
-> ToJSONKeyFunction [XavcHdIntraCbgProfileClass]
-> ToJSONKey XavcHdIntraCbgProfileClass
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [XavcHdIntraCbgProfileClass]
$ctoJSONKeyList :: ToJSONKeyFunction [XavcHdIntraCbgProfileClass]
toJSONKey :: ToJSONKeyFunction XavcHdIntraCbgProfileClass
$ctoJSONKey :: ToJSONKeyFunction XavcHdIntraCbgProfileClass
Core.ToJSONKey,
      [Node] -> Either String XavcHdIntraCbgProfileClass
([Node] -> Either String XavcHdIntraCbgProfileClass)
-> FromXML XavcHdIntraCbgProfileClass
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String XavcHdIntraCbgProfileClass
$cparseXML :: [Node] -> Either String XavcHdIntraCbgProfileClass
Core.FromXML,
      XavcHdIntraCbgProfileClass -> XML
(XavcHdIntraCbgProfileClass -> XML)
-> ToXML XavcHdIntraCbgProfileClass
forall a. (a -> XML) -> ToXML a
toXML :: XavcHdIntraCbgProfileClass -> XML
$ctoXML :: XavcHdIntraCbgProfileClass -> XML
Core.ToXML
    )

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

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

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

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