AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CreateObjectT = BatchCreateObjectResponse>
62 void SetCreateObject(CreateObjectT&& value) { m_createObjectHasBeenSet = true; m_createObject = std::forward<CreateObjectT>(value); }
63 template<typename CreateObjectT = BatchCreateObjectResponse>
64 BatchWriteOperationResponse& WithCreateObject(CreateObjectT&& value) { SetCreateObject(std::forward<CreateObjectT>(value)); return *this;}
66
68
71 inline const BatchAttachObjectResponse& GetAttachObject() const { return m_attachObject; }
72 inline bool AttachObjectHasBeenSet() const { return m_attachObjectHasBeenSet; }
73 template<typename AttachObjectT = BatchAttachObjectResponse>
74 void SetAttachObject(AttachObjectT&& value) { m_attachObjectHasBeenSet = true; m_attachObject = std::forward<AttachObjectT>(value); }
75 template<typename AttachObjectT = BatchAttachObjectResponse>
76 BatchWriteOperationResponse& WithAttachObject(AttachObjectT&& value) { SetAttachObject(std::forward<AttachObjectT>(value)); return *this;}
78
80
83 inline const BatchDetachObjectResponse& GetDetachObject() const { return m_detachObject; }
84 inline bool DetachObjectHasBeenSet() const { return m_detachObjectHasBeenSet; }
85 template<typename DetachObjectT = BatchDetachObjectResponse>
86 void SetDetachObject(DetachObjectT&& value) { m_detachObjectHasBeenSet = true; m_detachObject = std::forward<DetachObjectT>(value); }
87 template<typename DetachObjectT = BatchDetachObjectResponse>
88 BatchWriteOperationResponse& WithDetachObject(DetachObjectT&& value) { SetDetachObject(std::forward<DetachObjectT>(value)); return *this;}
90
92
95 inline const BatchUpdateObjectAttributesResponse& GetUpdateObjectAttributes() const { return m_updateObjectAttributes; }
96 inline bool UpdateObjectAttributesHasBeenSet() const { return m_updateObjectAttributesHasBeenSet; }
97 template<typename UpdateObjectAttributesT = BatchUpdateObjectAttributesResponse>
98 void SetUpdateObjectAttributes(UpdateObjectAttributesT&& value) { m_updateObjectAttributesHasBeenSet = true; m_updateObjectAttributes = std::forward<UpdateObjectAttributesT>(value); }
99 template<typename UpdateObjectAttributesT = BatchUpdateObjectAttributesResponse>
100 BatchWriteOperationResponse& WithUpdateObjectAttributes(UpdateObjectAttributesT&& value) { SetUpdateObjectAttributes(std::forward<UpdateObjectAttributesT>(value)); return *this;}
102
104
107 inline const BatchDeleteObjectResponse& GetDeleteObject() const { return m_deleteObject; }
108 inline bool DeleteObjectHasBeenSet() const { return m_deleteObjectHasBeenSet; }
109 template<typename DeleteObjectT = BatchDeleteObjectResponse>
110 void SetDeleteObject(DeleteObjectT&& value) { m_deleteObjectHasBeenSet = true; m_deleteObject = std::forward<DeleteObjectT>(value); }
111 template<typename DeleteObjectT = BatchDeleteObjectResponse>
112 BatchWriteOperationResponse& WithDeleteObject(DeleteObjectT&& value) { SetDeleteObject(std::forward<DeleteObjectT>(value)); return *this;}
114
116
119 inline const BatchAddFacetToObjectResponse& GetAddFacetToObject() const { return m_addFacetToObject; }
120 inline bool AddFacetToObjectHasBeenSet() const { return m_addFacetToObjectHasBeenSet; }
121 template<typename AddFacetToObjectT = BatchAddFacetToObjectResponse>
122 void SetAddFacetToObject(AddFacetToObjectT&& value) { m_addFacetToObjectHasBeenSet = true; m_addFacetToObject = std::forward<AddFacetToObjectT>(value); }
123 template<typename AddFacetToObjectT = BatchAddFacetToObjectResponse>
124 BatchWriteOperationResponse& WithAddFacetToObject(AddFacetToObjectT&& value) { SetAddFacetToObject(std::forward<AddFacetToObjectT>(value)); return *this;}
126
128
131 inline const BatchRemoveFacetFromObjectResponse& GetRemoveFacetFromObject() const { return m_removeFacetFromObject; }
132 inline bool RemoveFacetFromObjectHasBeenSet() const { return m_removeFacetFromObjectHasBeenSet; }
133 template<typename RemoveFacetFromObjectT = BatchRemoveFacetFromObjectResponse>
134 void SetRemoveFacetFromObject(RemoveFacetFromObjectT&& value) { m_removeFacetFromObjectHasBeenSet = true; m_removeFacetFromObject = std::forward<RemoveFacetFromObjectT>(value); }
135 template<typename RemoveFacetFromObjectT = BatchRemoveFacetFromObjectResponse>
136 BatchWriteOperationResponse& WithRemoveFacetFromObject(RemoveFacetFromObjectT&& value) { SetRemoveFacetFromObject(std::forward<RemoveFacetFromObjectT>(value)); return *this;}
138
140
144 inline const BatchAttachPolicyResponse& GetAttachPolicy() const { return m_attachPolicy; }
145 inline bool AttachPolicyHasBeenSet() const { return m_attachPolicyHasBeenSet; }
146 template<typename AttachPolicyT = BatchAttachPolicyResponse>
147 void SetAttachPolicy(AttachPolicyT&& value) { m_attachPolicyHasBeenSet = true; m_attachPolicy = std::forward<AttachPolicyT>(value); }
148 template<typename AttachPolicyT = BatchAttachPolicyResponse>
149 BatchWriteOperationResponse& WithAttachPolicy(AttachPolicyT&& value) { SetAttachPolicy(std::forward<AttachPolicyT>(value)); return *this;}
151
153
156 inline const BatchDetachPolicyResponse& GetDetachPolicy() const { return m_detachPolicy; }
157 inline bool DetachPolicyHasBeenSet() const { return m_detachPolicyHasBeenSet; }
158 template<typename DetachPolicyT = BatchDetachPolicyResponse>
159 void SetDetachPolicy(DetachPolicyT&& value) { m_detachPolicyHasBeenSet = true; m_detachPolicy = std::forward<DetachPolicyT>(value); }
160 template<typename DetachPolicyT = BatchDetachPolicyResponse>
161 BatchWriteOperationResponse& WithDetachPolicy(DetachPolicyT&& value) { SetDetachPolicy(std::forward<DetachPolicyT>(value)); return *this;}
163
165
170 inline const BatchCreateIndexResponse& GetCreateIndex() const { return m_createIndex; }
171 inline bool CreateIndexHasBeenSet() const { return m_createIndexHasBeenSet; }
172 template<typename CreateIndexT = BatchCreateIndexResponse>
173 void SetCreateIndex(CreateIndexT&& value) { m_createIndexHasBeenSet = true; m_createIndex = std::forward<CreateIndexT>(value); }
174 template<typename CreateIndexT = BatchCreateIndexResponse>
175 BatchWriteOperationResponse& WithCreateIndex(CreateIndexT&& value) { SetCreateIndex(std::forward<CreateIndexT>(value)); return *this;}
177
179
182 inline const BatchAttachToIndexResponse& GetAttachToIndex() const { return m_attachToIndex; }
183 inline bool AttachToIndexHasBeenSet() const { return m_attachToIndexHasBeenSet; }
184 template<typename AttachToIndexT = BatchAttachToIndexResponse>
185 void SetAttachToIndex(AttachToIndexT&& value) { m_attachToIndexHasBeenSet = true; m_attachToIndex = std::forward<AttachToIndexT>(value); }
186 template<typename AttachToIndexT = BatchAttachToIndexResponse>
187 BatchWriteOperationResponse& WithAttachToIndex(AttachToIndexT&& value) { SetAttachToIndex(std::forward<AttachToIndexT>(value)); return *this;}
189
191
194 inline const BatchDetachFromIndexResponse& GetDetachFromIndex() const { return m_detachFromIndex; }
195 inline bool DetachFromIndexHasBeenSet() const { return m_detachFromIndexHasBeenSet; }
196 template<typename DetachFromIndexT = BatchDetachFromIndexResponse>
197 void SetDetachFromIndex(DetachFromIndexT&& value) { m_detachFromIndexHasBeenSet = true; m_detachFromIndex = std::forward<DetachFromIndexT>(value); }
198 template<typename DetachFromIndexT = BatchDetachFromIndexResponse>
199 BatchWriteOperationResponse& WithDetachFromIndex(DetachFromIndexT&& value) { SetDetachFromIndex(std::forward<DetachFromIndexT>(value)); return *this;}
201
203
209 inline const BatchAttachTypedLinkResponse& GetAttachTypedLink() const { return m_attachTypedLink; }
210 inline bool AttachTypedLinkHasBeenSet() const { return m_attachTypedLinkHasBeenSet; }
211 template<typename AttachTypedLinkT = BatchAttachTypedLinkResponse>
212 void SetAttachTypedLink(AttachTypedLinkT&& value) { m_attachTypedLinkHasBeenSet = true; m_attachTypedLink = std::forward<AttachTypedLinkT>(value); }
213 template<typename AttachTypedLinkT = BatchAttachTypedLinkResponse>
214 BatchWriteOperationResponse& WithAttachTypedLink(AttachTypedLinkT&& value) { SetAttachTypedLink(std::forward<AttachTypedLinkT>(value)); return *this;}
216
218
224 inline const BatchDetachTypedLinkResponse& GetDetachTypedLink() const { return m_detachTypedLink; }
225 inline bool DetachTypedLinkHasBeenSet() const { return m_detachTypedLinkHasBeenSet; }
226 template<typename DetachTypedLinkT = BatchDetachTypedLinkResponse>
227 void SetDetachTypedLink(DetachTypedLinkT&& value) { m_detachTypedLinkHasBeenSet = true; m_detachTypedLink = std::forward<DetachTypedLinkT>(value); }
228 template<typename DetachTypedLinkT = BatchDetachTypedLinkResponse>
229 BatchWriteOperationResponse& WithDetachTypedLink(DetachTypedLinkT&& value) { SetDetachTypedLink(std::forward<DetachTypedLinkT>(value)); return *this;}
231
233
236 inline const BatchUpdateLinkAttributesResponse& GetUpdateLinkAttributes() const { return m_updateLinkAttributes; }
237 inline bool UpdateLinkAttributesHasBeenSet() const { return m_updateLinkAttributesHasBeenSet; }
238 template<typename UpdateLinkAttributesT = BatchUpdateLinkAttributesResponse>
239 void SetUpdateLinkAttributes(UpdateLinkAttributesT&& value) { m_updateLinkAttributesHasBeenSet = true; m_updateLinkAttributes = std::forward<UpdateLinkAttributesT>(value); }
240 template<typename UpdateLinkAttributesT = BatchUpdateLinkAttributesResponse>
241 BatchWriteOperationResponse& WithUpdateLinkAttributes(UpdateLinkAttributesT&& value) { SetUpdateLinkAttributes(std::forward<UpdateLinkAttributesT>(value)); return *this;}
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 & WithAddFacetToObject(AddFacetToObjectT &&value)
const BatchDetachTypedLinkResponse & GetDetachTypedLink() const
BatchWriteOperationResponse & WithDetachFromIndex(DetachFromIndexT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchWriteOperationResponse & WithUpdateObjectAttributes(UpdateObjectAttributesT &&value)
BatchWriteOperationResponse & WithCreateIndex(CreateIndexT &&value)
const BatchUpdateLinkAttributesResponse & GetUpdateLinkAttributes() const
BatchWriteOperationResponse & WithDeleteObject(DeleteObjectT &&value)
const BatchDetachFromIndexResponse & GetDetachFromIndex() const
BatchWriteOperationResponse & WithUpdateLinkAttributes(UpdateLinkAttributesT &&value)
BatchWriteOperationResponse & WithAttachPolicy(AttachPolicyT &&value)
BatchWriteOperationResponse & WithCreateObject(CreateObjectT &&value)
BatchWriteOperationResponse & WithRemoveFacetFromObject(RemoveFacetFromObjectT &&value)
BatchWriteOperationResponse & WithAttachToIndex(AttachToIndexT &&value)
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const BatchUpdateObjectAttributesResponse & GetUpdateObjectAttributes() const
const BatchAddFacetToObjectResponse & GetAddFacetToObject() const
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse()=default
BatchWriteOperationResponse & WithDetachTypedLink(DetachTypedLinkT &&value)
const BatchAttachTypedLinkResponse & GetAttachTypedLink() const
BatchWriteOperationResponse & WithDetachObject(DetachObjectT &&value)
BatchWriteOperationResponse & WithAttachObject(AttachObjectT &&value)
const BatchRemoveFacetFromObjectResponse & GetRemoveFacetFromObject() const
BatchWriteOperationResponse & WithDetachPolicy(DetachPolicyT &&value)
BatchWriteOperationResponse & WithAttachTypedLink(AttachTypedLinkT &&value)
Aws::Utils::Json::JsonValue JsonValue