{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.MediaPackageOutputSettings where

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

-- | Media Package Output Settings
--
-- /See:/ 'newMediaPackageOutputSettings' smart constructor.
data MediaPackageOutputSettings = MediaPackageOutputSettings'
  {
  }
  deriving (MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool
(MediaPackageOutputSettings -> MediaPackageOutputSettings -> Bool)
-> (MediaPackageOutputSettings
    -> MediaPackageOutputSettings -> Bool)
-> Eq MediaPackageOutputSettings
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]
(Int -> ReadS MediaPackageOutputSettings)
-> ReadS [MediaPackageOutputSettings]
-> ReadPrec MediaPackageOutputSettings
-> ReadPrec [MediaPackageOutputSettings]
-> Read 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
(Int -> MediaPackageOutputSettings -> ShowS)
-> (MediaPackageOutputSettings -> String)
-> ([MediaPackageOutputSettings] -> ShowS)
-> Show MediaPackageOutputSettings
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.
 MediaPackageOutputSettings -> Rep MediaPackageOutputSettings x)
-> (forall x.
    Rep MediaPackageOutputSettings x -> MediaPackageOutputSettings)
-> Generic MediaPackageOutputSettings
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 Core.FromJSON MediaPackageOutputSettings where
  parseJSON :: Value -> Parser MediaPackageOutputSettings
parseJSON =
    String
-> (Object -> Parser MediaPackageOutputSettings)
-> Value
-> Parser MediaPackageOutputSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"MediaPackageOutputSettings"
      (\Object
x -> MediaPackageOutputSettings -> Parser MediaPackageOutputSettings
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure MediaPackageOutputSettings
MediaPackageOutputSettings')

instance Prelude.Hashable MediaPackageOutputSettings

instance Prelude.NFData MediaPackageOutputSettings

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