{-# 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.Transcribe.Types.Specialty
-- 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.Transcribe.Types.Specialty
  ( Specialty
      ( ..,
        Specialty_PRIMARYCARE
      ),
  )
where

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

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

pattern Specialty_PRIMARYCARE :: Specialty
pattern $bSpecialty_PRIMARYCARE :: Specialty
$mSpecialty_PRIMARYCARE :: forall {r}. Specialty -> ((# #) -> r) -> ((# #) -> r) -> r
Specialty_PRIMARYCARE = Specialty' "PRIMARYCARE"

{-# COMPLETE
  Specialty_PRIMARYCARE,
  Specialty'
  #-}