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

import qualified Amazonka.Core as Core
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 ::
      Core.Text
  }
  deriving stock
    ( Int -> Xavc4kIntraCbgProfileClass -> ShowS
[Xavc4kIntraCbgProfileClass] -> ShowS
Xavc4kIntraCbgProfileClass -> String
(Int -> Xavc4kIntraCbgProfileClass -> ShowS)
-> (Xavc4kIntraCbgProfileClass -> String)
-> ([Xavc4kIntraCbgProfileClass] -> ShowS)
-> Show Xavc4kIntraCbgProfileClass
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]
(Int -> ReadS Xavc4kIntraCbgProfileClass)
-> ReadS [Xavc4kIntraCbgProfileClass]
-> ReadPrec Xavc4kIntraCbgProfileClass
-> ReadPrec [Xavc4kIntraCbgProfileClass]
-> Read 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
(Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass -> Bool)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Bool)
-> Eq Xavc4kIntraCbgProfileClass
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
Eq Xavc4kIntraCbgProfileClass
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Ordering)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Bool)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Bool)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Bool)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Bool)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass)
-> (Xavc4kIntraCbgProfileClass
    -> Xavc4kIntraCbgProfileClass -> Xavc4kIntraCbgProfileClass)
-> Ord 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
$cp1Ord :: Eq Xavc4kIntraCbgProfileClass
Prelude.Ord,
      (forall x.
 Xavc4kIntraCbgProfileClass -> Rep Xavc4kIntraCbgProfileClass x)
-> (forall x.
    Rep Xavc4kIntraCbgProfileClass x -> Xavc4kIntraCbgProfileClass)
-> Generic Xavc4kIntraCbgProfileClass
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
    ( Int -> Xavc4kIntraCbgProfileClass -> Int
Xavc4kIntraCbgProfileClass -> Int
(Int -> Xavc4kIntraCbgProfileClass -> Int)
-> (Xavc4kIntraCbgProfileClass -> Int)
-> Hashable Xavc4kIntraCbgProfileClass
forall 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 -> ()
(Xavc4kIntraCbgProfileClass -> ())
-> NFData Xavc4kIntraCbgProfileClass
forall a. (a -> ()) -> NFData a
rnf :: Xavc4kIntraCbgProfileClass -> ()
$crnf :: Xavc4kIntraCbgProfileClass -> ()
Prelude.NFData,
      Text -> Either String Xavc4kIntraCbgProfileClass
(Text -> Either String Xavc4kIntraCbgProfileClass)
-> FromText Xavc4kIntraCbgProfileClass
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Xavc4kIntraCbgProfileClass
$cfromText :: Text -> Either String Xavc4kIntraCbgProfileClass
Core.FromText,
      Xavc4kIntraCbgProfileClass -> Text
(Xavc4kIntraCbgProfileClass -> Text)
-> ToText Xavc4kIntraCbgProfileClass
forall a. (a -> Text) -> ToText a
toText :: Xavc4kIntraCbgProfileClass -> Text
$ctoText :: Xavc4kIntraCbgProfileClass -> Text
Core.ToText,
      Xavc4kIntraCbgProfileClass -> ByteString
(Xavc4kIntraCbgProfileClass -> ByteString)
-> ToByteString Xavc4kIntraCbgProfileClass
forall a. (a -> ByteString) -> ToByteString a
toBS :: Xavc4kIntraCbgProfileClass -> ByteString
$ctoBS :: Xavc4kIntraCbgProfileClass -> ByteString
Core.ToByteString,
      Xavc4kIntraCbgProfileClass -> ByteStringBuilder
(Xavc4kIntraCbgProfileClass -> ByteStringBuilder)
-> ToLog Xavc4kIntraCbgProfileClass
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Xavc4kIntraCbgProfileClass -> ByteStringBuilder
$cbuild :: Xavc4kIntraCbgProfileClass -> ByteStringBuilder
Core.ToLog,
      HeaderName -> Xavc4kIntraCbgProfileClass -> [Header]
(HeaderName -> Xavc4kIntraCbgProfileClass -> [Header])
-> ToHeader Xavc4kIntraCbgProfileClass
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Xavc4kIntraCbgProfileClass -> [Header]
$ctoHeader :: HeaderName -> Xavc4kIntraCbgProfileClass -> [Header]
Core.ToHeader,
      Xavc4kIntraCbgProfileClass -> QueryString
(Xavc4kIntraCbgProfileClass -> QueryString)
-> ToQuery Xavc4kIntraCbgProfileClass
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Xavc4kIntraCbgProfileClass -> QueryString
$ctoQuery :: Xavc4kIntraCbgProfileClass -> QueryString
Core.ToQuery,
      Value -> Parser [Xavc4kIntraCbgProfileClass]
Value -> Parser Xavc4kIntraCbgProfileClass
(Value -> Parser Xavc4kIntraCbgProfileClass)
-> (Value -> Parser [Xavc4kIntraCbgProfileClass])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
FromJSONKeyFunction Xavc4kIntraCbgProfileClass
FromJSONKeyFunction Xavc4kIntraCbgProfileClass
-> FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
-> FromJSONKey Xavc4kIntraCbgProfileClass
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
$cfromJSONKeyList :: FromJSONKeyFunction [Xavc4kIntraCbgProfileClass]
fromJSONKey :: FromJSONKeyFunction Xavc4kIntraCbgProfileClass
$cfromJSONKey :: FromJSONKeyFunction Xavc4kIntraCbgProfileClass
Core.FromJSONKey,
      [Xavc4kIntraCbgProfileClass] -> Encoding
[Xavc4kIntraCbgProfileClass] -> Value
Xavc4kIntraCbgProfileClass -> Encoding
Xavc4kIntraCbgProfileClass -> Value
(Xavc4kIntraCbgProfileClass -> Value)
-> (Xavc4kIntraCbgProfileClass -> Encoding)
-> ([Xavc4kIntraCbgProfileClass] -> Value)
-> ([Xavc4kIntraCbgProfileClass] -> Encoding)
-> ToJSON Xavc4kIntraCbgProfileClass
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
Core.ToJSON,
      ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
ToJSONKeyFunction Xavc4kIntraCbgProfileClass
ToJSONKeyFunction Xavc4kIntraCbgProfileClass
-> ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
-> ToJSONKey Xavc4kIntraCbgProfileClass
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
$ctoJSONKeyList :: ToJSONKeyFunction [Xavc4kIntraCbgProfileClass]
toJSONKey :: ToJSONKeyFunction Xavc4kIntraCbgProfileClass
$ctoJSONKey :: ToJSONKeyFunction Xavc4kIntraCbgProfileClass
Core.ToJSONKey,
      [Node] -> Either String Xavc4kIntraCbgProfileClass
([Node] -> Either String Xavc4kIntraCbgProfileClass)
-> FromXML Xavc4kIntraCbgProfileClass
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Xavc4kIntraCbgProfileClass
$cparseXML :: [Node] -> Either String Xavc4kIntraCbgProfileClass
Core.FromXML,
      Xavc4kIntraCbgProfileClass -> XML
(Xavc4kIntraCbgProfileClass -> XML)
-> ToXML Xavc4kIntraCbgProfileClass
forall a. (a -> XML) -> ToXML a
toXML :: Xavc4kIntraCbgProfileClass -> XML
$ctoXML :: Xavc4kIntraCbgProfileClass -> XML
Core.ToXML
    )

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

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

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

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