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>
35namespace CloudDirectory
61 template<
typename CreateObjectT = BatchCreateObjectResponse>
62 void SetCreateObject(CreateObjectT&& value) { m_createObjectHasBeenSet =
true; m_createObject = std::forward<CreateObjectT>(value); }
63 template<
typename CreateObjectT = BatchCreateObjectResponse>
73 template<
typename AttachObjectT = BatchAttachObjectResponse>
74 void SetAttachObject(AttachObjectT&& value) { m_attachObjectHasBeenSet =
true; m_attachObject = std::forward<AttachObjectT>(value); }
75 template<
typename AttachObjectT = BatchAttachObjectResponse>
85 template<
typename DetachObjectT = BatchDetachObjectResponse>
86 void SetDetachObject(DetachObjectT&& value) { m_detachObjectHasBeenSet =
true; m_detachObject = std::forward<DetachObjectT>(value); }
87 template<
typename DetachObjectT = BatchDetachObjectResponse>
97 template<
typename UpdateObjectAttributesT = BatchUpdateObjectAttributesResponse>
98 void SetUpdateObjectAttributes(UpdateObjectAttributesT&& value) { m_updateObjectAttributesHasBeenSet =
true; m_updateObjectAttributes = std::forward<UpdateObjectAttributesT>(value); }
99 template<
typename UpdateObjectAttributesT = BatchUpdateObjectAttributesResponse>
109 template<
typename DeleteObjectT = BatchDeleteObjectResponse>
110 void SetDeleteObject(DeleteObjectT&& value) { m_deleteObjectHasBeenSet =
true; m_deleteObject = std::forward<DeleteObjectT>(value); }
111 template<
typename DeleteObjectT = BatchDeleteObjectResponse>
121 template<
typename AddFacetToObjectT = BatchAddFacetToObjectResponse>
122 void SetAddFacetToObject(AddFacetToObjectT&& value) { m_addFacetToObjectHasBeenSet =
true; m_addFacetToObject = std::forward<AddFacetToObjectT>(value); }
123 template<
typename AddFacetToObjectT = BatchAddFacetToObjectResponse>
133 template<
typename RemoveFacetFromObjectT = BatchRemoveFacetFromObjectResponse>
134 void SetRemoveFacetFromObject(RemoveFacetFromObjectT&& value) { m_removeFacetFromObjectHasBeenSet =
true; m_removeFacetFromObject = std::forward<RemoveFacetFromObjectT>(value); }
135 template<
typename RemoveFacetFromObjectT = BatchRemoveFacetFromObjectResponse>
146 template<
typename AttachPolicyT = BatchAttachPolicyResponse>
147 void SetAttachPolicy(AttachPolicyT&& value) { m_attachPolicyHasBeenSet =
true; m_attachPolicy = std::forward<AttachPolicyT>(value); }
148 template<
typename AttachPolicyT = BatchAttachPolicyResponse>
158 template<
typename DetachPolicyT = BatchDetachPolicyResponse>
159 void SetDetachPolicy(DetachPolicyT&& value) { m_detachPolicyHasBeenSet =
true; m_detachPolicy = std::forward<DetachPolicyT>(value); }
160 template<
typename DetachPolicyT = BatchDetachPolicyResponse>
172 template<
typename CreateIndexT = BatchCreateIndexResponse>
173 void SetCreateIndex(CreateIndexT&& value) { m_createIndexHasBeenSet =
true; m_createIndex = std::forward<CreateIndexT>(value); }
174 template<
typename CreateIndexT = BatchCreateIndexResponse>
184 template<
typename AttachToIndexT = BatchAttachToIndexResponse>
185 void SetAttachToIndex(AttachToIndexT&& value) { m_attachToIndexHasBeenSet =
true; m_attachToIndex = std::forward<AttachToIndexT>(value); }
186 template<
typename AttachToIndexT = BatchAttachToIndexResponse>
196 template<
typename DetachFromIndexT = BatchDetachFromIndexResponse>
197 void SetDetachFromIndex(DetachFromIndexT&& value) { m_detachFromIndexHasBeenSet =
true; m_detachFromIndex = std::forward<DetachFromIndexT>(value); }
198 template<
typename DetachFromIndexT = BatchDetachFromIndexResponse>
211 template<
typename AttachTypedLinkT = BatchAttachTypedLinkResponse>
212 void SetAttachTypedLink(AttachTypedLinkT&& value) { m_attachTypedLinkHasBeenSet =
true; m_attachTypedLink = std::forward<AttachTypedLinkT>(value); }
213 template<
typename AttachTypedLinkT = BatchAttachTypedLinkResponse>
226 template<
typename DetachTypedLinkT = BatchDetachTypedLinkResponse>
227 void SetDetachTypedLink(DetachTypedLinkT&& value) { m_detachTypedLinkHasBeenSet =
true; m_detachTypedLink = std::forward<DetachTypedLinkT>(value); }
228 template<
typename DetachTypedLinkT = BatchDetachTypedLinkResponse>
238 template<
typename UpdateLinkAttributesT = BatchUpdateLinkAttributesResponse>
239 void SetUpdateLinkAttributes(UpdateLinkAttributesT&& value) { m_updateLinkAttributesHasBeenSet =
true; m_updateLinkAttributes = std::forward<UpdateLinkAttributesT>(value); }
240 template<
typename UpdateLinkAttributesT = BatchUpdateLinkAttributesResponse>
246 bool m_createObjectHasBeenSet =
false;
249 bool m_attachObjectHasBeenSet =
false;
252 bool m_detachObjectHasBeenSet =
false;
255 bool m_updateObjectAttributesHasBeenSet =
false;
258 bool m_deleteObjectHasBeenSet =
false;
261 bool m_addFacetToObjectHasBeenSet =
false;
264 bool m_removeFacetFromObjectHasBeenSet =
false;
267 bool m_attachPolicyHasBeenSet =
false;
270 bool m_detachPolicyHasBeenSet =
false;
273 bool m_createIndexHasBeenSet =
false;
276 bool m_attachToIndexHasBeenSet =
false;
279 bool m_detachFromIndexHasBeenSet =
false;
282 bool m_attachTypedLinkHasBeenSet =
false;
285 bool m_detachTypedLinkHasBeenSet =
false;
288 bool m_updateLinkAttributesHasBeenSet =
false;
const BatchDeleteObjectResponse & GetDeleteObject() const
bool UpdateLinkAttributesHasBeenSet() const
void SetAttachObject(AttachObjectT &&value)
bool DeleteObjectHasBeenSet() const
void SetDetachObject(DetachObjectT &&value)
void SetAttachTypedLink(AttachTypedLinkT &&value)
BatchWriteOperationResponse & WithAddFacetToObject(AddFacetToObjectT &&value)
const BatchDetachTypedLinkResponse & GetDetachTypedLink() const
bool UpdateObjectAttributesHasBeenSet() const
void SetDetachPolicy(DetachPolicyT &&value)
BatchWriteOperationResponse & WithDetachFromIndex(DetachFromIndexT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
bool AddFacetToObjectHasBeenSet() const
void SetCreateIndex(CreateIndexT &&value)
void SetAttachToIndex(AttachToIndexT &&value)
BatchWriteOperationResponse & WithUpdateObjectAttributes(UpdateObjectAttributesT &&value)
void SetAddFacetToObject(AddFacetToObjectT &&value)
const BatchAttachObjectResponse & GetAttachObject() const
const BatchCreateIndexResponse & GetCreateIndex() const
const BatchAttachToIndexResponse & GetAttachToIndex() const
void SetUpdateLinkAttributes(UpdateLinkAttributesT &&value)
BatchWriteOperationResponse & WithCreateIndex(CreateIndexT &&value)
void SetDetachFromIndex(DetachFromIndexT &&value)
void SetAttachPolicy(AttachPolicyT &&value)
const BatchUpdateLinkAttributesResponse & GetUpdateLinkAttributes() const
const BatchDetachPolicyResponse & GetDetachPolicy() const
void SetCreateObject(CreateObjectT &&value)
BatchWriteOperationResponse & WithDeleteObject(DeleteObjectT &&value)
const BatchDetachFromIndexResponse & GetDetachFromIndex() const
BatchWriteOperationResponse & WithUpdateLinkAttributes(UpdateLinkAttributesT &&value)
void SetUpdateObjectAttributes(UpdateObjectAttributesT &&value)
bool AttachObjectHasBeenSet() const
bool CreateObjectHasBeenSet() const
bool RemoveFacetFromObjectHasBeenSet() const
BatchWriteOperationResponse & WithAttachPolicy(AttachPolicyT &&value)
BatchWriteOperationResponse & WithCreateObject(CreateObjectT &&value)
const BatchDetachObjectResponse & GetDetachObject() const
BatchWriteOperationResponse & WithRemoveFacetFromObject(RemoveFacetFromObjectT &&value)
bool DetachFromIndexHasBeenSet() const
BatchWriteOperationResponse & WithAttachToIndex(AttachToIndexT &&value)
bool DetachTypedLinkHasBeenSet() const
bool DetachObjectHasBeenSet() const
bool CreateIndexHasBeenSet() const
bool AttachTypedLinkHasBeenSet() const
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse(Aws::Utils::Json::JsonView jsonValue)
const BatchCreateObjectResponse & GetCreateObject() const
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttachToIndexHasBeenSet() const
const BatchUpdateObjectAttributesResponse & GetUpdateObjectAttributes() const
void SetDeleteObject(DeleteObjectT &&value)
const BatchAddFacetToObjectResponse & GetAddFacetToObject() const
AWS_CLOUDDIRECTORY_API BatchWriteOperationResponse()=default
void SetRemoveFacetFromObject(RemoveFacetFromObjectT &&value)
BatchWriteOperationResponse & WithDetachTypedLink(DetachTypedLinkT &&value)
bool AttachPolicyHasBeenSet() const
const BatchAttachTypedLinkResponse & GetAttachTypedLink() const
BatchWriteOperationResponse & WithDetachObject(DetachObjectT &&value)
BatchWriteOperationResponse & WithAttachObject(AttachObjectT &&value)
const BatchRemoveFacetFromObjectResponse & GetRemoveFacetFromObject() const
void SetDetachTypedLink(DetachTypedLinkT &&value)
bool DetachPolicyHasBeenSet() const
BatchWriteOperationResponse & WithDetachPolicy(DetachPolicyT &&value)
const BatchAttachPolicyResponse & GetAttachPolicy() const
BatchWriteOperationResponse & WithAttachTypedLink(AttachTypedLinkT &&value)
Aws::Utils::Json::JsonValue JsonValue