{-# 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.XavcHdProfileTelecine
-- 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.XavcHdProfileTelecine
  ( XavcHdProfileTelecine
      ( ..,
        XavcHdProfileTelecine_HARD,
        XavcHdProfileTelecine_NONE
      ),
  )
where

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

-- | Ignore this setting unless you set Frame rate (framerateNumerator
-- divided by framerateDenominator) to 29.970. If your input framerate is
-- 23.976, choose Hard (HARD). Otherwise, keep the default value None
-- (NONE). For more information, see
-- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/working-with-telecine-and-inverse-telecine.html.
newtype XavcHdProfileTelecine = XavcHdProfileTelecine'
  { XavcHdProfileTelecine -> Text
fromXavcHdProfileTelecine ::
      Core.Text
  }
  deriving stock
    ( Int -> XavcHdProfileTelecine -> ShowS
[XavcHdProfileTelecine] -> ShowS
XavcHdProfileTelecine -> String
(Int -> XavcHdProfileTelecine -> ShowS)
-> (XavcHdProfileTelecine -> String)
-> ([XavcHdProfileTelecine] -> ShowS)
-> Show XavcHdProfileTelecine
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [XavcHdProfileTelecine] -> ShowS
$cshowList :: [XavcHdProfileTelecine] -> ShowS
show :: XavcHdProfileTelecine -> String
$cshow :: XavcHdProfileTelecine -> String
showsPrec :: Int -> XavcHdProfileTelecine -> ShowS
$cshowsPrec :: Int -> XavcHdProfileTelecine -> ShowS
Prelude.Show,
      ReadPrec [XavcHdProfileTelecine]
ReadPrec XavcHdProfileTelecine
Int -> ReadS XavcHdProfileTelecine
ReadS [XavcHdProfileTelecine]
(Int -> ReadS XavcHdProfileTelecine)
-> ReadS [XavcHdProfileTelecine]
-> ReadPrec XavcHdProfileTelecine
-> ReadPrec [XavcHdProfileTelecine]
-> Read XavcHdProfileTelecine
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [XavcHdProfileTelecine]
$creadListPrec :: ReadPrec [XavcHdProfileTelecine]
readPrec :: ReadPrec XavcHdProfileTelecine
$creadPrec :: ReadPrec XavcHdProfileTelecine
readList :: ReadS [XavcHdProfileTelecine]
$creadList :: ReadS [XavcHdProfileTelecine]
readsPrec :: Int -> ReadS XavcHdProfileTelecine
$creadsPrec :: Int -> ReadS XavcHdProfileTelecine
Prelude.Read,
      XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
(XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool)
-> (XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool)
-> Eq XavcHdProfileTelecine
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
$c/= :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
== :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
$c== :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
Prelude.Eq,
      Eq XavcHdProfileTelecine
Eq XavcHdProfileTelecine
-> (XavcHdProfileTelecine -> XavcHdProfileTelecine -> Ordering)
-> (XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool)
-> (XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool)
-> (XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool)
-> (XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool)
-> (XavcHdProfileTelecine
    -> XavcHdProfileTelecine -> XavcHdProfileTelecine)
-> (XavcHdProfileTelecine
    -> XavcHdProfileTelecine -> XavcHdProfileTelecine)
-> Ord XavcHdProfileTelecine
XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
XavcHdProfileTelecine -> XavcHdProfileTelecine -> Ordering
XavcHdProfileTelecine
-> XavcHdProfileTelecine -> XavcHdProfileTelecine
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 :: XavcHdProfileTelecine
-> XavcHdProfileTelecine -> XavcHdProfileTelecine
$cmin :: XavcHdProfileTelecine
-> XavcHdProfileTelecine -> XavcHdProfileTelecine
max :: XavcHdProfileTelecine
-> XavcHdProfileTelecine -> XavcHdProfileTelecine
$cmax :: XavcHdProfileTelecine
-> XavcHdProfileTelecine -> XavcHdProfileTelecine
>= :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
$c>= :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
> :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
$c> :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
<= :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
$c<= :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
< :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
$c< :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Bool
compare :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Ordering
$ccompare :: XavcHdProfileTelecine -> XavcHdProfileTelecine -> Ordering
$cp1Ord :: Eq XavcHdProfileTelecine
Prelude.Ord,
      (forall x. XavcHdProfileTelecine -> Rep XavcHdProfileTelecine x)
-> (forall x. Rep XavcHdProfileTelecine x -> XavcHdProfileTelecine)
-> Generic XavcHdProfileTelecine
forall x. Rep XavcHdProfileTelecine x -> XavcHdProfileTelecine
forall x. XavcHdProfileTelecine -> Rep XavcHdProfileTelecine x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep XavcHdProfileTelecine x -> XavcHdProfileTelecine
$cfrom :: forall x. XavcHdProfileTelecine -> Rep XavcHdProfileTelecine x
Prelude.Generic
    )
  deriving newtype
    ( Int -> XavcHdProfileTelecine -> Int
XavcHdProfileTelecine -> Int
(Int -> XavcHdProfileTelecine -> Int)
-> (XavcHdProfileTelecine -> Int) -> Hashable XavcHdProfileTelecine
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: XavcHdProfileTelecine -> Int
$chash :: XavcHdProfileTelecine -> Int
hashWithSalt :: Int -> XavcHdProfileTelecine -> Int
$chashWithSalt :: Int -> XavcHdProfileTelecine -> Int
Prelude.Hashable,
      XavcHdProfileTelecine -> ()
(XavcHdProfileTelecine -> ()) -> NFData XavcHdProfileTelecine
forall a. (a -> ()) -> NFData a
rnf :: XavcHdProfileTelecine -> ()
$crnf :: XavcHdProfileTelecine -> ()
Prelude.NFData,
      Text -> Either String XavcHdProfileTelecine
(Text -> Either String XavcHdProfileTelecine)
-> FromText XavcHdProfileTelecine
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String XavcHdProfileTelecine
$cfromText :: Text -> Either String XavcHdProfileTelecine
Core.FromText,
      XavcHdProfileTelecine -> Text
(XavcHdProfileTelecine -> Text) -> ToText XavcHdProfileTelecine
forall a. (a -> Text) -> ToText a
toText :: XavcHdProfileTelecine -> Text
$ctoText :: XavcHdProfileTelecine -> Text
Core.ToText,
      XavcHdProfileTelecine -> ByteString
(XavcHdProfileTelecine -> ByteString)
-> ToByteString XavcHdProfileTelecine
forall a. (a -> ByteString) -> ToByteString a
toBS :: XavcHdProfileTelecine -> ByteString
$ctoBS :: XavcHdProfileTelecine -> ByteString
Core.ToByteString,
      XavcHdProfileTelecine -> ByteStringBuilder
(XavcHdProfileTelecine -> ByteStringBuilder)
-> ToLog XavcHdProfileTelecine
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: XavcHdProfileTelecine -> ByteStringBuilder
$cbuild :: XavcHdProfileTelecine -> ByteStringBuilder
Core.ToLog,
      HeaderName -> XavcHdProfileTelecine -> [Header]
(HeaderName -> XavcHdProfileTelecine -> [Header])
-> ToHeader XavcHdProfileTelecine
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> XavcHdProfileTelecine -> [Header]
$ctoHeader :: HeaderName -> XavcHdProfileTelecine -> [Header]
Core.ToHeader,
      XavcHdProfileTelecine -> QueryString
(XavcHdProfileTelecine -> QueryString)
-> ToQuery XavcHdProfileTelecine
forall a. (a -> QueryString) -> ToQuery a
toQuery :: XavcHdProfileTelecine -> QueryString
$ctoQuery :: XavcHdProfileTelecine -> QueryString
Core.ToQuery,
      Value -> Parser [XavcHdProfileTelecine]
Value -> Parser XavcHdProfileTelecine
(Value -> Parser XavcHdProfileTelecine)
-> (Value -> Parser [XavcHdProfileTelecine])
-> FromJSON XavcHdProfileTelecine
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [XavcHdProfileTelecine]
$cparseJSONList :: Value -> Parser [XavcHdProfileTelecine]
parseJSON :: Value -> Parser XavcHdProfileTelecine
$cparseJSON :: Value -> Parser XavcHdProfileTelecine
Core.FromJSON,
      FromJSONKeyFunction [XavcHdProfileTelecine]
FromJSONKeyFunction XavcHdProfileTelecine
FromJSONKeyFunction XavcHdProfileTelecine
-> FromJSONKeyFunction [XavcHdProfileTelecine]
-> FromJSONKey XavcHdProfileTelecine
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [XavcHdProfileTelecine]
$cfromJSONKeyList :: FromJSONKeyFunction [XavcHdProfileTelecine]
fromJSONKey :: FromJSONKeyFunction XavcHdProfileTelecine
$cfromJSONKey :: FromJSONKeyFunction XavcHdProfileTelecine
Core.FromJSONKey,
      [XavcHdProfileTelecine] -> Encoding
[XavcHdProfileTelecine] -> Value
XavcHdProfileTelecine -> Encoding
XavcHdProfileTelecine -> Value
(XavcHdProfileTelecine -> Value)
-> (XavcHdProfileTelecine -> Encoding)
-> ([XavcHdProfileTelecine] -> Value)
-> ([XavcHdProfileTelecine] -> Encoding)
-> ToJSON XavcHdProfileTelecine
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [XavcHdProfileTelecine] -> Encoding
$ctoEncodingList :: [XavcHdProfileTelecine] -> Encoding
toJSONList :: [XavcHdProfileTelecine] -> Value
$ctoJSONList :: [XavcHdProfileTelecine] -> Value
toEncoding :: XavcHdProfileTelecine -> Encoding
$ctoEncoding :: XavcHdProfileTelecine -> Encoding
toJSON :: XavcHdProfileTelecine -> Value
$ctoJSON :: XavcHdProfileTelecine -> Value
Core.ToJSON,
      ToJSONKeyFunction [XavcHdProfileTelecine]
ToJSONKeyFunction XavcHdProfileTelecine
ToJSONKeyFunction XavcHdProfileTelecine
-> ToJSONKeyFunction [XavcHdProfileTelecine]
-> ToJSONKey XavcHdProfileTelecine
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [XavcHdProfileTelecine]
$ctoJSONKeyList :: ToJSONKeyFunction [XavcHdProfileTelecine]
toJSONKey :: ToJSONKeyFunction XavcHdProfileTelecine
$ctoJSONKey :: ToJSONKeyFunction XavcHdProfileTelecine
Core.ToJSONKey,
      [Node] -> Either String XavcHdProfileTelecine
([Node] -> Either String XavcHdProfileTelecine)
-> FromXML XavcHdProfileTelecine
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String XavcHdProfileTelecine
$cparseXML :: [Node] -> Either String XavcHdProfileTelecine
Core.FromXML,
      XavcHdProfileTelecine -> XML
(XavcHdProfileTelecine -> XML) -> ToXML XavcHdProfileTelecine
forall a. (a -> XML) -> ToXML a
toXML :: XavcHdProfileTelecine -> XML
$ctoXML :: XavcHdProfileTelecine -> XML
Core.ToXML
    )

pattern XavcHdProfileTelecine_HARD :: XavcHdProfileTelecine
pattern $bXavcHdProfileTelecine_HARD :: XavcHdProfileTelecine
$mXavcHdProfileTelecine_HARD :: forall r.
XavcHdProfileTelecine -> (Void# -> r) -> (Void# -> r) -> r
XavcHdProfileTelecine_HARD = XavcHdProfileTelecine' "HARD"

pattern XavcHdProfileTelecine_NONE :: XavcHdProfileTelecine
pattern $bXavcHdProfileTelecine_NONE :: XavcHdProfileTelecine
$mXavcHdProfileTelecine_NONE :: forall r.
XavcHdProfileTelecine -> (Void# -> r) -> (Void# -> r) -> r
XavcHdProfileTelecine_NONE = XavcHdProfileTelecine' "NONE"

{-# COMPLETE
  XavcHdProfileTelecine_HARD,
  XavcHdProfileTelecine_NONE,
  XavcHdProfileTelecine'
  #-}