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

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

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

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

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

instance Prelude.Hashable FrameCaptureHlsSettings

instance Prelude.NFData FrameCaptureHlsSettings

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