{-# 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.Chime.Types.TranscribeMedicalType
-- 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.Chime.Types.TranscribeMedicalType
  ( TranscribeMedicalType
      ( ..,
        TranscribeMedicalType_CONVERSATION,
        TranscribeMedicalType_DICTATION
      ),
  )
where

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

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

pattern TranscribeMedicalType_CONVERSATION :: TranscribeMedicalType
pattern $bTranscribeMedicalType_CONVERSATION :: TranscribeMedicalType
$mTranscribeMedicalType_CONVERSATION :: forall r.
TranscribeMedicalType -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalType_CONVERSATION = TranscribeMedicalType' "CONVERSATION"

pattern TranscribeMedicalType_DICTATION :: TranscribeMedicalType
pattern $bTranscribeMedicalType_DICTATION :: TranscribeMedicalType
$mTranscribeMedicalType_DICTATION :: forall r.
TranscribeMedicalType -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalType_DICTATION = TranscribeMedicalType' "DICTATION"

{-# COMPLETE
  TranscribeMedicalType_CONVERSATION,
  TranscribeMedicalType_DICTATION,
  TranscribeMedicalType'
  #-}