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

-- | Multiplex Group Settings
--
-- /See:/ 'newMultiplexGroupSettings' smart constructor.
data MultiplexGroupSettings = MultiplexGroupSettings'
  {
  }
  deriving (MultiplexGroupSettings -> MultiplexGroupSettings -> Bool
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]
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
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. 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 Data.FromJSON MultiplexGroupSettings where
  parseJSON :: Value -> Parser MultiplexGroupSettings
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"MultiplexGroupSettings"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure MultiplexGroupSettings
MultiplexGroupSettings')

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

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

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