{-# 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.Mp4FreeSpaceBox
-- 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.Mp4FreeSpaceBox
  ( Mp4FreeSpaceBox
      ( ..,
        Mp4FreeSpaceBox_EXCLUDE,
        Mp4FreeSpaceBox_INCLUDE
      ),
  )
where

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

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

pattern Mp4FreeSpaceBox_EXCLUDE :: Mp4FreeSpaceBox
pattern $bMp4FreeSpaceBox_EXCLUDE :: Mp4FreeSpaceBox
$mMp4FreeSpaceBox_EXCLUDE :: forall {r}. Mp4FreeSpaceBox -> ((# #) -> r) -> ((# #) -> r) -> r
Mp4FreeSpaceBox_EXCLUDE = Mp4FreeSpaceBox' "EXCLUDE"

pattern Mp4FreeSpaceBox_INCLUDE :: Mp4FreeSpaceBox
pattern $bMp4FreeSpaceBox_INCLUDE :: Mp4FreeSpaceBox
$mMp4FreeSpaceBox_INCLUDE :: forall {r}. Mp4FreeSpaceBox -> ((# #) -> r) -> ((# #) -> r) -> r
Mp4FreeSpaceBox_INCLUDE = Mp4FreeSpaceBox' "INCLUDE"

{-# COMPLETE
  Mp4FreeSpaceBox_EXCLUDE,
  Mp4FreeSpaceBox_INCLUDE,
  Mp4FreeSpaceBox'
  #-}