{-# 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.MediaLive.Types.AccessibilityType
-- 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.MediaLive.Types.AccessibilityType
  ( AccessibilityType
      ( ..,
        AccessibilityType_DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES,
        AccessibilityType_IMPLEMENTS_ACCESSIBILITY_FEATURES
      ),
  )
where

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

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

pattern AccessibilityType_DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES :: AccessibilityType
pattern $bAccessibilityType_DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES :: AccessibilityType
$mAccessibilityType_DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES :: forall {r}. AccessibilityType -> ((# #) -> r) -> ((# #) -> r) -> r
AccessibilityType_DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES = AccessibilityType' "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES"

pattern AccessibilityType_IMPLEMENTS_ACCESSIBILITY_FEATURES :: AccessibilityType
pattern $bAccessibilityType_IMPLEMENTS_ACCESSIBILITY_FEATURES :: AccessibilityType
$mAccessibilityType_IMPLEMENTS_ACCESSIBILITY_FEATURES :: forall {r}. AccessibilityType -> ((# #) -> r) -> ((# #) -> r) -> r
AccessibilityType_IMPLEMENTS_ACCESSIBILITY_FEATURES = AccessibilityType' "IMPLEMENTS_ACCESSIBILITY_FEATURES"

{-# COMPLETE
  AccessibilityType_DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES,
  AccessibilityType_IMPLEMENTS_ACCESSIBILITY_FEATURES,
  AccessibilityType'
  #-}