{-# 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.TranscribeMedicalSpecialty
-- 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.TranscribeMedicalSpecialty
  ( TranscribeMedicalSpecialty
      ( ..,
        TranscribeMedicalSpecialty_CARDIOLOGY,
        TranscribeMedicalSpecialty_NEUROLOGY,
        TranscribeMedicalSpecialty_ONCOLOGY,
        TranscribeMedicalSpecialty_PRIMARYCARE,
        TranscribeMedicalSpecialty_RADIOLOGY,
        TranscribeMedicalSpecialty_UROLOGY
      ),
  )
where

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

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

pattern TranscribeMedicalSpecialty_CARDIOLOGY :: TranscribeMedicalSpecialty
pattern $bTranscribeMedicalSpecialty_CARDIOLOGY :: TranscribeMedicalSpecialty
$mTranscribeMedicalSpecialty_CARDIOLOGY :: forall r.
TranscribeMedicalSpecialty -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalSpecialty_CARDIOLOGY = TranscribeMedicalSpecialty' "CARDIOLOGY"

pattern TranscribeMedicalSpecialty_NEUROLOGY :: TranscribeMedicalSpecialty
pattern $bTranscribeMedicalSpecialty_NEUROLOGY :: TranscribeMedicalSpecialty
$mTranscribeMedicalSpecialty_NEUROLOGY :: forall r.
TranscribeMedicalSpecialty -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalSpecialty_NEUROLOGY = TranscribeMedicalSpecialty' "NEUROLOGY"

pattern TranscribeMedicalSpecialty_ONCOLOGY :: TranscribeMedicalSpecialty
pattern $bTranscribeMedicalSpecialty_ONCOLOGY :: TranscribeMedicalSpecialty
$mTranscribeMedicalSpecialty_ONCOLOGY :: forall r.
TranscribeMedicalSpecialty -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalSpecialty_ONCOLOGY = TranscribeMedicalSpecialty' "ONCOLOGY"

pattern TranscribeMedicalSpecialty_PRIMARYCARE :: TranscribeMedicalSpecialty
pattern $bTranscribeMedicalSpecialty_PRIMARYCARE :: TranscribeMedicalSpecialty
$mTranscribeMedicalSpecialty_PRIMARYCARE :: forall r.
TranscribeMedicalSpecialty -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalSpecialty_PRIMARYCARE = TranscribeMedicalSpecialty' "PRIMARYCARE"

pattern TranscribeMedicalSpecialty_RADIOLOGY :: TranscribeMedicalSpecialty
pattern $bTranscribeMedicalSpecialty_RADIOLOGY :: TranscribeMedicalSpecialty
$mTranscribeMedicalSpecialty_RADIOLOGY :: forall r.
TranscribeMedicalSpecialty -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalSpecialty_RADIOLOGY = TranscribeMedicalSpecialty' "RADIOLOGY"

pattern TranscribeMedicalSpecialty_UROLOGY :: TranscribeMedicalSpecialty
pattern $bTranscribeMedicalSpecialty_UROLOGY :: TranscribeMedicalSpecialty
$mTranscribeMedicalSpecialty_UROLOGY :: forall r.
TranscribeMedicalSpecialty -> (Void# -> r) -> (Void# -> r) -> r
TranscribeMedicalSpecialty_UROLOGY = TranscribeMedicalSpecialty' "UROLOGY"

{-# COMPLETE
  TranscribeMedicalSpecialty_CARDIOLOGY,
  TranscribeMedicalSpecialty_NEUROLOGY,
  TranscribeMedicalSpecialty_ONCOLOGY,
  TranscribeMedicalSpecialty_PRIMARYCARE,
  TranscribeMedicalSpecialty_RADIOLOGY,
  TranscribeMedicalSpecialty_UROLOGY,
  TranscribeMedicalSpecialty'
  #-}