{-# 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.BurnInSubtitleStylePassthrough
-- 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.BurnInSubtitleStylePassthrough
  ( BurnInSubtitleStylePassthrough
      ( ..,
        BurnInSubtitleStylePassthrough_DISABLED,
        BurnInSubtitleStylePassthrough_ENABLED
      ),
  )
where

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

-- | Set Style passthrough (StylePassthrough) to ENABLED to use the available
-- style, color, and position information from your input captions.
-- MediaConvert uses default settings for any missing style and position
-- information in your input captions. Set Style passthrough to DISABLED,
-- or leave blank, to ignore the style and position information from your
-- input captions and use default settings: white text with black
-- outlining, bottom-center positioning, and automatic sizing. Whether you
-- set Style passthrough to enabled or not, you can also choose to manually
-- override any of the individual style and position settings.
newtype BurnInSubtitleStylePassthrough = BurnInSubtitleStylePassthrough'
  { BurnInSubtitleStylePassthrough -> Text
fromBurnInSubtitleStylePassthrough ::
      Core.Text
  }
  deriving stock
    ( Int -> BurnInSubtitleStylePassthrough -> ShowS
[BurnInSubtitleStylePassthrough] -> ShowS
BurnInSubtitleStylePassthrough -> String
(Int -> BurnInSubtitleStylePassthrough -> ShowS)
-> (BurnInSubtitleStylePassthrough -> String)
-> ([BurnInSubtitleStylePassthrough] -> ShowS)
-> Show BurnInSubtitleStylePassthrough
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BurnInSubtitleStylePassthrough] -> ShowS
$cshowList :: [BurnInSubtitleStylePassthrough] -> ShowS
show :: BurnInSubtitleStylePassthrough -> String
$cshow :: BurnInSubtitleStylePassthrough -> String
showsPrec :: Int -> BurnInSubtitleStylePassthrough -> ShowS
$cshowsPrec :: Int -> BurnInSubtitleStylePassthrough -> ShowS
Prelude.Show,
      ReadPrec [BurnInSubtitleStylePassthrough]
ReadPrec BurnInSubtitleStylePassthrough
Int -> ReadS BurnInSubtitleStylePassthrough
ReadS [BurnInSubtitleStylePassthrough]
(Int -> ReadS BurnInSubtitleStylePassthrough)
-> ReadS [BurnInSubtitleStylePassthrough]
-> ReadPrec BurnInSubtitleStylePassthrough
-> ReadPrec [BurnInSubtitleStylePassthrough]
-> Read BurnInSubtitleStylePassthrough
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BurnInSubtitleStylePassthrough]
$creadListPrec :: ReadPrec [BurnInSubtitleStylePassthrough]
readPrec :: ReadPrec BurnInSubtitleStylePassthrough
$creadPrec :: ReadPrec BurnInSubtitleStylePassthrough
readList :: ReadS [BurnInSubtitleStylePassthrough]
$creadList :: ReadS [BurnInSubtitleStylePassthrough]
readsPrec :: Int -> ReadS BurnInSubtitleStylePassthrough
$creadsPrec :: Int -> ReadS BurnInSubtitleStylePassthrough
Prelude.Read,
      BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
(BurnInSubtitleStylePassthrough
 -> BurnInSubtitleStylePassthrough -> Bool)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough -> Bool)
-> Eq BurnInSubtitleStylePassthrough
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
$c/= :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
== :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
$c== :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
Prelude.Eq,
      Eq BurnInSubtitleStylePassthrough
Eq BurnInSubtitleStylePassthrough
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough -> Ordering)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough -> Bool)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough -> Bool)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough -> Bool)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough -> Bool)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough)
-> (BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough
    -> BurnInSubtitleStylePassthrough)
-> Ord BurnInSubtitleStylePassthrough
BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Ordering
BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> BurnInSubtitleStylePassthrough
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 :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> BurnInSubtitleStylePassthrough
$cmin :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> BurnInSubtitleStylePassthrough
max :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> BurnInSubtitleStylePassthrough
$cmax :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> BurnInSubtitleStylePassthrough
>= :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
$c>= :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
> :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
$c> :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
<= :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
$c<= :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
< :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
$c< :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Bool
compare :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Ordering
$ccompare :: BurnInSubtitleStylePassthrough
-> BurnInSubtitleStylePassthrough -> Ordering
$cp1Ord :: Eq BurnInSubtitleStylePassthrough
Prelude.Ord,
      (forall x.
 BurnInSubtitleStylePassthrough
 -> Rep BurnInSubtitleStylePassthrough x)
-> (forall x.
    Rep BurnInSubtitleStylePassthrough x
    -> BurnInSubtitleStylePassthrough)
-> Generic BurnInSubtitleStylePassthrough
forall x.
Rep BurnInSubtitleStylePassthrough x
-> BurnInSubtitleStylePassthrough
forall x.
BurnInSubtitleStylePassthrough
-> Rep BurnInSubtitleStylePassthrough x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BurnInSubtitleStylePassthrough x
-> BurnInSubtitleStylePassthrough
$cfrom :: forall x.
BurnInSubtitleStylePassthrough
-> Rep BurnInSubtitleStylePassthrough x
Prelude.Generic
    )
  deriving newtype
    ( Int -> BurnInSubtitleStylePassthrough -> Int
BurnInSubtitleStylePassthrough -> Int
(Int -> BurnInSubtitleStylePassthrough -> Int)
-> (BurnInSubtitleStylePassthrough -> Int)
-> Hashable BurnInSubtitleStylePassthrough
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: BurnInSubtitleStylePassthrough -> Int
$chash :: BurnInSubtitleStylePassthrough -> Int
hashWithSalt :: Int -> BurnInSubtitleStylePassthrough -> Int
$chashWithSalt :: Int -> BurnInSubtitleStylePassthrough -> Int
Prelude.Hashable,
      BurnInSubtitleStylePassthrough -> ()
(BurnInSubtitleStylePassthrough -> ())
-> NFData BurnInSubtitleStylePassthrough
forall a. (a -> ()) -> NFData a
rnf :: BurnInSubtitleStylePassthrough -> ()
$crnf :: BurnInSubtitleStylePassthrough -> ()
Prelude.NFData,
      Text -> Either String BurnInSubtitleStylePassthrough
(Text -> Either String BurnInSubtitleStylePassthrough)
-> FromText BurnInSubtitleStylePassthrough
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String BurnInSubtitleStylePassthrough
$cfromText :: Text -> Either String BurnInSubtitleStylePassthrough
Core.FromText,
      BurnInSubtitleStylePassthrough -> Text
(BurnInSubtitleStylePassthrough -> Text)
-> ToText BurnInSubtitleStylePassthrough
forall a. (a -> Text) -> ToText a
toText :: BurnInSubtitleStylePassthrough -> Text
$ctoText :: BurnInSubtitleStylePassthrough -> Text
Core.ToText,
      BurnInSubtitleStylePassthrough -> ByteString
(BurnInSubtitleStylePassthrough -> ByteString)
-> ToByteString BurnInSubtitleStylePassthrough
forall a. (a -> ByteString) -> ToByteString a
toBS :: BurnInSubtitleStylePassthrough -> ByteString
$ctoBS :: BurnInSubtitleStylePassthrough -> ByteString
Core.ToByteString,
      BurnInSubtitleStylePassthrough -> ByteStringBuilder
(BurnInSubtitleStylePassthrough -> ByteStringBuilder)
-> ToLog BurnInSubtitleStylePassthrough
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: BurnInSubtitleStylePassthrough -> ByteStringBuilder
$cbuild :: BurnInSubtitleStylePassthrough -> ByteStringBuilder
Core.ToLog,
      HeaderName -> BurnInSubtitleStylePassthrough -> [Header]
(HeaderName -> BurnInSubtitleStylePassthrough -> [Header])
-> ToHeader BurnInSubtitleStylePassthrough
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> BurnInSubtitleStylePassthrough -> [Header]
$ctoHeader :: HeaderName -> BurnInSubtitleStylePassthrough -> [Header]
Core.ToHeader,
      BurnInSubtitleStylePassthrough -> QueryString
(BurnInSubtitleStylePassthrough -> QueryString)
-> ToQuery BurnInSubtitleStylePassthrough
forall a. (a -> QueryString) -> ToQuery a
toQuery :: BurnInSubtitleStylePassthrough -> QueryString
$ctoQuery :: BurnInSubtitleStylePassthrough -> QueryString
Core.ToQuery,
      Value -> Parser [BurnInSubtitleStylePassthrough]
Value -> Parser BurnInSubtitleStylePassthrough
(Value -> Parser BurnInSubtitleStylePassthrough)
-> (Value -> Parser [BurnInSubtitleStylePassthrough])
-> FromJSON BurnInSubtitleStylePassthrough
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [BurnInSubtitleStylePassthrough]
$cparseJSONList :: Value -> Parser [BurnInSubtitleStylePassthrough]
parseJSON :: Value -> Parser BurnInSubtitleStylePassthrough
$cparseJSON :: Value -> Parser BurnInSubtitleStylePassthrough
Core.FromJSON,
      FromJSONKeyFunction [BurnInSubtitleStylePassthrough]
FromJSONKeyFunction BurnInSubtitleStylePassthrough
FromJSONKeyFunction BurnInSubtitleStylePassthrough
-> FromJSONKeyFunction [BurnInSubtitleStylePassthrough]
-> FromJSONKey BurnInSubtitleStylePassthrough
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [BurnInSubtitleStylePassthrough]
$cfromJSONKeyList :: FromJSONKeyFunction [BurnInSubtitleStylePassthrough]
fromJSONKey :: FromJSONKeyFunction BurnInSubtitleStylePassthrough
$cfromJSONKey :: FromJSONKeyFunction BurnInSubtitleStylePassthrough
Core.FromJSONKey,
      [BurnInSubtitleStylePassthrough] -> Encoding
[BurnInSubtitleStylePassthrough] -> Value
BurnInSubtitleStylePassthrough -> Encoding
BurnInSubtitleStylePassthrough -> Value
(BurnInSubtitleStylePassthrough -> Value)
-> (BurnInSubtitleStylePassthrough -> Encoding)
-> ([BurnInSubtitleStylePassthrough] -> Value)
-> ([BurnInSubtitleStylePassthrough] -> Encoding)
-> ToJSON BurnInSubtitleStylePassthrough
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [BurnInSubtitleStylePassthrough] -> Encoding
$ctoEncodingList :: [BurnInSubtitleStylePassthrough] -> Encoding
toJSONList :: [BurnInSubtitleStylePassthrough] -> Value
$ctoJSONList :: [BurnInSubtitleStylePassthrough] -> Value
toEncoding :: BurnInSubtitleStylePassthrough -> Encoding
$ctoEncoding :: BurnInSubtitleStylePassthrough -> Encoding
toJSON :: BurnInSubtitleStylePassthrough -> Value
$ctoJSON :: BurnInSubtitleStylePassthrough -> Value
Core.ToJSON,
      ToJSONKeyFunction [BurnInSubtitleStylePassthrough]
ToJSONKeyFunction BurnInSubtitleStylePassthrough
ToJSONKeyFunction BurnInSubtitleStylePassthrough
-> ToJSONKeyFunction [BurnInSubtitleStylePassthrough]
-> ToJSONKey BurnInSubtitleStylePassthrough
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [BurnInSubtitleStylePassthrough]
$ctoJSONKeyList :: ToJSONKeyFunction [BurnInSubtitleStylePassthrough]
toJSONKey :: ToJSONKeyFunction BurnInSubtitleStylePassthrough
$ctoJSONKey :: ToJSONKeyFunction BurnInSubtitleStylePassthrough
Core.ToJSONKey,
      [Node] -> Either String BurnInSubtitleStylePassthrough
([Node] -> Either String BurnInSubtitleStylePassthrough)
-> FromXML BurnInSubtitleStylePassthrough
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String BurnInSubtitleStylePassthrough
$cparseXML :: [Node] -> Either String BurnInSubtitleStylePassthrough
Core.FromXML,
      BurnInSubtitleStylePassthrough -> XML
(BurnInSubtitleStylePassthrough -> XML)
-> ToXML BurnInSubtitleStylePassthrough
forall a. (a -> XML) -> ToXML a
toXML :: BurnInSubtitleStylePassthrough -> XML
$ctoXML :: BurnInSubtitleStylePassthrough -> XML
Core.ToXML
    )

pattern BurnInSubtitleStylePassthrough_DISABLED :: BurnInSubtitleStylePassthrough
pattern $bBurnInSubtitleStylePassthrough_DISABLED :: BurnInSubtitleStylePassthrough
$mBurnInSubtitleStylePassthrough_DISABLED :: forall r.
BurnInSubtitleStylePassthrough -> (Void# -> r) -> (Void# -> r) -> r
BurnInSubtitleStylePassthrough_DISABLED = BurnInSubtitleStylePassthrough' "DISABLED"

pattern BurnInSubtitleStylePassthrough_ENABLED :: BurnInSubtitleStylePassthrough
pattern $bBurnInSubtitleStylePassthrough_ENABLED :: BurnInSubtitleStylePassthrough
$mBurnInSubtitleStylePassthrough_ENABLED :: forall r.
BurnInSubtitleStylePassthrough -> (Void# -> r) -> (Void# -> r) -> r
BurnInSubtitleStylePassthrough_ENABLED = BurnInSubtitleStylePassthrough' "ENABLED"

{-# COMPLETE
  BurnInSubtitleStylePassthrough_DISABLED,
  BurnInSubtitleStylePassthrough_ENABLED,
  BurnInSubtitleStylePassthrough'
  #-}