{-# 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.CloudDirectory.Types.BatchAddFacetToObjectResponse
-- 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.CloudDirectory.Types.BatchAddFacetToObjectResponse where

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

-- | The result of a batch add facet to object operation.
--
-- /See:/ 'newBatchAddFacetToObjectResponse' smart constructor.
data BatchAddFacetToObjectResponse = BatchAddFacetToObjectResponse'
  {
  }
  deriving (BatchAddFacetToObjectResponse
-> BatchAddFacetToObjectResponse -> Bool
(BatchAddFacetToObjectResponse
 -> BatchAddFacetToObjectResponse -> Bool)
-> (BatchAddFacetToObjectResponse
    -> BatchAddFacetToObjectResponse -> Bool)
-> Eq BatchAddFacetToObjectResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchAddFacetToObjectResponse
-> BatchAddFacetToObjectResponse -> Bool
$c/= :: BatchAddFacetToObjectResponse
-> BatchAddFacetToObjectResponse -> Bool
== :: BatchAddFacetToObjectResponse
-> BatchAddFacetToObjectResponse -> Bool
$c== :: BatchAddFacetToObjectResponse
-> BatchAddFacetToObjectResponse -> Bool
Prelude.Eq, ReadPrec [BatchAddFacetToObjectResponse]
ReadPrec BatchAddFacetToObjectResponse
Int -> ReadS BatchAddFacetToObjectResponse
ReadS [BatchAddFacetToObjectResponse]
(Int -> ReadS BatchAddFacetToObjectResponse)
-> ReadS [BatchAddFacetToObjectResponse]
-> ReadPrec BatchAddFacetToObjectResponse
-> ReadPrec [BatchAddFacetToObjectResponse]
-> Read BatchAddFacetToObjectResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchAddFacetToObjectResponse]
$creadListPrec :: ReadPrec [BatchAddFacetToObjectResponse]
readPrec :: ReadPrec BatchAddFacetToObjectResponse
$creadPrec :: ReadPrec BatchAddFacetToObjectResponse
readList :: ReadS [BatchAddFacetToObjectResponse]
$creadList :: ReadS [BatchAddFacetToObjectResponse]
readsPrec :: Int -> ReadS BatchAddFacetToObjectResponse
$creadsPrec :: Int -> ReadS BatchAddFacetToObjectResponse
Prelude.Read, Int -> BatchAddFacetToObjectResponse -> ShowS
[BatchAddFacetToObjectResponse] -> ShowS
BatchAddFacetToObjectResponse -> String
(Int -> BatchAddFacetToObjectResponse -> ShowS)
-> (BatchAddFacetToObjectResponse -> String)
-> ([BatchAddFacetToObjectResponse] -> ShowS)
-> Show BatchAddFacetToObjectResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchAddFacetToObjectResponse] -> ShowS
$cshowList :: [BatchAddFacetToObjectResponse] -> ShowS
show :: BatchAddFacetToObjectResponse -> String
$cshow :: BatchAddFacetToObjectResponse -> String
showsPrec :: Int -> BatchAddFacetToObjectResponse -> ShowS
$cshowsPrec :: Int -> BatchAddFacetToObjectResponse -> ShowS
Prelude.Show, (forall x.
 BatchAddFacetToObjectResponse
 -> Rep BatchAddFacetToObjectResponse x)
-> (forall x.
    Rep BatchAddFacetToObjectResponse x
    -> BatchAddFacetToObjectResponse)
-> Generic BatchAddFacetToObjectResponse
forall x.
Rep BatchAddFacetToObjectResponse x
-> BatchAddFacetToObjectResponse
forall x.
BatchAddFacetToObjectResponse
-> Rep BatchAddFacetToObjectResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchAddFacetToObjectResponse x
-> BatchAddFacetToObjectResponse
$cfrom :: forall x.
BatchAddFacetToObjectResponse
-> Rep BatchAddFacetToObjectResponse x
Prelude.Generic)

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

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

instance
  Prelude.Hashable
    BatchAddFacetToObjectResponse

instance Prelude.NFData BatchAddFacetToObjectResponse