{-# 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.GlobalConfigurationLowFramerateInputs
-- 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.GlobalConfigurationLowFramerateInputs
  ( GlobalConfigurationLowFramerateInputs
      ( ..,
        GlobalConfigurationLowFramerateInputs_DISABLED,
        GlobalConfigurationLowFramerateInputs_ENABLED
      ),
  )
where

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

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

pattern GlobalConfigurationLowFramerateInputs_DISABLED :: GlobalConfigurationLowFramerateInputs
pattern $bGlobalConfigurationLowFramerateInputs_DISABLED :: GlobalConfigurationLowFramerateInputs
$mGlobalConfigurationLowFramerateInputs_DISABLED :: forall {r}.
GlobalConfigurationLowFramerateInputs
-> ((# #) -> r) -> ((# #) -> r) -> r
GlobalConfigurationLowFramerateInputs_DISABLED = GlobalConfigurationLowFramerateInputs' "DISABLED"

pattern GlobalConfigurationLowFramerateInputs_ENABLED :: GlobalConfigurationLowFramerateInputs
pattern $bGlobalConfigurationLowFramerateInputs_ENABLED :: GlobalConfigurationLowFramerateInputs
$mGlobalConfigurationLowFramerateInputs_ENABLED :: forall {r}.
GlobalConfigurationLowFramerateInputs
-> ((# #) -> r) -> ((# #) -> r) -> r
GlobalConfigurationLowFramerateInputs_ENABLED = GlobalConfigurationLowFramerateInputs' "ENABLED"

{-# COMPLETE
  GlobalConfigurationLowFramerateInputs_DISABLED,
  GlobalConfigurationLowFramerateInputs_ENABLED,
  GlobalConfigurationLowFramerateInputs'
  #-}