{-# 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-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.CloudDirectory.Types.BatchAddFacetToObjectResponse where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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
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]
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
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.
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 Data.FromJSON BatchAddFacetToObjectResponse where
  parseJSON :: Value -> Parser BatchAddFacetToObjectResponse
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"BatchAddFacetToObjectResponse"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure BatchAddFacetToObjectResponse
BatchAddFacetToObjectResponse')

instance
  Prelude.Hashable
    BatchAddFacetToObjectResponse
  where
  hashWithSalt :: Int -> BatchAddFacetToObjectResponse -> Int
hashWithSalt Int
_salt BatchAddFacetToObjectResponse
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance Prelude.NFData BatchAddFacetToObjectResponse where
  rnf :: BatchAddFacetToObjectResponse -> ()
rnf BatchAddFacetToObjectResponse
_ = ()