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

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

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

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

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