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

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

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

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

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

instance
  Prelude.Hashable
    GoogleAnalyticsConnectorProfileProperties

instance
  Prelude.NFData
    GoogleAnalyticsConnectorProfileProperties

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