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

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

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

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

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

instance Prelude.Hashable DatadogMetadata

instance Prelude.NFData DatadogMetadata