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

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

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

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

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

instance Prelude.Hashable CustomerProfilesMetadata

instance Prelude.NFData CustomerProfilesMetadata