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