AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
BatchReadSuccessfulResponse.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchGetLinkAttributesResponse.h>
9#include <aws/clouddirectory/model/BatchGetObjectAttributesResponse.h>
10#include <aws/clouddirectory/model/BatchGetObjectInformationResponse.h>
11#include <aws/clouddirectory/model/BatchListAttachedIndicesResponse.h>
12#include <aws/clouddirectory/model/BatchListIncomingTypedLinksResponse.h>
13#include <aws/clouddirectory/model/BatchListIndexResponse.h>
14#include <aws/clouddirectory/model/BatchListObjectAttributesResponse.h>
15#include <aws/clouddirectory/model/BatchListObjectChildrenResponse.h>
16#include <aws/clouddirectory/model/BatchListObjectParentPathsResponse.h>
17#include <aws/clouddirectory/model/BatchListObjectParentsResponse.h>
18#include <aws/clouddirectory/model/BatchListObjectPoliciesResponse.h>
19#include <aws/clouddirectory/model/BatchListOutgoingTypedLinksResponse.h>
20#include <aws/clouddirectory/model/BatchListPolicyAttachmentsResponse.h>
21#include <aws/clouddirectory/model/BatchLookupPolicyResponse.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 BatchReadSuccessfulResponse() = default;
46 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
52 inline const BatchListObjectAttributesResponse& GetListObjectAttributes() const { return m_listObjectAttributes; }
53 inline bool ListObjectAttributesHasBeenSet() const { return m_listObjectAttributesHasBeenSet; }
54 template <typename ListObjectAttributesT = BatchListObjectAttributesResponse>
55 void SetListObjectAttributes(ListObjectAttributesT&& value) {
56 m_listObjectAttributesHasBeenSet = true;
57 m_listObjectAttributes = std::forward<ListObjectAttributesT>(value);
58 }
59 template <typename ListObjectAttributesT = BatchListObjectAttributesResponse>
60 BatchReadSuccessfulResponse& WithListObjectAttributes(ListObjectAttributesT&& value) {
61 SetListObjectAttributes(std::forward<ListObjectAttributesT>(value));
62 return *this;
63 }
65
67
71 inline const BatchListObjectChildrenResponse& GetListObjectChildren() const { return m_listObjectChildren; }
72 inline bool ListObjectChildrenHasBeenSet() const { return m_listObjectChildrenHasBeenSet; }
73 template <typename ListObjectChildrenT = BatchListObjectChildrenResponse>
74 void SetListObjectChildren(ListObjectChildrenT&& value) {
75 m_listObjectChildrenHasBeenSet = true;
76 m_listObjectChildren = std::forward<ListObjectChildrenT>(value);
77 }
78 template <typename ListObjectChildrenT = BatchListObjectChildrenResponse>
80 SetListObjectChildren(std::forward<ListObjectChildrenT>(value));
81 return *this;
82 }
84
86
89 inline const BatchGetObjectInformationResponse& GetGetObjectInformation() const { return m_getObjectInformation; }
90 inline bool GetObjectInformationHasBeenSet() const { return m_getObjectInformationHasBeenSet; }
91 template <typename GetObjectInformationT = BatchGetObjectInformationResponse>
92 void SetGetObjectInformation(GetObjectInformationT&& value) {
93 m_getObjectInformationHasBeenSet = true;
94 m_getObjectInformation = std::forward<GetObjectInformationT>(value);
95 }
96 template <typename GetObjectInformationT = BatchGetObjectInformationResponse>
97 BatchReadSuccessfulResponse& WithGetObjectInformation(GetObjectInformationT&& value) {
98 SetGetObjectInformation(std::forward<GetObjectInformationT>(value));
99 return *this;
100 }
102
104
107 inline const BatchGetObjectAttributesResponse& GetGetObjectAttributes() const { return m_getObjectAttributes; }
108 inline bool GetObjectAttributesHasBeenSet() const { return m_getObjectAttributesHasBeenSet; }
109 template <typename GetObjectAttributesT = BatchGetObjectAttributesResponse>
110 void SetGetObjectAttributes(GetObjectAttributesT&& value) {
111 m_getObjectAttributesHasBeenSet = true;
112 m_getObjectAttributes = std::forward<GetObjectAttributesT>(value);
113 }
114 template <typename GetObjectAttributesT = BatchGetObjectAttributesResponse>
116 SetGetObjectAttributes(std::forward<GetObjectAttributesT>(value));
117 return *this;
118 }
120
122
125 inline const BatchListAttachedIndicesResponse& GetListAttachedIndices() const { return m_listAttachedIndices; }
126 inline bool ListAttachedIndicesHasBeenSet() const { return m_listAttachedIndicesHasBeenSet; }
127 template <typename ListAttachedIndicesT = BatchListAttachedIndicesResponse>
128 void SetListAttachedIndices(ListAttachedIndicesT&& value) {
129 m_listAttachedIndicesHasBeenSet = true;
130 m_listAttachedIndices = std::forward<ListAttachedIndicesT>(value);
131 }
132 template <typename ListAttachedIndicesT = BatchListAttachedIndicesResponse>
134 SetListAttachedIndices(std::forward<ListAttachedIndicesT>(value));
135 return *this;
136 }
138
140
147 inline const BatchListObjectParentPathsResponse& GetListObjectParentPaths() const { return m_listObjectParentPaths; }
148 inline bool ListObjectParentPathsHasBeenSet() const { return m_listObjectParentPathsHasBeenSet; }
149 template <typename ListObjectParentPathsT = BatchListObjectParentPathsResponse>
150 void SetListObjectParentPaths(ListObjectParentPathsT&& value) {
151 m_listObjectParentPathsHasBeenSet = true;
152 m_listObjectParentPaths = std::forward<ListObjectParentPathsT>(value);
153 }
154 template <typename ListObjectParentPathsT = BatchListObjectParentPathsResponse>
156 SetListObjectParentPaths(std::forward<ListObjectParentPathsT>(value));
157 return *this;
158 }
160
162
165 inline const BatchListObjectPoliciesResponse& GetListObjectPolicies() const { return m_listObjectPolicies; }
166 inline bool ListObjectPoliciesHasBeenSet() const { return m_listObjectPoliciesHasBeenSet; }
167 template <typename ListObjectPoliciesT = BatchListObjectPoliciesResponse>
168 void SetListObjectPolicies(ListObjectPoliciesT&& value) {
169 m_listObjectPoliciesHasBeenSet = true;
170 m_listObjectPolicies = std::forward<ListObjectPoliciesT>(value);
171 }
172 template <typename ListObjectPoliciesT = BatchListObjectPoliciesResponse>
174 SetListObjectPolicies(std::forward<ListObjectPoliciesT>(value));
175 return *this;
176 }
178
180
184 inline const BatchListPolicyAttachmentsResponse& GetListPolicyAttachments() const { return m_listPolicyAttachments; }
185 inline bool ListPolicyAttachmentsHasBeenSet() const { return m_listPolicyAttachmentsHasBeenSet; }
186 template <typename ListPolicyAttachmentsT = BatchListPolicyAttachmentsResponse>
187 void SetListPolicyAttachments(ListPolicyAttachmentsT&& value) {
188 m_listPolicyAttachmentsHasBeenSet = true;
189 m_listPolicyAttachments = std::forward<ListPolicyAttachmentsT>(value);
190 }
191 template <typename ListPolicyAttachmentsT = BatchListPolicyAttachmentsResponse>
193 SetListPolicyAttachments(std::forward<ListPolicyAttachmentsT>(value));
194 return *this;
195 }
197
199
209 inline const BatchLookupPolicyResponse& GetLookupPolicy() const { return m_lookupPolicy; }
210 inline bool LookupPolicyHasBeenSet() const { return m_lookupPolicyHasBeenSet; }
211 template <typename LookupPolicyT = BatchLookupPolicyResponse>
212 void SetLookupPolicy(LookupPolicyT&& value) {
213 m_lookupPolicyHasBeenSet = true;
214 m_lookupPolicy = std::forward<LookupPolicyT>(value);
215 }
216 template <typename LookupPolicyT = BatchLookupPolicyResponse>
218 SetLookupPolicy(std::forward<LookupPolicyT>(value));
219 return *this;
220 }
222
224
227 inline const BatchListIndexResponse& GetListIndex() const { return m_listIndex; }
228 inline bool ListIndexHasBeenSet() const { return m_listIndexHasBeenSet; }
229 template <typename ListIndexT = BatchListIndexResponse>
230 void SetListIndex(ListIndexT&& value) {
231 m_listIndexHasBeenSet = true;
232 m_listIndex = std::forward<ListIndexT>(value);
233 }
234 template <typename ListIndexT = BatchListIndexResponse>
236 SetListIndex(std::forward<ListIndexT>(value));
237 return *this;
238 }
240
242
249 inline const BatchListOutgoingTypedLinksResponse& GetListOutgoingTypedLinks() const { return m_listOutgoingTypedLinks; }
250 inline bool ListOutgoingTypedLinksHasBeenSet() const { return m_listOutgoingTypedLinksHasBeenSet; }
251 template <typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinksResponse>
252 void SetListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) {
253 m_listOutgoingTypedLinksHasBeenSet = true;
254 m_listOutgoingTypedLinks = std::forward<ListOutgoingTypedLinksT>(value);
255 }
256 template <typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinksResponse>
257 BatchReadSuccessfulResponse& WithListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) {
258 SetListOutgoingTypedLinks(std::forward<ListOutgoingTypedLinksT>(value));
259 return *this;
260 }
262
264
271 inline const BatchListIncomingTypedLinksResponse& GetListIncomingTypedLinks() const { return m_listIncomingTypedLinks; }
272 inline bool ListIncomingTypedLinksHasBeenSet() const { return m_listIncomingTypedLinksHasBeenSet; }
273 template <typename ListIncomingTypedLinksT = BatchListIncomingTypedLinksResponse>
274 void SetListIncomingTypedLinks(ListIncomingTypedLinksT&& value) {
275 m_listIncomingTypedLinksHasBeenSet = true;
276 m_listIncomingTypedLinks = std::forward<ListIncomingTypedLinksT>(value);
277 }
278 template <typename ListIncomingTypedLinksT = BatchListIncomingTypedLinksResponse>
279 BatchReadSuccessfulResponse& WithListIncomingTypedLinks(ListIncomingTypedLinksT&& value) {
280 SetListIncomingTypedLinks(std::forward<ListIncomingTypedLinksT>(value));
281 return *this;
282 }
284
286
289 inline const BatchGetLinkAttributesResponse& GetGetLinkAttributes() const { return m_getLinkAttributes; }
290 inline bool GetLinkAttributesHasBeenSet() const { return m_getLinkAttributesHasBeenSet; }
291 template <typename GetLinkAttributesT = BatchGetLinkAttributesResponse>
292 void SetGetLinkAttributes(GetLinkAttributesT&& value) {
293 m_getLinkAttributesHasBeenSet = true;
294 m_getLinkAttributes = std::forward<GetLinkAttributesT>(value);
295 }
296 template <typename GetLinkAttributesT = BatchGetLinkAttributesResponse>
298 SetGetLinkAttributes(std::forward<GetLinkAttributesT>(value));
299 return *this;
300 }
302
304
307 inline const BatchListObjectParentsResponse& GetListObjectParents() const { return m_listObjectParents; }
308 inline bool ListObjectParentsHasBeenSet() const { return m_listObjectParentsHasBeenSet; }
309 template <typename ListObjectParentsT = BatchListObjectParentsResponse>
310 void SetListObjectParents(ListObjectParentsT&& value) {
311 m_listObjectParentsHasBeenSet = true;
312 m_listObjectParents = std::forward<ListObjectParentsT>(value);
313 }
314 template <typename ListObjectParentsT = BatchListObjectParentsResponse>
316 SetListObjectParents(std::forward<ListObjectParentsT>(value));
317 return *this;
318 }
320 private:
321 BatchListObjectAttributesResponse m_listObjectAttributes;
322
323 BatchListObjectChildrenResponse m_listObjectChildren;
324
325 BatchGetObjectInformationResponse m_getObjectInformation;
326
327 BatchGetObjectAttributesResponse m_getObjectAttributes;
328
329 BatchListAttachedIndicesResponse m_listAttachedIndices;
330
331 BatchListObjectParentPathsResponse m_listObjectParentPaths;
332
333 BatchListObjectPoliciesResponse m_listObjectPolicies;
334
335 BatchListPolicyAttachmentsResponse m_listPolicyAttachments;
336
337 BatchLookupPolicyResponse m_lookupPolicy;
338
339 BatchListIndexResponse m_listIndex;
340
341 BatchListOutgoingTypedLinksResponse m_listOutgoingTypedLinks;
342
343 BatchListIncomingTypedLinksResponse m_listIncomingTypedLinks;
344
345 BatchGetLinkAttributesResponse m_getLinkAttributes;
346
347 BatchListObjectParentsResponse m_listObjectParents;
348 bool m_listObjectAttributesHasBeenSet = false;
349 bool m_listObjectChildrenHasBeenSet = false;
350 bool m_getObjectInformationHasBeenSet = false;
351 bool m_getObjectAttributesHasBeenSet = false;
352 bool m_listAttachedIndicesHasBeenSet = false;
353 bool m_listObjectParentPathsHasBeenSet = false;
354 bool m_listObjectPoliciesHasBeenSet = false;
355 bool m_listPolicyAttachmentsHasBeenSet = false;
356 bool m_lookupPolicyHasBeenSet = false;
357 bool m_listIndexHasBeenSet = false;
358 bool m_listOutgoingTypedLinksHasBeenSet = false;
359 bool m_listIncomingTypedLinksHasBeenSet = false;
360 bool m_getLinkAttributesHasBeenSet = false;
361 bool m_listObjectParentsHasBeenSet = false;
362};
363
364} // namespace Model
365} // namespace CloudDirectory
366} // namespace Aws
BatchReadSuccessfulResponse & WithListObjectChildren(ListObjectChildrenT &&value)
const BatchGetLinkAttributesResponse & GetGetLinkAttributes() const
BatchReadSuccessfulResponse & WithListObjectParents(ListObjectParentsT &&value)
BatchReadSuccessfulResponse & WithLookupPolicy(LookupPolicyT &&value)
const BatchListObjectPoliciesResponse & GetListObjectPolicies() const
BatchReadSuccessfulResponse & WithListObjectPolicies(ListObjectPoliciesT &&value)
BatchReadSuccessfulResponse & WithGetLinkAttributes(GetLinkAttributesT &&value)
BatchReadSuccessfulResponse & WithListIncomingTypedLinks(ListIncomingTypedLinksT &&value)
const BatchListPolicyAttachmentsResponse & GetListPolicyAttachments() const
const BatchListOutgoingTypedLinksResponse & GetListOutgoingTypedLinks() const
const BatchListObjectParentPathsResponse & GetListObjectParentPaths() const
AWS_CLOUDDIRECTORY_API BatchReadSuccessfulResponse()=default
BatchReadSuccessfulResponse & WithGetObjectInformation(GetObjectInformationT &&value)
AWS_CLOUDDIRECTORY_API BatchReadSuccessfulResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const BatchListObjectParentsResponse & GetListObjectParents() const
BatchReadSuccessfulResponse & WithListAttachedIndices(ListAttachedIndicesT &&value)
BatchReadSuccessfulResponse & WithListPolicyAttachments(ListPolicyAttachmentsT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchReadSuccessfulResponse & WithGetObjectAttributes(GetObjectAttributesT &&value)
BatchReadSuccessfulResponse & WithListObjectParentPaths(ListObjectParentPathsT &&value)
BatchReadSuccessfulResponse & WithListObjectAttributes(ListObjectAttributesT &&value)
const BatchGetObjectAttributesResponse & GetGetObjectAttributes() const
const BatchListAttachedIndicesResponse & GetListAttachedIndices() const
const BatchListIncomingTypedLinksResponse & GetListIncomingTypedLinks() const
const BatchListObjectAttributesResponse & GetListObjectAttributes() const
BatchReadSuccessfulResponse & WithListIndex(ListIndexT &&value)
AWS_CLOUDDIRECTORY_API BatchReadSuccessfulResponse(Aws::Utils::Json::JsonView jsonValue)
BatchReadSuccessfulResponse & WithListOutgoingTypedLinks(ListOutgoingTypedLinksT &&value)
const BatchGetObjectInformationResponse & GetGetObjectInformation() const
const BatchListObjectChildrenResponse & GetListObjectChildren() const
Aws::Utils::Json::JsonValue JsonValue