{-# 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.SmoothGroupAudioOnlyTimecodeControl
-- 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.SmoothGroupAudioOnlyTimecodeControl
  ( SmoothGroupAudioOnlyTimecodeControl
      ( ..,
        SmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH,
        SmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK
      ),
  )
where

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

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

pattern SmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH :: SmoothGroupAudioOnlyTimecodeControl
pattern $bSmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH :: SmoothGroupAudioOnlyTimecodeControl
$mSmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH :: forall {r}.
SmoothGroupAudioOnlyTimecodeControl
-> ((# #) -> r) -> ((# #) -> r) -> r
SmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH = SmoothGroupAudioOnlyTimecodeControl' "PASSTHROUGH"

pattern SmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK :: SmoothGroupAudioOnlyTimecodeControl
pattern $bSmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK :: SmoothGroupAudioOnlyTimecodeControl
$mSmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK :: forall {r}.
SmoothGroupAudioOnlyTimecodeControl
-> ((# #) -> r) -> ((# #) -> r) -> r
SmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK = SmoothGroupAudioOnlyTimecodeControl' "USE_CONFIGURED_CLOCK"

{-# COMPLETE
  SmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH,
  SmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK,
  SmoothGroupAudioOnlyTimecodeControl'
  #-}