{-# 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.MediaConvert.Types.MovClapAtom
-- 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.MediaConvert.Types.MovClapAtom
  ( MovClapAtom
      ( ..,
        MovClapAtom_EXCLUDE,
        MovClapAtom_INCLUDE
      ),
  )
where

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

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

pattern MovClapAtom_EXCLUDE :: MovClapAtom
pattern $bMovClapAtom_EXCLUDE :: MovClapAtom
$mMovClapAtom_EXCLUDE :: forall {r}. MovClapAtom -> ((# #) -> r) -> ((# #) -> r) -> r
MovClapAtom_EXCLUDE = MovClapAtom' "EXCLUDE"

pattern MovClapAtom_INCLUDE :: MovClapAtom
pattern $bMovClapAtom_INCLUDE :: MovClapAtom
$mMovClapAtom_INCLUDE :: forall {r}. MovClapAtom -> ((# #) -> r) -> ((# #) -> r) -> r
MovClapAtom_INCLUDE = MovClapAtom' "INCLUDE"

{-# COMPLETE
  MovClapAtom_EXCLUDE,
  MovClapAtom_INCLUDE,
  MovClapAtom'
  #-}