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