AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
BatchReadOperation.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchGetLinkAttributes.h>
9#include <aws/clouddirectory/model/BatchGetObjectAttributes.h>
10#include <aws/clouddirectory/model/BatchGetObjectInformation.h>
11#include <aws/clouddirectory/model/BatchListAttachedIndices.h>
12#include <aws/clouddirectory/model/BatchListIncomingTypedLinks.h>
13#include <aws/clouddirectory/model/BatchListIndex.h>
14#include <aws/clouddirectory/model/BatchListObjectAttributes.h>
15#include <aws/clouddirectory/model/BatchListObjectChildren.h>
16#include <aws/clouddirectory/model/BatchListObjectParentPaths.h>
17#include <aws/clouddirectory/model/BatchListObjectParents.h>
18#include <aws/clouddirectory/model/BatchListObjectPolicies.h>
19#include <aws/clouddirectory/model/BatchListOutgoingTypedLinks.h>
20#include <aws/clouddirectory/model/BatchListPolicyAttachments.h>
21#include <aws/clouddirectory/model/BatchLookupPolicy.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Json {
28class JsonValue;
29class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace CloudDirectory {
33namespace Model {
34
42 public:
43 AWS_CLOUDDIRECTORY_API BatchReadOperation() = default;
44 AWS_CLOUDDIRECTORY_API BatchReadOperation(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLOUDDIRECTORY_API BatchReadOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
52 inline const BatchListObjectAttributes& GetListObjectAttributes() const { return m_listObjectAttributes; }
53 inline bool ListObjectAttributesHasBeenSet() const { return m_listObjectAttributesHasBeenSet; }
54 template <typename ListObjectAttributesT = BatchListObjectAttributes>
55 void SetListObjectAttributes(ListObjectAttributesT&& value) {
56 m_listObjectAttributesHasBeenSet = true;
57 m_listObjectAttributes = std::forward<ListObjectAttributesT>(value);
58 }
59 template <typename ListObjectAttributesT = BatchListObjectAttributes>
60 BatchReadOperation& WithListObjectAttributes(ListObjectAttributesT&& value) {
61 SetListObjectAttributes(std::forward<ListObjectAttributesT>(value));
62 return *this;
63 }
65
67
71 inline const BatchListObjectChildren& GetListObjectChildren() const { return m_listObjectChildren; }
72 inline bool ListObjectChildrenHasBeenSet() const { return m_listObjectChildrenHasBeenSet; }
73 template <typename ListObjectChildrenT = BatchListObjectChildren>
74 void SetListObjectChildren(ListObjectChildrenT&& value) {
75 m_listObjectChildrenHasBeenSet = true;
76 m_listObjectChildren = std::forward<ListObjectChildrenT>(value);
77 }
78 template <typename ListObjectChildrenT = BatchListObjectChildren>
79 BatchReadOperation& WithListObjectChildren(ListObjectChildrenT&& value) {
80 SetListObjectChildren(std::forward<ListObjectChildrenT>(value));
81 return *this;
82 }
84
86
89 inline const BatchListAttachedIndices& GetListAttachedIndices() const { return m_listAttachedIndices; }
90 inline bool ListAttachedIndicesHasBeenSet() const { return m_listAttachedIndicesHasBeenSet; }
91 template <typename ListAttachedIndicesT = BatchListAttachedIndices>
92 void SetListAttachedIndices(ListAttachedIndicesT&& value) {
93 m_listAttachedIndicesHasBeenSet = true;
94 m_listAttachedIndices = std::forward<ListAttachedIndicesT>(value);
95 }
96 template <typename ListAttachedIndicesT = BatchListAttachedIndices>
97 BatchReadOperation& WithListAttachedIndices(ListAttachedIndicesT&& value) {
98 SetListAttachedIndices(std::forward<ListAttachedIndicesT>(value));
99 return *this;
100 }
102
104
111 inline const BatchListObjectParentPaths& GetListObjectParentPaths() const { return m_listObjectParentPaths; }
112 inline bool ListObjectParentPathsHasBeenSet() const { return m_listObjectParentPathsHasBeenSet; }
113 template <typename ListObjectParentPathsT = BatchListObjectParentPaths>
114 void SetListObjectParentPaths(ListObjectParentPathsT&& value) {
115 m_listObjectParentPathsHasBeenSet = true;
116 m_listObjectParentPaths = std::forward<ListObjectParentPathsT>(value);
117 }
118 template <typename ListObjectParentPathsT = BatchListObjectParentPaths>
119 BatchReadOperation& WithListObjectParentPaths(ListObjectParentPathsT&& value) {
120 SetListObjectParentPaths(std::forward<ListObjectParentPathsT>(value));
121 return *this;
122 }
124
126
129 inline const BatchGetObjectInformation& GetGetObjectInformation() const { return m_getObjectInformation; }
130 inline bool GetObjectInformationHasBeenSet() const { return m_getObjectInformationHasBeenSet; }
131 template <typename GetObjectInformationT = BatchGetObjectInformation>
132 void SetGetObjectInformation(GetObjectInformationT&& value) {
133 m_getObjectInformationHasBeenSet = true;
134 m_getObjectInformation = std::forward<GetObjectInformationT>(value);
135 }
136 template <typename GetObjectInformationT = BatchGetObjectInformation>
137 BatchReadOperation& WithGetObjectInformation(GetObjectInformationT&& value) {
138 SetGetObjectInformation(std::forward<GetObjectInformationT>(value));
139 return *this;
140 }
142
144
147 inline const BatchGetObjectAttributes& GetGetObjectAttributes() const { return m_getObjectAttributes; }
148 inline bool GetObjectAttributesHasBeenSet() const { return m_getObjectAttributesHasBeenSet; }
149 template <typename GetObjectAttributesT = BatchGetObjectAttributes>
150 void SetGetObjectAttributes(GetObjectAttributesT&& value) {
151 m_getObjectAttributesHasBeenSet = true;
152 m_getObjectAttributes = std::forward<GetObjectAttributesT>(value);
153 }
154 template <typename GetObjectAttributesT = BatchGetObjectAttributes>
155 BatchReadOperation& WithGetObjectAttributes(GetObjectAttributesT&& value) {
156 SetGetObjectAttributes(std::forward<GetObjectAttributesT>(value));
157 return *this;
158 }
160
162
166 inline const BatchListObjectParents& GetListObjectParents() const { return m_listObjectParents; }
167 inline bool ListObjectParentsHasBeenSet() const { return m_listObjectParentsHasBeenSet; }
168 template <typename ListObjectParentsT = BatchListObjectParents>
169 void SetListObjectParents(ListObjectParentsT&& value) {
170 m_listObjectParentsHasBeenSet = true;
171 m_listObjectParents = std::forward<ListObjectParentsT>(value);
172 }
173 template <typename ListObjectParentsT = BatchListObjectParents>
174 BatchReadOperation& WithListObjectParents(ListObjectParentsT&& value) {
175 SetListObjectParents(std::forward<ListObjectParentsT>(value));
176 return *this;
177 }
179
181
184 inline const BatchListObjectPolicies& GetListObjectPolicies() const { return m_listObjectPolicies; }
185 inline bool ListObjectPoliciesHasBeenSet() const { return m_listObjectPoliciesHasBeenSet; }
186 template <typename ListObjectPoliciesT = BatchListObjectPolicies>
187 void SetListObjectPolicies(ListObjectPoliciesT&& value) {
188 m_listObjectPoliciesHasBeenSet = true;
189 m_listObjectPolicies = std::forward<ListObjectPoliciesT>(value);
190 }
191 template <typename ListObjectPoliciesT = BatchListObjectPolicies>
192 BatchReadOperation& WithListObjectPolicies(ListObjectPoliciesT&& value) {
193 SetListObjectPolicies(std::forward<ListObjectPoliciesT>(value));
194 return *this;
195 }
197
199
203 inline const BatchListPolicyAttachments& GetListPolicyAttachments() const { return m_listPolicyAttachments; }
204 inline bool ListPolicyAttachmentsHasBeenSet() const { return m_listPolicyAttachmentsHasBeenSet; }
205 template <typename ListPolicyAttachmentsT = BatchListPolicyAttachments>
206 void SetListPolicyAttachments(ListPolicyAttachmentsT&& value) {
207 m_listPolicyAttachmentsHasBeenSet = true;
208 m_listPolicyAttachments = std::forward<ListPolicyAttachmentsT>(value);
209 }
210 template <typename ListPolicyAttachmentsT = BatchListPolicyAttachments>
211 BatchReadOperation& WithListPolicyAttachments(ListPolicyAttachmentsT&& value) {
212 SetListPolicyAttachments(std::forward<ListPolicyAttachmentsT>(value));
213 return *this;
214 }
216
218
228 inline const BatchLookupPolicy& GetLookupPolicy() const { return m_lookupPolicy; }
229 inline bool LookupPolicyHasBeenSet() const { return m_lookupPolicyHasBeenSet; }
230 template <typename LookupPolicyT = BatchLookupPolicy>
231 void SetLookupPolicy(LookupPolicyT&& value) {
232 m_lookupPolicyHasBeenSet = true;
233 m_lookupPolicy = std::forward<LookupPolicyT>(value);
234 }
235 template <typename LookupPolicyT = BatchLookupPolicy>
236 BatchReadOperation& WithLookupPolicy(LookupPolicyT&& value) {
237 SetLookupPolicy(std::forward<LookupPolicyT>(value));
238 return *this;
239 }
241
243
246 inline const BatchListIndex& GetListIndex() const { return m_listIndex; }
247 inline bool ListIndexHasBeenSet() const { return m_listIndexHasBeenSet; }
248 template <typename ListIndexT = BatchListIndex>
249 void SetListIndex(ListIndexT&& value) {
250 m_listIndexHasBeenSet = true;
251 m_listIndex = std::forward<ListIndexT>(value);
252 }
253 template <typename ListIndexT = BatchListIndex>
254 BatchReadOperation& WithListIndex(ListIndexT&& value) {
255 SetListIndex(std::forward<ListIndexT>(value));
256 return *this;
257 }
259
261
268 inline const BatchListOutgoingTypedLinks& GetListOutgoingTypedLinks() const { return m_listOutgoingTypedLinks; }
269 inline bool ListOutgoingTypedLinksHasBeenSet() const { return m_listOutgoingTypedLinksHasBeenSet; }
270 template <typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinks>
271 void SetListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) {
272 m_listOutgoingTypedLinksHasBeenSet = true;
273 m_listOutgoingTypedLinks = std::forward<ListOutgoingTypedLinksT>(value);
274 }
275 template <typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinks>
276 BatchReadOperation& WithListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) {
277 SetListOutgoingTypedLinks(std::forward<ListOutgoingTypedLinksT>(value));
278 return *this;
279 }
281
283
290 inline const BatchListIncomingTypedLinks& GetListIncomingTypedLinks() const { return m_listIncomingTypedLinks; }
291 inline bool ListIncomingTypedLinksHasBeenSet() const { return m_listIncomingTypedLinksHasBeenSet; }
292 template <typename ListIncomingTypedLinksT = BatchListIncomingTypedLinks>
293 void SetListIncomingTypedLinks(ListIncomingTypedLinksT&& value) {
294 m_listIncomingTypedLinksHasBeenSet = true;
295 m_listIncomingTypedLinks = std::forward<ListIncomingTypedLinksT>(value);
296 }
297 template <typename ListIncomingTypedLinksT = BatchListIncomingTypedLinks>
298 BatchReadOperation& WithListIncomingTypedLinks(ListIncomingTypedLinksT&& value) {
299 SetListIncomingTypedLinks(std::forward<ListIncomingTypedLinksT>(value));
300 return *this;
301 }
303
305
308 inline const BatchGetLinkAttributes& GetGetLinkAttributes() const { return m_getLinkAttributes; }
309 inline bool GetLinkAttributesHasBeenSet() const { return m_getLinkAttributesHasBeenSet; }
310 template <typename GetLinkAttributesT = BatchGetLinkAttributes>
311 void SetGetLinkAttributes(GetLinkAttributesT&& value) {
312 m_getLinkAttributesHasBeenSet = true;
313 m_getLinkAttributes = std::forward<GetLinkAttributesT>(value);
314 }
315 template <typename GetLinkAttributesT = BatchGetLinkAttributes>
316 BatchReadOperation& WithGetLinkAttributes(GetLinkAttributesT&& value) {
317 SetGetLinkAttributes(std::forward<GetLinkAttributesT>(value));
318 return *this;
319 }
321 private:
322 BatchListObjectAttributes m_listObjectAttributes;
323
324 BatchListObjectChildren m_listObjectChildren;
325
326 BatchListAttachedIndices m_listAttachedIndices;
327
328 BatchListObjectParentPaths m_listObjectParentPaths;
329
330 BatchGetObjectInformation m_getObjectInformation;
331
332 BatchGetObjectAttributes m_getObjectAttributes;
333
334 BatchListObjectParents m_listObjectParents;
335
336 BatchListObjectPolicies m_listObjectPolicies;
337
338 BatchListPolicyAttachments m_listPolicyAttachments;
339
340 BatchLookupPolicy m_lookupPolicy;
341
342 BatchListIndex m_listIndex;
343
344 BatchListOutgoingTypedLinks m_listOutgoingTypedLinks;
345
346 BatchListIncomingTypedLinks m_listIncomingTypedLinks;
347
348 BatchGetLinkAttributes m_getLinkAttributes;
349 bool m_listObjectAttributesHasBeenSet = false;
350 bool m_listObjectChildrenHasBeenSet = false;
351 bool m_listAttachedIndicesHasBeenSet = false;
352 bool m_listObjectParentPathsHasBeenSet = false;
353 bool m_getObjectInformationHasBeenSet = false;
354 bool m_getObjectAttributesHasBeenSet = false;
355 bool m_listObjectParentsHasBeenSet = false;
356 bool m_listObjectPoliciesHasBeenSet = false;
357 bool m_listPolicyAttachmentsHasBeenSet = false;
358 bool m_lookupPolicyHasBeenSet = false;
359 bool m_listIndexHasBeenSet = false;
360 bool m_listOutgoingTypedLinksHasBeenSet = false;
361 bool m_listIncomingTypedLinksHasBeenSet = false;
362 bool m_getLinkAttributesHasBeenSet = false;
363};
364
365} // namespace Model
366} // namespace CloudDirectory
367} // namespace Aws
BatchReadOperation & WithListPolicyAttachments(ListPolicyAttachmentsT &&value)
const BatchGetLinkAttributes & GetGetLinkAttributes() const
const BatchLookupPolicy & GetLookupPolicy() const
const BatchGetObjectInformation & GetGetObjectInformation() const
void SetListObjectParents(ListObjectParentsT &&value)
const BatchGetObjectAttributes & GetGetObjectAttributes() const
void SetListAttachedIndices(ListAttachedIndicesT &&value)
BatchReadOperation & WithListIndex(ListIndexT &&value)
const BatchListObjectAttributes & GetListObjectAttributes() const
BatchReadOperation & WithGetObjectInformation(GetObjectInformationT &&value)
void SetListObjectPolicies(ListObjectPoliciesT &&value)
const BatchListObjectParentPaths & GetListObjectParentPaths() const
BatchReadOperation & WithListIncomingTypedLinks(ListIncomingTypedLinksT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API BatchReadOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
const BatchListObjectPolicies & GetListObjectPolicies() const
BatchReadOperation & WithListAttachedIndices(ListAttachedIndicesT &&value)
BatchReadOperation & WithGetObjectAttributes(GetObjectAttributesT &&value)
void SetListObjectChildren(ListObjectChildrenT &&value)
BatchReadOperation & WithListObjectPolicies(ListObjectPoliciesT &&value)
const BatchListObjectChildren & GetListObjectChildren() const
BatchReadOperation & WithListObjectParents(ListObjectParentsT &&value)
BatchReadOperation & WithListObjectAttributes(ListObjectAttributesT &&value)
BatchReadOperation & WithLookupPolicy(LookupPolicyT &&value)
void SetListObjectAttributes(ListObjectAttributesT &&value)
void SetListObjectParentPaths(ListObjectParentPathsT &&value)
BatchReadOperation & WithGetLinkAttributes(GetLinkAttributesT &&value)
BatchReadOperation & WithListOutgoingTypedLinks(ListOutgoingTypedLinksT &&value)
void SetListOutgoingTypedLinks(ListOutgoingTypedLinksT &&value)
const BatchListIncomingTypedLinks & GetListIncomingTypedLinks() const
AWS_CLOUDDIRECTORY_API BatchReadOperation()=default
void SetGetLinkAttributes(GetLinkAttributesT &&value)
const BatchListAttachedIndices & GetListAttachedIndices() const
const BatchListOutgoingTypedLinks & GetListOutgoingTypedLinks() const
void SetGetObjectInformation(GetObjectInformationT &&value)
AWS_CLOUDDIRECTORY_API BatchReadOperation(Aws::Utils::Json::JsonView jsonValue)
void SetGetObjectAttributes(GetObjectAttributesT &&value)
void SetListIncomingTypedLinks(ListIncomingTypedLinksT &&value)
BatchReadOperation & WithListObjectChildren(ListObjectChildrenT &&value)
BatchReadOperation & WithListObjectParentPaths(ListObjectParentPathsT &&value)
const BatchListPolicyAttachments & GetListPolicyAttachments() const
void SetListPolicyAttachments(ListPolicyAttachmentsT &&value)
const BatchListObjectParents & GetListObjectParents() const
Aws::Utils::Json::JsonValue JsonValue