{-# 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.AppFlow.Types.AmplitudeMetadata
-- 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.AppFlow.Types.AmplitudeMetadata where

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

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

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

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

instance Prelude.Hashable AmplitudeMetadata

instance Prelude.NFData AmplitudeMetadata