{-# 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.LexV2Models.Types.TranscriptFormat
-- 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.LexV2Models.Types.TranscriptFormat
  ( TranscriptFormat
      ( ..,
        TranscriptFormat_Lex
      ),
  )
where

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

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

pattern TranscriptFormat_Lex :: TranscriptFormat
pattern $bTranscriptFormat_Lex :: TranscriptFormat
$mTranscriptFormat_Lex :: forall {r}. TranscriptFormat -> ((# #) -> r) -> ((# #) -> r) -> r
TranscriptFormat_Lex = TranscriptFormat' "Lex"

{-# COMPLETE
  TranscriptFormat_Lex,
  TranscriptFormat'
  #-}