AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchReadOperationResponse.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchReadSuccessfulResponse.h>
9#include <aws/clouddirectory/model/BatchReadException.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudDirectory
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API BatchReadOperationResponse();
37 AWS_CLOUDDIRECTORY_API BatchReadOperationResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const BatchReadSuccessfulResponse& GetSuccessfulResponse() const{ return m_successfulResponse; }
47 inline bool SuccessfulResponseHasBeenSet() const { return m_successfulResponseHasBeenSet; }
48 inline void SetSuccessfulResponse(const BatchReadSuccessfulResponse& value) { m_successfulResponseHasBeenSet = true; m_successfulResponse = value; }
49 inline void SetSuccessfulResponse(BatchReadSuccessfulResponse&& value) { m_successfulResponseHasBeenSet = true; m_successfulResponse = std::move(value); }
53
55
58 inline const BatchReadException& GetExceptionResponse() const{ return m_exceptionResponse; }
59 inline bool ExceptionResponseHasBeenSet() const { return m_exceptionResponseHasBeenSet; }
60 inline void SetExceptionResponse(const BatchReadException& value) { m_exceptionResponseHasBeenSet = true; m_exceptionResponse = value; }
61 inline void SetExceptionResponse(BatchReadException&& value) { m_exceptionResponseHasBeenSet = true; m_exceptionResponse = std::move(value); }
65 private:
66
67 BatchReadSuccessfulResponse m_successfulResponse;
68 bool m_successfulResponseHasBeenSet = false;
69
70 BatchReadException m_exceptionResponse;
71 bool m_exceptionResponseHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudDirectory
76} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
const BatchReadSuccessfulResponse & GetSuccessfulResponse() const
BatchReadOperationResponse & WithSuccessfulResponse(BatchReadSuccessfulResponse &&value)
void SetSuccessfulResponse(const BatchReadSuccessfulResponse &value)
BatchReadOperationResponse & WithExceptionResponse(const BatchReadException &value)
AWS_CLOUDDIRECTORY_API BatchReadOperationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSuccessfulResponse(BatchReadSuccessfulResponse &&value)
BatchReadOperationResponse & WithSuccessfulResponse(const BatchReadSuccessfulResponse &value)
BatchReadOperationResponse & WithExceptionResponse(BatchReadException &&value)
AWS_CLOUDDIRECTORY_API BatchReadOperationResponse(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue