{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaLive.Types.MediaPackageOutputSettings
-- 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.MediaLive.Types.MediaPackageOutputSettings where

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

-- | Media Package Output Settings
--
-- /See:/ 'newMediaPackageOutputSettings' smart constructor.
data MediaPackageOutputSettings = MediaPackageOutputSettings'
  {
  }
  deriving (MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool
$c/= :: MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool
== :: MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool
$c== :: MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool
Prelude.Eq, ReadPrec [MediaPackageOutputSettings]
ReadPrec MediaPackageOutputSettings
Int -> ReadS MediaPackageOutputSettings
ReadS [MediaPackageOutputSettings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MediaPackageOutputSettings]
$creadListPrec :: ReadPrec [MediaPackageOutputSettings]
readPrec :: ReadPrec MediaPackageOutputSettings
$creadPrec :: ReadPrec MediaPackageOutputSettings
readList :: ReadS [MediaPackageOutputSettings]
$creadList :: ReadS [MediaPackageOutputSettings]
readsPrec :: Int -> ReadS MediaPackageOutputSettings
$creadsPrec :: Int -> ReadS MediaPackageOutputSettings
Prelude.Read, Int -> MediaPackageOutputSettings -> ShowS
[MediaPackageOutputSettings] -> ShowS
MediaPackageOutputSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MediaPackageOutputSettings] -> ShowS
$cshowList :: [MediaPackageOutputSettings] -> ShowS
show :: MediaPackageOutputSettings -> String
$cshow :: MediaPackageOutputSettings -> String
showsPrec :: Int -> MediaPackageOutputSettings -> ShowS
$cshowsPrec :: Int -> MediaPackageOutputSettings -> ShowS
Prelude.Show, forall x.
Rep MediaPackageOutputSettings x -> MediaPackageOutputSettings
forall x.
MediaPackageOutputSettings -> Rep MediaPackageOutputSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MediaPackageOutputSettings x -> MediaPackageOutputSettings
$cfrom :: forall x.
MediaPackageOutputSettings -> Rep MediaPackageOutputSettings x
Prelude.Generic)

-- |
-- Create a value of 'MediaPackageOutputSettings' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
newMediaPackageOutputSettings ::
  MediaPackageOutputSettings
newMediaPackageOutputSettings :: MediaPackageOutputSettings
newMediaPackageOutputSettings =
  MediaPackageOutputSettings
MediaPackageOutputSettings'

instance Data.FromJSON MediaPackageOutputSettings where
  parseJSON :: Value -> Parser MediaPackageOutputSettings
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"MediaPackageOutputSettings"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure MediaPackageOutputSettings
MediaPackageOutputSettings')

instance Prelude.Hashable MediaPackageOutputSettings where
  hashWithSalt :: Int -> MediaPackageOutputSettings -> Int
hashWithSalt Int
_salt MediaPackageOutputSettings
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance Prelude.NFData MediaPackageOutputSettings where
  rnf :: MediaPackageOutputSettings -> ()
rnf MediaPackageOutputSettings
_ = ()

instance Data.ToJSON MediaPackageOutputSettings where
  toJSON :: MediaPackageOutputSettings -> Value
toJSON = forall a b. a -> b -> a
Prelude.const (Object -> Value
Data.Object forall a. Monoid a => a
Prelude.mempty)