{-# 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.Xavc4kIntraVbrProfileClass
-- 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.Xavc4kIntraVbrProfileClass
  ( Xavc4kIntraVbrProfileClass
      ( ..,
        Xavc4kIntraVbrProfileClass_CLASS_100,
        Xavc4kIntraVbrProfileClass_CLASS_300,
        Xavc4kIntraVbrProfileClass_CLASS_480
      ),
  )
where

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

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

pattern Xavc4kIntraVbrProfileClass_CLASS_100 :: Xavc4kIntraVbrProfileClass
pattern $bXavc4kIntraVbrProfileClass_CLASS_100 :: Xavc4kIntraVbrProfileClass
$mXavc4kIntraVbrProfileClass_CLASS_100 :: forall r.
Xavc4kIntraVbrProfileClass -> (Void# -> r) -> (Void# -> r) -> r
Xavc4kIntraVbrProfileClass_CLASS_100 = Xavc4kIntraVbrProfileClass' "CLASS_100"

pattern Xavc4kIntraVbrProfileClass_CLASS_300 :: Xavc4kIntraVbrProfileClass
pattern $bXavc4kIntraVbrProfileClass_CLASS_300 :: Xavc4kIntraVbrProfileClass
$mXavc4kIntraVbrProfileClass_CLASS_300 :: forall r.
Xavc4kIntraVbrProfileClass -> (Void# -> r) -> (Void# -> r) -> r
Xavc4kIntraVbrProfileClass_CLASS_300 = Xavc4kIntraVbrProfileClass' "CLASS_300"

pattern Xavc4kIntraVbrProfileClass_CLASS_480 :: Xavc4kIntraVbrProfileClass
pattern $bXavc4kIntraVbrProfileClass_CLASS_480 :: Xavc4kIntraVbrProfileClass
$mXavc4kIntraVbrProfileClass_CLASS_480 :: forall r.
Xavc4kIntraVbrProfileClass -> (Void# -> r) -> (Void# -> r) -> r
Xavc4kIntraVbrProfileClass_CLASS_480 = Xavc4kIntraVbrProfileClass' "CLASS_480"

{-# COMPLETE
  Xavc4kIntraVbrProfileClass_CLASS_100,
  Xavc4kIntraVbrProfileClass_CLASS_300,
  Xavc4kIntraVbrProfileClass_CLASS_480,
  Xavc4kIntraVbrProfileClass'
  #-}