7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchCreateObject.h>
9#include <aws/clouddirectory/model/BatchAttachObject.h>
10#include <aws/clouddirectory/model/BatchDetachObject.h>
11#include <aws/clouddirectory/model/BatchUpdateObjectAttributes.h>
12#include <aws/clouddirectory/model/BatchDeleteObject.h>
13#include <aws/clouddirectory/model/BatchAddFacetToObject.h>
14#include <aws/clouddirectory/model/BatchRemoveFacetFromObject.h>
15#include <aws/clouddirectory/model/BatchAttachPolicy.h>
16#include <aws/clouddirectory/model/BatchDetachPolicy.h>
17#include <aws/clouddirectory/model/BatchCreateIndex.h>
18#include <aws/clouddirectory/model/BatchAttachToIndex.h>
19#include <aws/clouddirectory/model/BatchDetachFromIndex.h>
20#include <aws/clouddirectory/model/BatchAttachTypedLink.h>
21#include <aws/clouddirectory/model/BatchDetachTypedLink.h>
22#include <aws/clouddirectory/model/BatchUpdateLinkAttributes.h>
35namespace CloudDirectory
61 template<
typename CreateObjectT = BatchCreateObject>
62 void SetCreateObject(CreateObjectT&& value) { m_createObjectHasBeenSet =
true; m_createObject = std::forward<CreateObjectT>(value); }
63 template<
typename CreateObjectT = BatchCreateObject>
73 template<
typename AttachObjectT = BatchAttachObject>
74 void SetAttachObject(AttachObjectT&& value) { m_attachObjectHasBeenSet =
true; m_attachObject = std::forward<AttachObjectT>(value); }
75 template<
typename AttachObjectT = BatchAttachObject>
85 template<
typename DetachObjectT = BatchDetachObject>
86 void SetDetachObject(DetachObjectT&& value) { m_detachObjectHasBeenSet =
true; m_detachObject = std::forward<DetachObjectT>(value); }
87 template<
typename DetachObjectT = BatchDetachObject>
97 template<
typename UpdateObjectAttributesT = BatchUpdateObjectAttributes>
98 void SetUpdateObjectAttributes(UpdateObjectAttributesT&& value) { m_updateObjectAttributesHasBeenSet =
true; m_updateObjectAttributes = std::forward<UpdateObjectAttributesT>(value); }
99 template<
typename UpdateObjectAttributesT = BatchUpdateObjectAttributes>
109 template<
typename DeleteObjectT = BatchDeleteObject>
110 void SetDeleteObject(DeleteObjectT&& value) { m_deleteObjectHasBeenSet =
true; m_deleteObject = std::forward<DeleteObjectT>(value); }
111 template<
typename DeleteObjectT = BatchDeleteObject>
121 template<
typename AddFacetToObjectT = BatchAddFacetToObject>
122 void SetAddFacetToObject(AddFacetToObjectT&& value) { m_addFacetToObjectHasBeenSet =
true; m_addFacetToObject = std::forward<AddFacetToObjectT>(value); }
123 template<
typename AddFacetToObjectT = BatchAddFacetToObject>
133 template<
typename RemoveFacetFromObjectT = BatchRemoveFacetFromObject>
134 void SetRemoveFacetFromObject(RemoveFacetFromObjectT&& value) { m_removeFacetFromObjectHasBeenSet =
true; m_removeFacetFromObject = std::forward<RemoveFacetFromObjectT>(value); }
135 template<
typename RemoveFacetFromObjectT = BatchRemoveFacetFromObject>
146 template<
typename AttachPolicyT = BatchAttachPolicy>
147 void SetAttachPolicy(AttachPolicyT&& value) { m_attachPolicyHasBeenSet =
true; m_attachPolicy = std::forward<AttachPolicyT>(value); }
148 template<
typename AttachPolicyT = BatchAttachPolicy>
158 template<
typename DetachPolicyT = BatchDetachPolicy>
159 void SetDetachPolicy(DetachPolicyT&& value) { m_detachPolicyHasBeenSet =
true; m_detachPolicy = std::forward<DetachPolicyT>(value); }
160 template<
typename DetachPolicyT = BatchDetachPolicy>
172 template<
typename CreateIndexT = BatchCreateIndex>
173 void SetCreateIndex(CreateIndexT&& value) { m_createIndexHasBeenSet =
true; m_createIndex = std::forward<CreateIndexT>(value); }
174 template<
typename CreateIndexT = BatchCreateIndex>
184 template<
typename AttachToIndexT = BatchAttachToIndex>
185 void SetAttachToIndex(AttachToIndexT&& value) { m_attachToIndexHasBeenSet =
true; m_attachToIndex = std::forward<AttachToIndexT>(value); }
186 template<
typename AttachToIndexT = BatchAttachToIndex>
196 template<
typename DetachFromIndexT = BatchDetachFromIndex>
197 void SetDetachFromIndex(DetachFromIndexT&& value) { m_detachFromIndexHasBeenSet =
true; m_detachFromIndex = std::forward<DetachFromIndexT>(value); }
198 template<
typename DetachFromIndexT = BatchDetachFromIndex>
211 template<
typename AttachTypedLinkT = BatchAttachTypedLink>
212 void SetAttachTypedLink(AttachTypedLinkT&& value) { m_attachTypedLinkHasBeenSet =
true; m_attachTypedLink = std::forward<AttachTypedLinkT>(value); }
213 template<
typename AttachTypedLinkT = BatchAttachTypedLink>
226 template<
typename DetachTypedLinkT = BatchDetachTypedLink>
227 void SetDetachTypedLink(DetachTypedLinkT&& value) { m_detachTypedLinkHasBeenSet =
true; m_detachTypedLink = std::forward<DetachTypedLinkT>(value); }
228 template<
typename DetachTypedLinkT = BatchDetachTypedLink>
238 template<
typename UpdateLinkAttributesT = BatchUpdateLinkAttributes>
239 void SetUpdateLinkAttributes(UpdateLinkAttributesT&& value) { m_updateLinkAttributesHasBeenSet =
true; m_updateLinkAttributes = std::forward<UpdateLinkAttributesT>(value); }
240 template<
typename UpdateLinkAttributesT = BatchUpdateLinkAttributes>
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;
void SetDetachPolicy(DetachPolicyT &&value)
BatchWriteOperation & WithCreateIndex(CreateIndexT &&value)
bool CreateIndexHasBeenSet() const
const BatchDetachObject & GetDetachObject() const
const BatchAttachObject & GetAttachObject() const
const BatchDetachFromIndex & GetDetachFromIndex() const
BatchWriteOperation & WithUpdateObjectAttributes(UpdateObjectAttributesT &&value)
BatchWriteOperation & WithAttachPolicy(AttachPolicyT &&value)
void SetAttachTypedLink(AttachTypedLinkT &&value)
void SetDetachObject(DetachObjectT &&value)
const BatchAttachTypedLink & GetAttachTypedLink() const
BatchWriteOperation & WithDetachFromIndex(DetachFromIndexT &&value)
bool RemoveFacetFromObjectHasBeenSet() const
bool AddFacetToObjectHasBeenSet() const
BatchWriteOperation & WithAttachObject(AttachObjectT &&value)
bool DetachPolicyHasBeenSet() const
bool DetachFromIndexHasBeenSet() const
bool UpdateObjectAttributesHasBeenSet() const
bool DetachObjectHasBeenSet() const
void SetUpdateLinkAttributes(UpdateLinkAttributesT &&value)
void SetCreateObject(CreateObjectT &&value)
void SetCreateIndex(CreateIndexT &&value)
BatchWriteOperation & WithCreateObject(CreateObjectT &&value)
void SetAttachObject(AttachObjectT &&value)
BatchWriteOperation & WithAttachTypedLink(AttachTypedLinkT &&value)
bool DeleteObjectHasBeenSet() const
void SetRemoveFacetFromObject(RemoveFacetFromObjectT &&value)
BatchWriteOperation & WithDetachObject(DetachObjectT &&value)
AWS_CLOUDDIRECTORY_API BatchWriteOperation(Aws::Utils::Json::JsonView jsonValue)
const BatchCreateIndex & GetCreateIndex() const
void SetAttachPolicy(AttachPolicyT &&value)
void SetAttachToIndex(AttachToIndexT &&value)
BatchWriteOperation & WithUpdateLinkAttributes(UpdateLinkAttributesT &&value)
void SetDetachFromIndex(DetachFromIndexT &&value)
const BatchRemoveFacetFromObject & GetRemoveFacetFromObject() const
void SetUpdateObjectAttributes(UpdateObjectAttributesT &&value)
BatchWriteOperation & WithAttachToIndex(AttachToIndexT &&value)
const BatchDeleteObject & GetDeleteObject() const
AWS_CLOUDDIRECTORY_API BatchWriteOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
const BatchUpdateLinkAttributes & GetUpdateLinkAttributes() const
const BatchAttachToIndex & GetAttachToIndex() const
void SetDeleteObject(DeleteObjectT &&value)
BatchWriteOperation & WithDetachPolicy(DetachPolicyT &&value)
AWS_CLOUDDIRECTORY_API BatchWriteOperation()=default
bool CreateObjectHasBeenSet() const
BatchWriteOperation & WithAddFacetToObject(AddFacetToObjectT &&value)
BatchWriteOperation & WithDeleteObject(DeleteObjectT &&value)
bool AttachToIndexHasBeenSet() const
const BatchAttachPolicy & GetAttachPolicy() const
void SetAddFacetToObject(AddFacetToObjectT &&value)
const BatchCreateObject & GetCreateObject() const
bool DetachTypedLinkHasBeenSet() const
const BatchAddFacetToObject & GetAddFacetToObject() const
BatchWriteOperation & WithRemoveFacetFromObject(RemoveFacetFromObjectT &&value)
BatchWriteOperation & WithDetachTypedLink(DetachTypedLinkT &&value)
const BatchDetachTypedLink & GetDetachTypedLink() const
bool UpdateLinkAttributesHasBeenSet() const
const BatchUpdateObjectAttributes & GetUpdateObjectAttributes() const
bool AttachTypedLinkHasBeenSet() const
bool AttachPolicyHasBeenSet() const
bool AttachObjectHasBeenSet() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDetachTypedLink(DetachTypedLinkT &&value)
const BatchDetachPolicy & GetDetachPolicy() const
Aws::Utils::Json::JsonValue JsonValue