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

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

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

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

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

instance Prelude.Hashable AribDestinationSettings

instance Prelude.NFData AribDestinationSettings

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