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

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

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

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

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

instance Prelude.Hashable SAPODataMetadata

instance Prelude.NFData SAPODataMetadata