{-# 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.ProresCodecProfile
-- 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.ProresCodecProfile
  ( ProresCodecProfile
      ( ..,
        ProresCodecProfile_APPLE_PRORES_422,
        ProresCodecProfile_APPLE_PRORES_422_HQ,
        ProresCodecProfile_APPLE_PRORES_422_LT,
        ProresCodecProfile_APPLE_PRORES_422_PROXY,
        ProresCodecProfile_APPLE_PRORES_4444,
        ProresCodecProfile_APPLE_PRORES_4444_XQ
      ),
  )
where

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

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

pattern ProresCodecProfile_APPLE_PRORES_422 :: ProresCodecProfile
pattern $bProresCodecProfile_APPLE_PRORES_422 :: ProresCodecProfile
$mProresCodecProfile_APPLE_PRORES_422 :: forall {r}. ProresCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
ProresCodecProfile_APPLE_PRORES_422 = ProresCodecProfile' "APPLE_PRORES_422"

pattern ProresCodecProfile_APPLE_PRORES_422_HQ :: ProresCodecProfile
pattern $bProresCodecProfile_APPLE_PRORES_422_HQ :: ProresCodecProfile
$mProresCodecProfile_APPLE_PRORES_422_HQ :: forall {r}. ProresCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
ProresCodecProfile_APPLE_PRORES_422_HQ = ProresCodecProfile' "APPLE_PRORES_422_HQ"

pattern ProresCodecProfile_APPLE_PRORES_422_LT :: ProresCodecProfile
pattern $bProresCodecProfile_APPLE_PRORES_422_LT :: ProresCodecProfile
$mProresCodecProfile_APPLE_PRORES_422_LT :: forall {r}. ProresCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
ProresCodecProfile_APPLE_PRORES_422_LT = ProresCodecProfile' "APPLE_PRORES_422_LT"

pattern ProresCodecProfile_APPLE_PRORES_422_PROXY :: ProresCodecProfile
pattern $bProresCodecProfile_APPLE_PRORES_422_PROXY :: ProresCodecProfile
$mProresCodecProfile_APPLE_PRORES_422_PROXY :: forall {r}. ProresCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
ProresCodecProfile_APPLE_PRORES_422_PROXY = ProresCodecProfile' "APPLE_PRORES_422_PROXY"

pattern ProresCodecProfile_APPLE_PRORES_4444 :: ProresCodecProfile
pattern $bProresCodecProfile_APPLE_PRORES_4444 :: ProresCodecProfile
$mProresCodecProfile_APPLE_PRORES_4444 :: forall {r}. ProresCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
ProresCodecProfile_APPLE_PRORES_4444 = ProresCodecProfile' "APPLE_PRORES_4444"

pattern ProresCodecProfile_APPLE_PRORES_4444_XQ :: ProresCodecProfile
pattern $bProresCodecProfile_APPLE_PRORES_4444_XQ :: ProresCodecProfile
$mProresCodecProfile_APPLE_PRORES_4444_XQ :: forall {r}. ProresCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
ProresCodecProfile_APPLE_PRORES_4444_XQ = ProresCodecProfile' "APPLE_PRORES_4444_XQ"

{-# COMPLETE
  ProresCodecProfile_APPLE_PRORES_422,
  ProresCodecProfile_APPLE_PRORES_422_HQ,
  ProresCodecProfile_APPLE_PRORES_422_LT,
  ProresCodecProfile_APPLE_PRORES_422_PROXY,
  ProresCodecProfile_APPLE_PRORES_4444,
  ProresCodecProfile_APPLE_PRORES_4444_XQ,
  ProresCodecProfile'
  #-}