/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a BatchRead
response
* operation.See Also:
AWS
* API Reference
Identifies which operation in a batch has succeeded.
*/ inline const BatchReadSuccessfulResponse& GetSuccessfulResponse() const{ return m_successfulResponse; } /** *Identifies which operation in a batch has succeeded.
*/ inline bool SuccessfulResponseHasBeenSet() const { return m_successfulResponseHasBeenSet; } /** *Identifies which operation in a batch has succeeded.
*/ inline void SetSuccessfulResponse(const BatchReadSuccessfulResponse& value) { m_successfulResponseHasBeenSet = true; m_successfulResponse = value; } /** *Identifies which operation in a batch has succeeded.
*/ inline void SetSuccessfulResponse(BatchReadSuccessfulResponse&& value) { m_successfulResponseHasBeenSet = true; m_successfulResponse = std::move(value); } /** *Identifies which operation in a batch has succeeded.
*/ inline BatchReadOperationResponse& WithSuccessfulResponse(const BatchReadSuccessfulResponse& value) { SetSuccessfulResponse(value); return *this;} /** *Identifies which operation in a batch has succeeded.
*/ inline BatchReadOperationResponse& WithSuccessfulResponse(BatchReadSuccessfulResponse&& value) { SetSuccessfulResponse(std::move(value)); return *this;} /** *Identifies which operation in a batch has failed.
*/ inline const BatchReadException& GetExceptionResponse() const{ return m_exceptionResponse; } /** *Identifies which operation in a batch has failed.
*/ inline bool ExceptionResponseHasBeenSet() const { return m_exceptionResponseHasBeenSet; } /** *Identifies which operation in a batch has failed.
*/ inline void SetExceptionResponse(const BatchReadException& value) { m_exceptionResponseHasBeenSet = true; m_exceptionResponse = value; } /** *Identifies which operation in a batch has failed.
*/ inline void SetExceptionResponse(BatchReadException&& value) { m_exceptionResponseHasBeenSet = true; m_exceptionResponse = std::move(value); } /** *Identifies which operation in a batch has failed.
*/ inline BatchReadOperationResponse& WithExceptionResponse(const BatchReadException& value) { SetExceptionResponse(value); return *this;} /** *Identifies which operation in a batch has failed.
*/ inline BatchReadOperationResponse& WithExceptionResponse(BatchReadException&& value) { SetExceptionResponse(std::move(value)); return *this;} private: BatchReadSuccessfulResponse m_successfulResponse; bool m_successfulResponseHasBeenSet = false; BatchReadException m_exceptionResponse; bool m_exceptionResponseHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws