{-# 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.MultiplexGroupSettings
-- 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.MultiplexGroupSettings where

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

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

-- |
-- Create a value of 'MultiplexGroupSettings' 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.
newMultiplexGroupSettings ::
  MultiplexGroupSettings
newMultiplexGroupSettings :: MultiplexGroupSettings
newMultiplexGroupSettings = MultiplexGroupSettings
MultiplexGroupSettings'

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

instance Prelude.Hashable MultiplexGroupSettings

instance Prelude.NFData MultiplexGroupSettings

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