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

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

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

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

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

instance Prelude.Hashable UpsolverMetadata

instance Prelude.NFData UpsolverMetadata