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

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

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

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

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

instance Prelude.Hashable AribSourceSettings

instance Prelude.NFData AribSourceSettings

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