AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchWriteOperationResponse.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchCreateObjectResponse.h>
9#include <aws/clouddirectory/model/BatchAttachObjectResponse.h>
10#include <aws/clouddirectory/model/BatchDetachObjectResponse.h>
11#include <aws/clouddirectory/model/BatchUpdateObjectAttributesResponse.h>
12#include <aws/clouddirectory/model/BatchDeleteObjectResponse.h>
13#include <aws/clouddirectory/model/BatchAddFacetToObjectResponse.h>
14#include <aws/clouddirectory/model/BatchRemoveFacetFromObjectResponse.h>
15#include <aws/clouddirectory/model/BatchAttachPolicyResponse.h>
16#include <aws/clouddirectory/model/BatchDetachPolicyResponse.h>
17#include <aws/clouddirectory/model/BatchCreateIndexResponse.h>
18#include <aws/clouddirectory/model/BatchAttachToIndexResponse.h>
19#include <aws/clouddirectory/model/BatchDetachFromIndexResponse.h>
20#include <aws/clouddirectory/model/BatchAttachTypedLinkResponse.h>
21#include <aws/clouddirectory/model/BatchDetachTypedLinkResponse.h>
22#include <aws/clouddirectory/model/BatchUpdateLinkAttributesResponse.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace CloudDirectory
36{
37namespace Model
38{
39
47 {
48 public:
49 AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse();
52 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const BatchCreateObjectResponse& GetCreateObject() const{ return m_createObject; }
60 inline bool CreateObjectHasBeenSet() const { return m_createObjectHasBeenSet; }
61 inline void SetCreateObject(const BatchCreateObjectResponse& value) { m_createObjectHasBeenSet = true; m_createObject = value; }
62 inline void SetCreateObject(BatchCreateObjectResponse&& value) { m_createObjectHasBeenSet = true; m_createObject = std::move(value); }
66
68
71 inline const BatchAttachObjectResponse& GetAttachObject() const{ return m_attachObject; }
72 inline bool AttachObjectHasBeenSet() const { return m_attachObjectHasBeenSet; }
73 inline void SetAttachObject(const BatchAttachObjectResponse& value) { m_attachObjectHasBeenSet = true; m_attachObject = value; }
74 inline void SetAttachObject(BatchAttachObjectResponse&& value) { m_attachObjectHasBeenSet = true; m_attachObject = std::move(value); }
78
80
83 inline const BatchDetachObjectResponse& GetDetachObject() const{ return m_detachObject; }
84 inline bool DetachObjectHasBeenSet() const { return m_detachObjectHasBeenSet; }
85 inline void SetDetachObject(const BatchDetachObjectResponse& value) { m_detachObjectHasBeenSet = true; m_detachObject = value; }
86 inline void SetDetachObject(BatchDetachObjectResponse&& value) { m_detachObjectHasBeenSet = true; m_detachObject = std::move(value); }
90
92
95 inline const BatchUpdateObjectAttributesResponse& GetUpdateObjectAttributes() const{ return m_updateObjectAttributes; }
96 inline bool UpdateObjectAttributesHasBeenSet() const { return m_updateObjectAttributesHasBeenSet; }
97 inline void SetUpdateObjectAttributes(const BatchUpdateObjectAttributesResponse& value) { m_updateObjectAttributesHasBeenSet = true; m_updateObjectAttributes = value; }
98 inline void SetUpdateObjectAttributes(BatchUpdateObjectAttributesResponse&& value) { m_updateObjectAttributesHasBeenSet = true; m_updateObjectAttributes = std::move(value); }
102
104
107 inline const BatchDeleteObjectResponse& GetDeleteObject() const{ return m_deleteObject; }
108 inline bool DeleteObjectHasBeenSet() const { return m_deleteObjectHasBeenSet; }
109 inline void SetDeleteObject(const BatchDeleteObjectResponse& value) { m_deleteObjectHasBeenSet = true; m_deleteObject = value; }
110 inline void SetDeleteObject(BatchDeleteObjectResponse&& value) { m_deleteObjectHasBeenSet = true; m_deleteObject = std::move(value); }
114
116
119 inline const BatchAddFacetToObjectResponse& GetAddFacetToObject() const{ return m_addFacetToObject; }
120 inline bool AddFacetToObjectHasBeenSet() const { return m_addFacetToObjectHasBeenSet; }
121 inline void SetAddFacetToObject(const BatchAddFacetToObjectResponse& value) { m_addFacetToObjectHasBeenSet = true; m_addFacetToObject = value; }
122 inline void SetAddFacetToObject(BatchAddFacetToObjectResponse&& value) { m_addFacetToObjectHasBeenSet = true; m_addFacetToObject = std::move(value); }
126
128
131 inline const BatchRemoveFacetFromObjectResponse& GetRemoveFacetFromObject() const{ return m_removeFacetFromObject; }
132 inline bool RemoveFacetFromObjectHasBeenSet() const { return m_removeFacetFromObjectHasBeenSet; }
133 inline void SetRemoveFacetFromObject(const BatchRemoveFacetFromObjectResponse& value) { m_removeFacetFromObjectHasBeenSet = true; m_removeFacetFromObject = value; }
134 inline void SetRemoveFacetFromObject(BatchRemoveFacetFromObjectResponse&& value) { m_removeFacetFromObjectHasBeenSet = true; m_removeFacetFromObject = std::move(value); }
138
140
144 inline const BatchAttachPolicyResponse& GetAttachPolicy() const{ return m_attachPolicy; }
145 inline bool AttachPolicyHasBeenSet() const { return m_attachPolicyHasBeenSet; }
146 inline void SetAttachPolicy(const BatchAttachPolicyResponse& value) { m_attachPolicyHasBeenSet = true; m_attachPolicy = value; }
147 inline void SetAttachPolicy(BatchAttachPolicyResponse&& value) { m_attachPolicyHasBeenSet = true; m_attachPolicy = std::move(value); }
151
153
156 inline const BatchDetachPolicyResponse& GetDetachPolicy() const{ return m_detachPolicy; }
157 inline bool DetachPolicyHasBeenSet() const { return m_detachPolicyHasBeenSet; }
158 inline void SetDetachPolicy(const BatchDetachPolicyResponse& value) { m_detachPolicyHasBeenSet = true; m_detachPolicy = value; }
159 inline void SetDetachPolicy(BatchDetachPolicyResponse&& value) { m_detachPolicyHasBeenSet = true; m_detachPolicy = std::move(value); }
163
165
170 inline const BatchCreateIndexResponse& GetCreateIndex() const{ return m_createIndex; }
171 inline bool CreateIndexHasBeenSet() const { return m_createIndexHasBeenSet; }
172 inline void SetCreateIndex(const BatchCreateIndexResponse& value) { m_createIndexHasBeenSet = true; m_createIndex = value; }
173 inline void SetCreateIndex(BatchCreateIndexResponse&& value) { m_createIndexHasBeenSet = true; m_createIndex = std::move(value); }
175 inline BatchWriteOperationResponse& WithCreateIndex(BatchCreateIndexResponse&& value) { SetCreateIndex(std::move(value)); return *this;}
177
179
182 inline const BatchAttachToIndexResponse& GetAttachToIndex() const{ return m_attachToIndex; }
183 inline bool AttachToIndexHasBeenSet() const { return m_attachToIndexHasBeenSet; }
184 inline void SetAttachToIndex(const BatchAttachToIndexResponse& value) { m_attachToIndexHasBeenSet = true; m_attachToIndex = value; }
185 inline void SetAttachToIndex(BatchAttachToIndexResponse&& value) { m_attachToIndexHasBeenSet = true; m_attachToIndex = std::move(value); }
189
191
194 inline const BatchDetachFromIndexResponse& GetDetachFromIndex() const{ return m_detachFromIndex; }
195 inline bool DetachFromIndexHasBeenSet() const { return m_detachFromIndexHasBeenSet; }
196 inline void SetDetachFromIndex(const BatchDetachFromIndexResponse& value) { m_detachFromIndexHasBeenSet = true; m_detachFromIndex = value; }
197 inline void SetDetachFromIndex(BatchDetachFromIndexResponse&& value) { m_detachFromIndexHasBeenSet = true; m_detachFromIndex = std::move(value); }
201
203
209 inline const BatchAttachTypedLinkResponse& GetAttachTypedLink() const{ return m_attachTypedLink; }
210 inline bool AttachTypedLinkHasBeenSet() const { return m_attachTypedLinkHasBeenSet; }
211 inline void SetAttachTypedLink(const BatchAttachTypedLinkResponse& value) { m_attachTypedLinkHasBeenSet = true; m_attachTypedLink = value; }
212 inline void SetAttachTypedLink(BatchAttachTypedLinkResponse&& value) { m_attachTypedLinkHasBeenSet = true; m_attachTypedLink = std::move(value); }
216
218
224 inline const BatchDetachTypedLinkResponse& GetDetachTypedLink() const{ return m_detachTypedLink; }
225 inline bool DetachTypedLinkHasBeenSet() const { return m_detachTypedLinkHasBeenSet; }
226 inline void SetDetachTypedLink(const BatchDetachTypedLinkResponse& value) { m_detachTypedLinkHasBeenSet = true; m_detachTypedLink = value; }
227 inline void SetDetachTypedLink(BatchDetachTypedLinkResponse&& value) { m_detachTypedLinkHasBeenSet = true; m_detachTypedLink = std::move(value); }
231
233
236 inline const BatchUpdateLinkAttributesResponse& GetUpdateLinkAttributes() const{ return m_updateLinkAttributes; }
237 inline bool UpdateLinkAttributesHasBeenSet() const { return m_updateLinkAttributesHasBeenSet; }
238 inline void SetUpdateLinkAttributes(const BatchUpdateLinkAttributesResponse& value) { m_updateLinkAttributesHasBeenSet = true; m_updateLinkAttributes = value; }
239 inline void SetUpdateLinkAttributes(BatchUpdateLinkAttributesResponse&& value) { m_updateLinkAttributesHasBeenSet = true; m_updateLinkAttributes = std::move(value); }
243 private:
244
245 BatchCreateObjectResponse m_createObject;
246 bool m_createObjectHasBeenSet = false;
247
248 BatchAttachObjectResponse m_attachObject;
249 bool m_attachObjectHasBeenSet = false;
250
251 BatchDetachObjectResponse m_detachObject;
252 bool m_detachObjectHasBeenSet = false;
253
254 BatchUpdateObjectAttributesResponse m_updateObjectAttributes;
255 bool m_updateObjectAttributesHasBeenSet = false;
256
257 BatchDeleteObjectResponse m_deleteObject;
258 bool m_deleteObjectHasBeenSet = false;
259
260 BatchAddFacetToObjectResponse m_addFacetToObject;
261 bool m_addFacetToObjectHasBeenSet = false;
262
263 BatchRemoveFacetFromObjectResponse m_removeFacetFromObject;
264 bool m_removeFacetFromObjectHasBeenSet = false;
265
266 BatchAttachPolicyResponse m_attachPolicy;
267 bool m_attachPolicyHasBeenSet = false;
268
269 BatchDetachPolicyResponse m_detachPolicy;
270 bool m_detachPolicyHasBeenSet = false;
271
272 BatchCreateIndexResponse m_createIndex;
273 bool m_createIndexHasBeenSet = false;
274
275 BatchAttachToIndexResponse m_attachToIndex;
276 bool m_attachToIndexHasBeenSet = false;
277
278 BatchDetachFromIndexResponse m_detachFromIndex;
279 bool m_detachFromIndexHasBeenSet = false;
280
281 BatchAttachTypedLinkResponse m_attachTypedLink;
282 bool m_attachTypedLinkHasBeenSet = false;
283
284 BatchDetachTypedLinkResponse m_detachTypedLink;
285 bool m_detachTypedLinkHasBeenSet = false;
286
287 BatchUpdateLinkAttributesResponse m_updateLinkAttributes;
288 bool m_updateLinkAttributesHasBeenSet = false;
289 };
290
291} // namespace Model
292} // namespace CloudDirectory
293} // namespace Aws
BatchWriteOperationResponse & WithUpdateLinkAttributes(BatchUpdateLinkAttributesResponse &&value)
BatchWriteOperationResponse & WithAttachObject(BatchAttachObjectResponse &&value)
BatchWriteOperationResponse & WithDeleteObject(BatchDeleteObjectResponse &&value)
void SetAttachTypedLink(const BatchAttachTypedLinkResponse &value)
BatchWriteOperationResponse & WithRemoveFacetFromObject(const BatchRemoveFacetFromObjectResponse &value)
void SetRemoveFacetFromObject(const BatchRemoveFacetFromObjectResponse &value)
const BatchDetachTypedLinkResponse & GetDetachTypedLink() const
BatchWriteOperationResponse & WithCreateIndex(BatchCreateIndexResponse &&value)
void SetUpdateObjectAttributes(const BatchUpdateObjectAttributesResponse &value)
BatchWriteOperationResponse & WithAttachPolicy(BatchAttachPolicyResponse &&value)
BatchWriteOperationResponse & WithDetachFromIndex(BatchDetachFromIndexResponse &&value)
BatchWriteOperationResponse & WithDetachFromIndex(const BatchDetachFromIndexResponse &value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchWriteOperationResponse & WithDetachPolicy(BatchDetachPolicyResponse &&value)
BatchWriteOperationResponse & WithUpdateObjectAttributes(BatchUpdateObjectAttributesResponse &&value)
BatchWriteOperationResponse & WithAttachPolicy(const BatchAttachPolicyResponse &value)
void SetDetachPolicy(const BatchDetachPolicyResponse &value)
BatchWriteOperationResponse & WithCreateObject(const BatchCreateObjectResponse &value)
void SetAttachPolicy(const BatchAttachPolicyResponse &value)
BatchWriteOperationResponse & WithAttachTypedLink(BatchAttachTypedLinkResponse &&value)
BatchWriteOperationResponse & WithUpdateLinkAttributes(const BatchUpdateLinkAttributesResponse &value)
BatchWriteOperationResponse & WithUpdateObjectAttributes(const BatchUpdateObjectAttributesResponse &value)
BatchWriteOperationResponse & WithDetachObject(BatchDetachObjectResponse &&value)
BatchWriteOperationResponse & WithAddFacetToObject(BatchAddFacetToObjectResponse &&value)
void SetAddFacetToObject(const BatchAddFacetToObjectResponse &value)
const BatchUpdateLinkAttributesResponse & GetUpdateLinkAttributes() const
BatchWriteOperationResponse & WithAttachToIndex(const BatchAttachToIndexResponse &value)
BatchWriteOperationResponse & WithDetachObject(const BatchDetachObjectResponse &value)
BatchWriteOperationResponse & WithAddFacetToObject(const BatchAddFacetToObjectResponse &value)
void SetRemoveFacetFromObject(BatchRemoveFacetFromObjectResponse &&value)
void SetDetachObject(const BatchDetachObjectResponse &value)
void SetAttachTypedLink(BatchAttachTypedLinkResponse &&value)
const BatchDetachFromIndexResponse & GetDetachFromIndex() const
BatchWriteOperationResponse & WithCreateObject(BatchCreateObjectResponse &&value)
BatchWriteOperationResponse & WithAttachToIndex(BatchAttachToIndexResponse &&value)
BatchWriteOperationResponse & WithAttachObject(const BatchAttachObjectResponse &value)
void SetDetachFromIndex(const BatchDetachFromIndexResponse &value)
BatchWriteOperationResponse & WithAttachTypedLink(const BatchAttachTypedLinkResponse &value)
void SetUpdateLinkAttributes(const BatchUpdateLinkAttributesResponse &value)
void SetAddFacetToObject(BatchAddFacetToObjectResponse &&value)
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetCreateObject(const BatchCreateObjectResponse &value)
void SetAttachToIndex(const BatchAttachToIndexResponse &value)
void SetUpdateLinkAttributes(BatchUpdateLinkAttributesResponse &&value)
BatchWriteOperationResponse & WithRemoveFacetFromObject(BatchRemoveFacetFromObjectResponse &&value)
void SetAttachObject(const BatchAttachObjectResponse &value)
BatchWriteOperationResponse & WithDetachTypedLink(BatchDetachTypedLinkResponse &&value)
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const BatchUpdateObjectAttributesResponse & GetUpdateObjectAttributes() const
void SetDeleteObject(const BatchDeleteObjectResponse &value)
void SetDetachTypedLink(BatchDetachTypedLinkResponse &&value)
const BatchAddFacetToObjectResponse & GetAddFacetToObject() const
void SetUpdateObjectAttributes(BatchUpdateObjectAttributesResponse &&value)
BatchWriteOperationResponse & WithDetachTypedLink(const BatchDetachTypedLinkResponse &value)
BatchWriteOperationResponse & WithDeleteObject(const BatchDeleteObjectResponse &value)
void SetDetachTypedLink(const BatchDetachTypedLinkResponse &value)
const BatchAttachTypedLinkResponse & GetAttachTypedLink() const
void SetDetachFromIndex(BatchDetachFromIndexResponse &&value)
const BatchRemoveFacetFromObjectResponse & GetRemoveFacetFromObject() const
BatchWriteOperationResponse & WithDetachPolicy(const BatchDetachPolicyResponse &value)
BatchWriteOperationResponse & WithCreateIndex(const BatchCreateIndexResponse &value)
Aws::Utils::Json::JsonValue JsonValue