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

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

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

pattern SmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH :: SmoothGroupAudioOnlyTimecodeControl
pattern $bSmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH :: SmoothGroupAudioOnlyTimecodeControl
$mSmoothGroupAudioOnlyTimecodeControl_PASSTHROUGH :: forall r.
SmoothGroupAudioOnlyTimecodeControl
-> (Void# -> r) -> (Void# -> 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
-> (Void# -> r) -> (Void# -> r) -> r
SmoothGroupAudioOnlyTimecodeControl_USE_CONFIGURED_CLOCK = SmoothGroupAudioOnlyTimecodeControl' "USE_CONFIGURED_CLOCK"

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