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

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

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

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

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

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