AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchReadSuccessfulResponse.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchListObjectAttributesResponse.h>
9#include <aws/clouddirectory/model/BatchListObjectChildrenResponse.h>
10#include <aws/clouddirectory/model/BatchGetObjectInformationResponse.h>
11#include <aws/clouddirectory/model/BatchGetObjectAttributesResponse.h>
12#include <aws/clouddirectory/model/BatchListAttachedIndicesResponse.h>
13#include <aws/clouddirectory/model/BatchListObjectParentPathsResponse.h>
14#include <aws/clouddirectory/model/BatchListObjectPoliciesResponse.h>
15#include <aws/clouddirectory/model/BatchListPolicyAttachmentsResponse.h>
16#include <aws/clouddirectory/model/BatchLookupPolicyResponse.h>
17#include <aws/clouddirectory/model/BatchListIndexResponse.h>
18#include <aws/clouddirectory/model/BatchListOutgoingTypedLinksResponse.h>
19#include <aws/clouddirectory/model/BatchListIncomingTypedLinksResponse.h>
20#include <aws/clouddirectory/model/BatchGetLinkAttributesResponse.h>
21#include <aws/clouddirectory/model/BatchListObjectParentsResponse.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace CloudDirectory
35{
36namespace Model
37{
38
46 {
47 public:
48 AWS_CLOUDDIRECTORY_API BatchReadSuccessfulResponse() = default;
51 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const BatchListObjectAttributesResponse& GetListObjectAttributes() const { return m_listObjectAttributes; }
59 inline bool ListObjectAttributesHasBeenSet() const { return m_listObjectAttributesHasBeenSet; }
60 template<typename ListObjectAttributesT = BatchListObjectAttributesResponse>
61 void SetListObjectAttributes(ListObjectAttributesT&& value) { m_listObjectAttributesHasBeenSet = true; m_listObjectAttributes = std::forward<ListObjectAttributesT>(value); }
62 template<typename ListObjectAttributesT = BatchListObjectAttributesResponse>
63 BatchReadSuccessfulResponse& WithListObjectAttributes(ListObjectAttributesT&& value) { SetListObjectAttributes(std::forward<ListObjectAttributesT>(value)); return *this;}
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) { m_listObjectChildrenHasBeenSet = true; m_listObjectChildren = std::forward<ListObjectChildrenT>(value); }
75 template<typename ListObjectChildrenT = BatchListObjectChildrenResponse>
76 BatchReadSuccessfulResponse& WithListObjectChildren(ListObjectChildrenT&& value) { SetListObjectChildren(std::forward<ListObjectChildrenT>(value)); return *this;}
78
80
83 inline const BatchGetObjectInformationResponse& GetGetObjectInformation() const { return m_getObjectInformation; }
84 inline bool GetObjectInformationHasBeenSet() const { return m_getObjectInformationHasBeenSet; }
85 template<typename GetObjectInformationT = BatchGetObjectInformationResponse>
86 void SetGetObjectInformation(GetObjectInformationT&& value) { m_getObjectInformationHasBeenSet = true; m_getObjectInformation = std::forward<GetObjectInformationT>(value); }
87 template<typename GetObjectInformationT = BatchGetObjectInformationResponse>
88 BatchReadSuccessfulResponse& WithGetObjectInformation(GetObjectInformationT&& value) { SetGetObjectInformation(std::forward<GetObjectInformationT>(value)); return *this;}
90
92
95 inline const BatchGetObjectAttributesResponse& GetGetObjectAttributes() const { return m_getObjectAttributes; }
96 inline bool GetObjectAttributesHasBeenSet() const { return m_getObjectAttributesHasBeenSet; }
97 template<typename GetObjectAttributesT = BatchGetObjectAttributesResponse>
98 void SetGetObjectAttributes(GetObjectAttributesT&& value) { m_getObjectAttributesHasBeenSet = true; m_getObjectAttributes = std::forward<GetObjectAttributesT>(value); }
99 template<typename GetObjectAttributesT = BatchGetObjectAttributesResponse>
100 BatchReadSuccessfulResponse& WithGetObjectAttributes(GetObjectAttributesT&& value) { SetGetObjectAttributes(std::forward<GetObjectAttributesT>(value)); return *this;}
102
104
107 inline const BatchListAttachedIndicesResponse& GetListAttachedIndices() const { return m_listAttachedIndices; }
108 inline bool ListAttachedIndicesHasBeenSet() const { return m_listAttachedIndicesHasBeenSet; }
109 template<typename ListAttachedIndicesT = BatchListAttachedIndicesResponse>
110 void SetListAttachedIndices(ListAttachedIndicesT&& value) { m_listAttachedIndicesHasBeenSet = true; m_listAttachedIndices = std::forward<ListAttachedIndicesT>(value); }
111 template<typename ListAttachedIndicesT = BatchListAttachedIndicesResponse>
112 BatchReadSuccessfulResponse& WithListAttachedIndices(ListAttachedIndicesT&& value) { SetListAttachedIndices(std::forward<ListAttachedIndicesT>(value)); return *this;}
114
116
123 inline const BatchListObjectParentPathsResponse& GetListObjectParentPaths() const { return m_listObjectParentPaths; }
124 inline bool ListObjectParentPathsHasBeenSet() const { return m_listObjectParentPathsHasBeenSet; }
125 template<typename ListObjectParentPathsT = BatchListObjectParentPathsResponse>
126 void SetListObjectParentPaths(ListObjectParentPathsT&& value) { m_listObjectParentPathsHasBeenSet = true; m_listObjectParentPaths = std::forward<ListObjectParentPathsT>(value); }
127 template<typename ListObjectParentPathsT = BatchListObjectParentPathsResponse>
128 BatchReadSuccessfulResponse& WithListObjectParentPaths(ListObjectParentPathsT&& value) { SetListObjectParentPaths(std::forward<ListObjectParentPathsT>(value)); return *this;}
130
132
135 inline const BatchListObjectPoliciesResponse& GetListObjectPolicies() const { return m_listObjectPolicies; }
136 inline bool ListObjectPoliciesHasBeenSet() const { return m_listObjectPoliciesHasBeenSet; }
137 template<typename ListObjectPoliciesT = BatchListObjectPoliciesResponse>
138 void SetListObjectPolicies(ListObjectPoliciesT&& value) { m_listObjectPoliciesHasBeenSet = true; m_listObjectPolicies = std::forward<ListObjectPoliciesT>(value); }
139 template<typename ListObjectPoliciesT = BatchListObjectPoliciesResponse>
140 BatchReadSuccessfulResponse& WithListObjectPolicies(ListObjectPoliciesT&& value) { SetListObjectPolicies(std::forward<ListObjectPoliciesT>(value)); return *this;}
142
144
148 inline const BatchListPolicyAttachmentsResponse& GetListPolicyAttachments() const { return m_listPolicyAttachments; }
149 inline bool ListPolicyAttachmentsHasBeenSet() const { return m_listPolicyAttachmentsHasBeenSet; }
150 template<typename ListPolicyAttachmentsT = BatchListPolicyAttachmentsResponse>
151 void SetListPolicyAttachments(ListPolicyAttachmentsT&& value) { m_listPolicyAttachmentsHasBeenSet = true; m_listPolicyAttachments = std::forward<ListPolicyAttachmentsT>(value); }
152 template<typename ListPolicyAttachmentsT = BatchListPolicyAttachmentsResponse>
153 BatchReadSuccessfulResponse& WithListPolicyAttachments(ListPolicyAttachmentsT&& value) { SetListPolicyAttachments(std::forward<ListPolicyAttachmentsT>(value)); return *this;}
155
157
167 inline const BatchLookupPolicyResponse& GetLookupPolicy() const { return m_lookupPolicy; }
168 inline bool LookupPolicyHasBeenSet() const { return m_lookupPolicyHasBeenSet; }
169 template<typename LookupPolicyT = BatchLookupPolicyResponse>
170 void SetLookupPolicy(LookupPolicyT&& value) { m_lookupPolicyHasBeenSet = true; m_lookupPolicy = std::forward<LookupPolicyT>(value); }
171 template<typename LookupPolicyT = BatchLookupPolicyResponse>
172 BatchReadSuccessfulResponse& WithLookupPolicy(LookupPolicyT&& value) { SetLookupPolicy(std::forward<LookupPolicyT>(value)); return *this;}
174
176
179 inline const BatchListIndexResponse& GetListIndex() const { return m_listIndex; }
180 inline bool ListIndexHasBeenSet() const { return m_listIndexHasBeenSet; }
181 template<typename ListIndexT = BatchListIndexResponse>
182 void SetListIndex(ListIndexT&& value) { m_listIndexHasBeenSet = true; m_listIndex = std::forward<ListIndexT>(value); }
183 template<typename ListIndexT = BatchListIndexResponse>
184 BatchReadSuccessfulResponse& WithListIndex(ListIndexT&& value) { SetListIndex(std::forward<ListIndexT>(value)); return *this;}
186
188
195 inline const BatchListOutgoingTypedLinksResponse& GetListOutgoingTypedLinks() const { return m_listOutgoingTypedLinks; }
196 inline bool ListOutgoingTypedLinksHasBeenSet() const { return m_listOutgoingTypedLinksHasBeenSet; }
197 template<typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinksResponse>
198 void SetListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) { m_listOutgoingTypedLinksHasBeenSet = true; m_listOutgoingTypedLinks = std::forward<ListOutgoingTypedLinksT>(value); }
199 template<typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinksResponse>
200 BatchReadSuccessfulResponse& WithListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) { SetListOutgoingTypedLinks(std::forward<ListOutgoingTypedLinksT>(value)); return *this;}
202
204
211 inline const BatchListIncomingTypedLinksResponse& GetListIncomingTypedLinks() const { return m_listIncomingTypedLinks; }
212 inline bool ListIncomingTypedLinksHasBeenSet() const { return m_listIncomingTypedLinksHasBeenSet; }
213 template<typename ListIncomingTypedLinksT = BatchListIncomingTypedLinksResponse>
214 void SetListIncomingTypedLinks(ListIncomingTypedLinksT&& value) { m_listIncomingTypedLinksHasBeenSet = true; m_listIncomingTypedLinks = std::forward<ListIncomingTypedLinksT>(value); }
215 template<typename ListIncomingTypedLinksT = BatchListIncomingTypedLinksResponse>
216 BatchReadSuccessfulResponse& WithListIncomingTypedLinks(ListIncomingTypedLinksT&& value) { SetListIncomingTypedLinks(std::forward<ListIncomingTypedLinksT>(value)); return *this;}
218
220
223 inline const BatchGetLinkAttributesResponse& GetGetLinkAttributes() const { return m_getLinkAttributes; }
224 inline bool GetLinkAttributesHasBeenSet() const { return m_getLinkAttributesHasBeenSet; }
225 template<typename GetLinkAttributesT = BatchGetLinkAttributesResponse>
226 void SetGetLinkAttributes(GetLinkAttributesT&& value) { m_getLinkAttributesHasBeenSet = true; m_getLinkAttributes = std::forward<GetLinkAttributesT>(value); }
227 template<typename GetLinkAttributesT = BatchGetLinkAttributesResponse>
228 BatchReadSuccessfulResponse& WithGetLinkAttributes(GetLinkAttributesT&& value) { SetGetLinkAttributes(std::forward<GetLinkAttributesT>(value)); return *this;}
230
232
235 inline const BatchListObjectParentsResponse& GetListObjectParents() const { return m_listObjectParents; }
236 inline bool ListObjectParentsHasBeenSet() const { return m_listObjectParentsHasBeenSet; }
237 template<typename ListObjectParentsT = BatchListObjectParentsResponse>
238 void SetListObjectParents(ListObjectParentsT&& value) { m_listObjectParentsHasBeenSet = true; m_listObjectParents = std::forward<ListObjectParentsT>(value); }
239 template<typename ListObjectParentsT = BatchListObjectParentsResponse>
240 BatchReadSuccessfulResponse& WithListObjectParents(ListObjectParentsT&& value) { SetListObjectParents(std::forward<ListObjectParentsT>(value)); return *this;}
242 private:
243
244 BatchListObjectAttributesResponse m_listObjectAttributes;
245 bool m_listObjectAttributesHasBeenSet = false;
246
247 BatchListObjectChildrenResponse m_listObjectChildren;
248 bool m_listObjectChildrenHasBeenSet = false;
249
250 BatchGetObjectInformationResponse m_getObjectInformation;
251 bool m_getObjectInformationHasBeenSet = false;
252
253 BatchGetObjectAttributesResponse m_getObjectAttributes;
254 bool m_getObjectAttributesHasBeenSet = false;
255
256 BatchListAttachedIndicesResponse m_listAttachedIndices;
257 bool m_listAttachedIndicesHasBeenSet = false;
258
259 BatchListObjectParentPathsResponse m_listObjectParentPaths;
260 bool m_listObjectParentPathsHasBeenSet = false;
261
262 BatchListObjectPoliciesResponse m_listObjectPolicies;
263 bool m_listObjectPoliciesHasBeenSet = false;
264
265 BatchListPolicyAttachmentsResponse m_listPolicyAttachments;
266 bool m_listPolicyAttachmentsHasBeenSet = false;
267
268 BatchLookupPolicyResponse m_lookupPolicy;
269 bool m_lookupPolicyHasBeenSet = false;
270
271 BatchListIndexResponse m_listIndex;
272 bool m_listIndexHasBeenSet = false;
273
274 BatchListOutgoingTypedLinksResponse m_listOutgoingTypedLinks;
275 bool m_listOutgoingTypedLinksHasBeenSet = false;
276
277 BatchListIncomingTypedLinksResponse m_listIncomingTypedLinks;
278 bool m_listIncomingTypedLinksHasBeenSet = false;
279
280 BatchGetLinkAttributesResponse m_getLinkAttributes;
281 bool m_getLinkAttributesHasBeenSet = false;
282
283 BatchListObjectParentsResponse m_listObjectParents;
284 bool m_listObjectParentsHasBeenSet = false;
285 };
286
287} // namespace Model
288} // namespace CloudDirectory
289} // 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