{-# 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.ImscStylePassthrough
-- 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.ImscStylePassthrough
  ( ImscStylePassthrough
      ( ..,
        ImscStylePassthrough_DISABLED,
        ImscStylePassthrough_ENABLED
      ),
  )
where

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

-- | Keep this setting enabled to have MediaConvert use the font style and
-- position information from the captions source in the output. This option
-- is available only when your input captions are IMSC, SMPTE-TT, or TTML.
-- Disable this setting for simplified output captions.
newtype ImscStylePassthrough = ImscStylePassthrough'
  { ImscStylePassthrough -> Text
fromImscStylePassthrough ::
      Data.Text
  }
  deriving stock
    ( Int -> ImscStylePassthrough -> ShowS
[ImscStylePassthrough] -> ShowS
ImscStylePassthrough -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImscStylePassthrough] -> ShowS
$cshowList :: [ImscStylePassthrough] -> ShowS
show :: ImscStylePassthrough -> String
$cshow :: ImscStylePassthrough -> String
showsPrec :: Int -> ImscStylePassthrough -> ShowS
$cshowsPrec :: Int -> ImscStylePassthrough -> ShowS
Prelude.Show,
      ReadPrec [ImscStylePassthrough]
ReadPrec ImscStylePassthrough
Int -> ReadS ImscStylePassthrough
ReadS [ImscStylePassthrough]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ImscStylePassthrough]
$creadListPrec :: ReadPrec [ImscStylePassthrough]
readPrec :: ReadPrec ImscStylePassthrough
$creadPrec :: ReadPrec ImscStylePassthrough
readList :: ReadS [ImscStylePassthrough]
$creadList :: ReadS [ImscStylePassthrough]
readsPrec :: Int -> ReadS ImscStylePassthrough
$creadsPrec :: Int -> ReadS ImscStylePassthrough
Prelude.Read,
      ImscStylePassthrough -> ImscStylePassthrough -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
$c/= :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
== :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
$c== :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
Prelude.Eq,
      Eq ImscStylePassthrough
ImscStylePassthrough -> ImscStylePassthrough -> Bool
ImscStylePassthrough -> ImscStylePassthrough -> Ordering
ImscStylePassthrough
-> ImscStylePassthrough -> ImscStylePassthrough
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 :: ImscStylePassthrough
-> ImscStylePassthrough -> ImscStylePassthrough
$cmin :: ImscStylePassthrough
-> ImscStylePassthrough -> ImscStylePassthrough
max :: ImscStylePassthrough
-> ImscStylePassthrough -> ImscStylePassthrough
$cmax :: ImscStylePassthrough
-> ImscStylePassthrough -> ImscStylePassthrough
>= :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
$c>= :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
> :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
$c> :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
<= :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
$c<= :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
< :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
$c< :: ImscStylePassthrough -> ImscStylePassthrough -> Bool
compare :: ImscStylePassthrough -> ImscStylePassthrough -> Ordering
$ccompare :: ImscStylePassthrough -> ImscStylePassthrough -> Ordering
Prelude.Ord,
      forall x. Rep ImscStylePassthrough x -> ImscStylePassthrough
forall x. ImscStylePassthrough -> Rep ImscStylePassthrough x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImscStylePassthrough x -> ImscStylePassthrough
$cfrom :: forall x. ImscStylePassthrough -> Rep ImscStylePassthrough x
Prelude.Generic
    )
  deriving newtype
    ( Eq ImscStylePassthrough
Int -> ImscStylePassthrough -> Int
ImscStylePassthrough -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ImscStylePassthrough -> Int
$chash :: ImscStylePassthrough -> Int
hashWithSalt :: Int -> ImscStylePassthrough -> Int
$chashWithSalt :: Int -> ImscStylePassthrough -> Int
Prelude.Hashable,
      ImscStylePassthrough -> ()
forall a. (a -> ()) -> NFData a
rnf :: ImscStylePassthrough -> ()
$crnf :: ImscStylePassthrough -> ()
Prelude.NFData,
      Text -> Either String ImscStylePassthrough
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ImscStylePassthrough
$cfromText :: Text -> Either String ImscStylePassthrough
Data.FromText,
      ImscStylePassthrough -> Text
forall a. (a -> Text) -> ToText a
toText :: ImscStylePassthrough -> Text
$ctoText :: ImscStylePassthrough -> Text
Data.ToText,
      ImscStylePassthrough -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ImscStylePassthrough -> ByteString
$ctoBS :: ImscStylePassthrough -> ByteString
Data.ToByteString,
      ImscStylePassthrough -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ImscStylePassthrough -> ByteStringBuilder
$cbuild :: ImscStylePassthrough -> ByteStringBuilder
Data.ToLog,
      HeaderName -> ImscStylePassthrough -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ImscStylePassthrough -> [Header]
$ctoHeader :: HeaderName -> ImscStylePassthrough -> [Header]
Data.ToHeader,
      ImscStylePassthrough -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ImscStylePassthrough -> QueryString
$ctoQuery :: ImscStylePassthrough -> QueryString
Data.ToQuery,
      Value -> Parser [ImscStylePassthrough]
Value -> Parser ImscStylePassthrough
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ImscStylePassthrough]
$cparseJSONList :: Value -> Parser [ImscStylePassthrough]
parseJSON :: Value -> Parser ImscStylePassthrough
$cparseJSON :: Value -> Parser ImscStylePassthrough
Data.FromJSON,
      FromJSONKeyFunction [ImscStylePassthrough]
FromJSONKeyFunction ImscStylePassthrough
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ImscStylePassthrough]
$cfromJSONKeyList :: FromJSONKeyFunction [ImscStylePassthrough]
fromJSONKey :: FromJSONKeyFunction ImscStylePassthrough
$cfromJSONKey :: FromJSONKeyFunction ImscStylePassthrough
Data.FromJSONKey,
      [ImscStylePassthrough] -> Encoding
[ImscStylePassthrough] -> Value
ImscStylePassthrough -> Encoding
ImscStylePassthrough -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ImscStylePassthrough] -> Encoding
$ctoEncodingList :: [ImscStylePassthrough] -> Encoding
toJSONList :: [ImscStylePassthrough] -> Value
$ctoJSONList :: [ImscStylePassthrough] -> Value
toEncoding :: ImscStylePassthrough -> Encoding
$ctoEncoding :: ImscStylePassthrough -> Encoding
toJSON :: ImscStylePassthrough -> Value
$ctoJSON :: ImscStylePassthrough -> Value
Data.ToJSON,
      ToJSONKeyFunction [ImscStylePassthrough]
ToJSONKeyFunction ImscStylePassthrough
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ImscStylePassthrough]
$ctoJSONKeyList :: ToJSONKeyFunction [ImscStylePassthrough]
toJSONKey :: ToJSONKeyFunction ImscStylePassthrough
$ctoJSONKey :: ToJSONKeyFunction ImscStylePassthrough
Data.ToJSONKey,
      [Node] -> Either String ImscStylePassthrough
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ImscStylePassthrough
$cparseXML :: [Node] -> Either String ImscStylePassthrough
Data.FromXML,
      ImscStylePassthrough -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ImscStylePassthrough -> XML
$ctoXML :: ImscStylePassthrough -> XML
Data.ToXML
    )

pattern ImscStylePassthrough_DISABLED :: ImscStylePassthrough
pattern $bImscStylePassthrough_DISABLED :: ImscStylePassthrough
$mImscStylePassthrough_DISABLED :: forall {r}.
ImscStylePassthrough -> ((# #) -> r) -> ((# #) -> r) -> r
ImscStylePassthrough_DISABLED = ImscStylePassthrough' "DISABLED"

pattern ImscStylePassthrough_ENABLED :: ImscStylePassthrough
pattern $bImscStylePassthrough_ENABLED :: ImscStylePassthrough
$mImscStylePassthrough_ENABLED :: forall {r}.
ImscStylePassthrough -> ((# #) -> r) -> ((# #) -> r) -> r
ImscStylePassthrough_ENABLED = ImscStylePassthrough' "ENABLED"

{-# COMPLETE
  ImscStylePassthrough_DISABLED,
  ImscStylePassthrough_ENABLED,
  ImscStylePassthrough'
  #-}