{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.InputTimecodeSource
( InputTimecodeSource
( ..,
InputTimecodeSource_EMBEDDED,
InputTimecodeSource_ZEROBASED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype InputTimecodeSource = InputTimecodeSource'
{ InputTimecodeSource -> Text
fromInputTimecodeSource ::
Data.Text
}
deriving stock
( Int -> InputTimecodeSource -> ShowS
[InputTimecodeSource] -> ShowS
InputTimecodeSource -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputTimecodeSource] -> ShowS
$cshowList :: [InputTimecodeSource] -> ShowS
show :: InputTimecodeSource -> String
$cshow :: InputTimecodeSource -> String
showsPrec :: Int -> InputTimecodeSource -> ShowS
$cshowsPrec :: Int -> InputTimecodeSource -> ShowS
Prelude.Show,
ReadPrec [InputTimecodeSource]
ReadPrec InputTimecodeSource
Int -> ReadS InputTimecodeSource
ReadS [InputTimecodeSource]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [InputTimecodeSource]
$creadListPrec :: ReadPrec [InputTimecodeSource]
readPrec :: ReadPrec InputTimecodeSource
$creadPrec :: ReadPrec InputTimecodeSource
readList :: ReadS [InputTimecodeSource]
$creadList :: ReadS [InputTimecodeSource]
readsPrec :: Int -> ReadS InputTimecodeSource
$creadsPrec :: Int -> ReadS InputTimecodeSource
Prelude.Read,
InputTimecodeSource -> InputTimecodeSource -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputTimecodeSource -> InputTimecodeSource -> Bool
$c/= :: InputTimecodeSource -> InputTimecodeSource -> Bool
== :: InputTimecodeSource -> InputTimecodeSource -> Bool
$c== :: InputTimecodeSource -> InputTimecodeSource -> Bool
Prelude.Eq,
Eq InputTimecodeSource
InputTimecodeSource -> InputTimecodeSource -> Bool
InputTimecodeSource -> InputTimecodeSource -> Ordering
InputTimecodeSource -> InputTimecodeSource -> InputTimecodeSource
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 :: InputTimecodeSource -> InputTimecodeSource -> InputTimecodeSource
$cmin :: InputTimecodeSource -> InputTimecodeSource -> InputTimecodeSource
max :: InputTimecodeSource -> InputTimecodeSource -> InputTimecodeSource
$cmax :: InputTimecodeSource -> InputTimecodeSource -> InputTimecodeSource
>= :: InputTimecodeSource -> InputTimecodeSource -> Bool
$c>= :: InputTimecodeSource -> InputTimecodeSource -> Bool
> :: InputTimecodeSource -> InputTimecodeSource -> Bool
$c> :: InputTimecodeSource -> InputTimecodeSource -> Bool
<= :: InputTimecodeSource -> InputTimecodeSource -> Bool
$c<= :: InputTimecodeSource -> InputTimecodeSource -> Bool
< :: InputTimecodeSource -> InputTimecodeSource -> Bool
$c< :: InputTimecodeSource -> InputTimecodeSource -> Bool
compare :: InputTimecodeSource -> InputTimecodeSource -> Ordering
$ccompare :: InputTimecodeSource -> InputTimecodeSource -> Ordering
Prelude.Ord,
forall x. Rep InputTimecodeSource x -> InputTimecodeSource
forall x. InputTimecodeSource -> Rep InputTimecodeSource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputTimecodeSource x -> InputTimecodeSource
$cfrom :: forall x. InputTimecodeSource -> Rep InputTimecodeSource x
Prelude.Generic
)
deriving newtype
( Eq InputTimecodeSource
Int -> InputTimecodeSource -> Int
InputTimecodeSource -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: InputTimecodeSource -> Int
$chash :: InputTimecodeSource -> Int
hashWithSalt :: Int -> InputTimecodeSource -> Int
$chashWithSalt :: Int -> InputTimecodeSource -> Int
Prelude.Hashable,
InputTimecodeSource -> ()
forall a. (a -> ()) -> NFData a
rnf :: InputTimecodeSource -> ()
$crnf :: InputTimecodeSource -> ()
Prelude.NFData,
Text -> Either String InputTimecodeSource
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String InputTimecodeSource
$cfromText :: Text -> Either String InputTimecodeSource
Data.FromText,
InputTimecodeSource -> Text
forall a. (a -> Text) -> ToText a
toText :: InputTimecodeSource -> Text
$ctoText :: InputTimecodeSource -> Text
Data.ToText,
InputTimecodeSource -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: InputTimecodeSource -> ByteString
$ctoBS :: InputTimecodeSource -> ByteString
Data.ToByteString,
InputTimecodeSource -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InputTimecodeSource -> ByteStringBuilder
$cbuild :: InputTimecodeSource -> ByteStringBuilder
Data.ToLog,
HeaderName -> InputTimecodeSource -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> InputTimecodeSource -> [Header]
$ctoHeader :: HeaderName -> InputTimecodeSource -> [Header]
Data.ToHeader,
InputTimecodeSource -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InputTimecodeSource -> QueryString
$ctoQuery :: InputTimecodeSource -> QueryString
Data.ToQuery,
Value -> Parser [InputTimecodeSource]
Value -> Parser InputTimecodeSource
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [InputTimecodeSource]
$cparseJSONList :: Value -> Parser [InputTimecodeSource]
parseJSON :: Value -> Parser InputTimecodeSource
$cparseJSON :: Value -> Parser InputTimecodeSource
Data.FromJSON,
FromJSONKeyFunction [InputTimecodeSource]
FromJSONKeyFunction InputTimecodeSource
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [InputTimecodeSource]
$cfromJSONKeyList :: FromJSONKeyFunction [InputTimecodeSource]
fromJSONKey :: FromJSONKeyFunction InputTimecodeSource
$cfromJSONKey :: FromJSONKeyFunction InputTimecodeSource
Data.FromJSONKey,
[InputTimecodeSource] -> Encoding
[InputTimecodeSource] -> Value
InputTimecodeSource -> Encoding
InputTimecodeSource -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [InputTimecodeSource] -> Encoding
$ctoEncodingList :: [InputTimecodeSource] -> Encoding
toJSONList :: [InputTimecodeSource] -> Value
$ctoJSONList :: [InputTimecodeSource] -> Value
toEncoding :: InputTimecodeSource -> Encoding
$ctoEncoding :: InputTimecodeSource -> Encoding
toJSON :: InputTimecodeSource -> Value
$ctoJSON :: InputTimecodeSource -> Value
Data.ToJSON,
ToJSONKeyFunction [InputTimecodeSource]
ToJSONKeyFunction InputTimecodeSource
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [InputTimecodeSource]
$ctoJSONKeyList :: ToJSONKeyFunction [InputTimecodeSource]
toJSONKey :: ToJSONKeyFunction InputTimecodeSource
$ctoJSONKey :: ToJSONKeyFunction InputTimecodeSource
Data.ToJSONKey,
[Node] -> Either String InputTimecodeSource
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String InputTimecodeSource
$cparseXML :: [Node] -> Either String InputTimecodeSource
Data.FromXML,
InputTimecodeSource -> XML
forall a. (a -> XML) -> ToXML a
toXML :: InputTimecodeSource -> XML
$ctoXML :: InputTimecodeSource -> XML
Data.ToXML
)
pattern InputTimecodeSource_EMBEDDED :: InputTimecodeSource
pattern $bInputTimecodeSource_EMBEDDED :: InputTimecodeSource
$mInputTimecodeSource_EMBEDDED :: forall {r}.
InputTimecodeSource -> ((# #) -> r) -> ((# #) -> r) -> r
InputTimecodeSource_EMBEDDED = InputTimecodeSource' "EMBEDDED"
pattern InputTimecodeSource_ZEROBASED :: InputTimecodeSource
pattern $bInputTimecodeSource_ZEROBASED :: InputTimecodeSource
$mInputTimecodeSource_ZEROBASED :: forall {r}.
InputTimecodeSource -> ((# #) -> r) -> ((# #) -> r) -> r
InputTimecodeSource_ZEROBASED = InputTimecodeSource' "ZEROBASED"
{-# COMPLETE
InputTimecodeSource_EMBEDDED,
InputTimecodeSource_ZEROBASED,
InputTimecodeSource'
#-}