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

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

newtype Specialty = Specialty'
  { Specialty -> Text
fromSpecialty ::
      Core.Text
  }
  deriving stock
    ( Int -> Specialty -> ShowS
[Specialty] -> ShowS
Specialty -> String
(Int -> Specialty -> ShowS)
-> (Specialty -> String)
-> ([Specialty] -> ShowS)
-> Show Specialty
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]
(Int -> ReadS Specialty)
-> ReadS [Specialty]
-> ReadPrec Specialty
-> ReadPrec [Specialty]
-> Read 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
(Specialty -> Specialty -> Bool)
-> (Specialty -> Specialty -> Bool) -> Eq Specialty
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
Eq Specialty
-> (Specialty -> Specialty -> Ordering)
-> (Specialty -> Specialty -> Bool)
-> (Specialty -> Specialty -> Bool)
-> (Specialty -> Specialty -> Bool)
-> (Specialty -> Specialty -> Bool)
-> (Specialty -> Specialty -> Specialty)
-> (Specialty -> Specialty -> Specialty)
-> Ord 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
$cp1Ord :: Eq Specialty
Prelude.Ord,
      (forall x. Specialty -> Rep Specialty x)
-> (forall x. Rep Specialty x -> Specialty) -> Generic Specialty
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
    ( Int -> Specialty -> Int
Specialty -> Int
(Int -> Specialty -> Int)
-> (Specialty -> Int) -> Hashable Specialty
forall 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 -> ()
(Specialty -> ()) -> NFData Specialty
forall a. (a -> ()) -> NFData a
rnf :: Specialty -> ()
$crnf :: Specialty -> ()
Prelude.NFData,
      Text -> Either String Specialty
(Text -> Either String Specialty) -> FromText Specialty
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Specialty
$cfromText :: Text -> Either String Specialty
Core.FromText,
      Specialty -> Text
(Specialty -> Text) -> ToText Specialty
forall a. (a -> Text) -> ToText a
toText :: Specialty -> Text
$ctoText :: Specialty -> Text
Core.ToText,
      Specialty -> ByteString
(Specialty -> ByteString) -> ToByteString Specialty
forall a. (a -> ByteString) -> ToByteString a
toBS :: Specialty -> ByteString
$ctoBS :: Specialty -> ByteString
Core.ToByteString,
      Specialty -> ByteStringBuilder
(Specialty -> ByteStringBuilder) -> ToLog Specialty
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Specialty -> ByteStringBuilder
$cbuild :: Specialty -> ByteStringBuilder
Core.ToLog,
      HeaderName -> Specialty -> [Header]
(HeaderName -> Specialty -> [Header]) -> ToHeader Specialty
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Specialty -> [Header]
$ctoHeader :: HeaderName -> Specialty -> [Header]
Core.ToHeader,
      Specialty -> QueryString
(Specialty -> QueryString) -> ToQuery Specialty
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Specialty -> QueryString
$ctoQuery :: Specialty -> QueryString
Core.ToQuery,
      Value -> Parser [Specialty]
Value -> Parser Specialty
(Value -> Parser Specialty)
-> (Value -> Parser [Specialty]) -> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [Specialty]
FromJSONKeyFunction Specialty
FromJSONKeyFunction Specialty
-> FromJSONKeyFunction [Specialty] -> FromJSONKey Specialty
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Specialty]
$cfromJSONKeyList :: FromJSONKeyFunction [Specialty]
fromJSONKey :: FromJSONKeyFunction Specialty
$cfromJSONKey :: FromJSONKeyFunction Specialty
Core.FromJSONKey,
      [Specialty] -> Encoding
[Specialty] -> Value
Specialty -> Encoding
Specialty -> Value
(Specialty -> Value)
-> (Specialty -> Encoding)
-> ([Specialty] -> Value)
-> ([Specialty] -> Encoding)
-> ToJSON Specialty
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
Core.ToJSON,
      ToJSONKeyFunction [Specialty]
ToJSONKeyFunction Specialty
ToJSONKeyFunction Specialty
-> ToJSONKeyFunction [Specialty] -> ToJSONKey Specialty
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Specialty]
$ctoJSONKeyList :: ToJSONKeyFunction [Specialty]
toJSONKey :: ToJSONKeyFunction Specialty
$ctoJSONKey :: ToJSONKeyFunction Specialty
Core.ToJSONKey,
      [Node] -> Either String Specialty
([Node] -> Either String Specialty) -> FromXML Specialty
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Specialty
$cparseXML :: [Node] -> Either String Specialty
Core.FromXML,
      Specialty -> XML
(Specialty -> XML) -> ToXML Specialty
forall a. (a -> XML) -> ToXML a
toXML :: Specialty -> XML
$ctoXML :: Specialty -> XML
Core.ToXML
    )

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

{-# COMPLETE
  Specialty_PRIMARYCARE,
  Specialty'
  #-}