AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchReadOperation.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchListObjectAttributes.h>
9#include <aws/clouddirectory/model/BatchListObjectChildren.h>
10#include <aws/clouddirectory/model/BatchListAttachedIndices.h>
11#include <aws/clouddirectory/model/BatchListObjectParentPaths.h>
12#include <aws/clouddirectory/model/BatchGetObjectInformation.h>
13#include <aws/clouddirectory/model/BatchGetObjectAttributes.h>
14#include <aws/clouddirectory/model/BatchListObjectParents.h>
15#include <aws/clouddirectory/model/BatchListObjectPolicies.h>
16#include <aws/clouddirectory/model/BatchListPolicyAttachments.h>
17#include <aws/clouddirectory/model/BatchLookupPolicy.h>
18#include <aws/clouddirectory/model/BatchListIndex.h>
19#include <aws/clouddirectory/model/BatchListOutgoingTypedLinks.h>
20#include <aws/clouddirectory/model/BatchListIncomingTypedLinks.h>
21#include <aws/clouddirectory/model/BatchGetLinkAttributes.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 BatchReadOperation() = default;
49 AWS_CLOUDDIRECTORY_API BatchReadOperation(Aws::Utils::Json::JsonView jsonValue);
50 AWS_CLOUDDIRECTORY_API BatchReadOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const BatchListObjectAttributes& GetListObjectAttributes() const { return m_listObjectAttributes; }
59 inline bool ListObjectAttributesHasBeenSet() const { return m_listObjectAttributesHasBeenSet; }
60 template<typename ListObjectAttributesT = BatchListObjectAttributes>
61 void SetListObjectAttributes(ListObjectAttributesT&& value) { m_listObjectAttributesHasBeenSet = true; m_listObjectAttributes = std::forward<ListObjectAttributesT>(value); }
62 template<typename ListObjectAttributesT = BatchListObjectAttributes>
63 BatchReadOperation& WithListObjectAttributes(ListObjectAttributesT&& value) { SetListObjectAttributes(std::forward<ListObjectAttributesT>(value)); return *this;}
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) { m_listObjectChildrenHasBeenSet = true; m_listObjectChildren = std::forward<ListObjectChildrenT>(value); }
75 template<typename ListObjectChildrenT = BatchListObjectChildren>
76 BatchReadOperation& WithListObjectChildren(ListObjectChildrenT&& value) { SetListObjectChildren(std::forward<ListObjectChildrenT>(value)); return *this;}
78
80
83 inline const BatchListAttachedIndices& GetListAttachedIndices() const { return m_listAttachedIndices; }
84 inline bool ListAttachedIndicesHasBeenSet() const { return m_listAttachedIndicesHasBeenSet; }
85 template<typename ListAttachedIndicesT = BatchListAttachedIndices>
86 void SetListAttachedIndices(ListAttachedIndicesT&& value) { m_listAttachedIndicesHasBeenSet = true; m_listAttachedIndices = std::forward<ListAttachedIndicesT>(value); }
87 template<typename ListAttachedIndicesT = BatchListAttachedIndices>
88 BatchReadOperation& WithListAttachedIndices(ListAttachedIndicesT&& value) { SetListAttachedIndices(std::forward<ListAttachedIndicesT>(value)); return *this;}
90
92
99 inline const BatchListObjectParentPaths& GetListObjectParentPaths() const { return m_listObjectParentPaths; }
100 inline bool ListObjectParentPathsHasBeenSet() const { return m_listObjectParentPathsHasBeenSet; }
101 template<typename ListObjectParentPathsT = BatchListObjectParentPaths>
102 void SetListObjectParentPaths(ListObjectParentPathsT&& value) { m_listObjectParentPathsHasBeenSet = true; m_listObjectParentPaths = std::forward<ListObjectParentPathsT>(value); }
103 template<typename ListObjectParentPathsT = BatchListObjectParentPaths>
104 BatchReadOperation& WithListObjectParentPaths(ListObjectParentPathsT&& value) { SetListObjectParentPaths(std::forward<ListObjectParentPathsT>(value)); return *this;}
106
108
111 inline const BatchGetObjectInformation& GetGetObjectInformation() const { return m_getObjectInformation; }
112 inline bool GetObjectInformationHasBeenSet() const { return m_getObjectInformationHasBeenSet; }
113 template<typename GetObjectInformationT = BatchGetObjectInformation>
114 void SetGetObjectInformation(GetObjectInformationT&& value) { m_getObjectInformationHasBeenSet = true; m_getObjectInformation = std::forward<GetObjectInformationT>(value); }
115 template<typename GetObjectInformationT = BatchGetObjectInformation>
116 BatchReadOperation& WithGetObjectInformation(GetObjectInformationT&& value) { SetGetObjectInformation(std::forward<GetObjectInformationT>(value)); return *this;}
118
120
123 inline const BatchGetObjectAttributes& GetGetObjectAttributes() const { return m_getObjectAttributes; }
124 inline bool GetObjectAttributesHasBeenSet() const { return m_getObjectAttributesHasBeenSet; }
125 template<typename GetObjectAttributesT = BatchGetObjectAttributes>
126 void SetGetObjectAttributes(GetObjectAttributesT&& value) { m_getObjectAttributesHasBeenSet = true; m_getObjectAttributes = std::forward<GetObjectAttributesT>(value); }
127 template<typename GetObjectAttributesT = BatchGetObjectAttributes>
128 BatchReadOperation& WithGetObjectAttributes(GetObjectAttributesT&& value) { SetGetObjectAttributes(std::forward<GetObjectAttributesT>(value)); return *this;}
130
132
136 inline const BatchListObjectParents& GetListObjectParents() const { return m_listObjectParents; }
137 inline bool ListObjectParentsHasBeenSet() const { return m_listObjectParentsHasBeenSet; }
138 template<typename ListObjectParentsT = BatchListObjectParents>
139 void SetListObjectParents(ListObjectParentsT&& value) { m_listObjectParentsHasBeenSet = true; m_listObjectParents = std::forward<ListObjectParentsT>(value); }
140 template<typename ListObjectParentsT = BatchListObjectParents>
141 BatchReadOperation& WithListObjectParents(ListObjectParentsT&& value) { SetListObjectParents(std::forward<ListObjectParentsT>(value)); return *this;}
143
145
148 inline const BatchListObjectPolicies& GetListObjectPolicies() const { return m_listObjectPolicies; }
149 inline bool ListObjectPoliciesHasBeenSet() const { return m_listObjectPoliciesHasBeenSet; }
150 template<typename ListObjectPoliciesT = BatchListObjectPolicies>
151 void SetListObjectPolicies(ListObjectPoliciesT&& value) { m_listObjectPoliciesHasBeenSet = true; m_listObjectPolicies = std::forward<ListObjectPoliciesT>(value); }
152 template<typename ListObjectPoliciesT = BatchListObjectPolicies>
153 BatchReadOperation& WithListObjectPolicies(ListObjectPoliciesT&& value) { SetListObjectPolicies(std::forward<ListObjectPoliciesT>(value)); return *this;}
155
157
161 inline const BatchListPolicyAttachments& GetListPolicyAttachments() const { return m_listPolicyAttachments; }
162 inline bool ListPolicyAttachmentsHasBeenSet() const { return m_listPolicyAttachmentsHasBeenSet; }
163 template<typename ListPolicyAttachmentsT = BatchListPolicyAttachments>
164 void SetListPolicyAttachments(ListPolicyAttachmentsT&& value) { m_listPolicyAttachmentsHasBeenSet = true; m_listPolicyAttachments = std::forward<ListPolicyAttachmentsT>(value); }
165 template<typename ListPolicyAttachmentsT = BatchListPolicyAttachments>
166 BatchReadOperation& WithListPolicyAttachments(ListPolicyAttachmentsT&& value) { SetListPolicyAttachments(std::forward<ListPolicyAttachmentsT>(value)); return *this;}
168
170
180 inline const BatchLookupPolicy& GetLookupPolicy() const { return m_lookupPolicy; }
181 inline bool LookupPolicyHasBeenSet() const { return m_lookupPolicyHasBeenSet; }
182 template<typename LookupPolicyT = BatchLookupPolicy>
183 void SetLookupPolicy(LookupPolicyT&& value) { m_lookupPolicyHasBeenSet = true; m_lookupPolicy = std::forward<LookupPolicyT>(value); }
184 template<typename LookupPolicyT = BatchLookupPolicy>
185 BatchReadOperation& WithLookupPolicy(LookupPolicyT&& value) { SetLookupPolicy(std::forward<LookupPolicyT>(value)); return *this;}
187
189
192 inline const BatchListIndex& GetListIndex() const { return m_listIndex; }
193 inline bool ListIndexHasBeenSet() const { return m_listIndexHasBeenSet; }
194 template<typename ListIndexT = BatchListIndex>
195 void SetListIndex(ListIndexT&& value) { m_listIndexHasBeenSet = true; m_listIndex = std::forward<ListIndexT>(value); }
196 template<typename ListIndexT = BatchListIndex>
197 BatchReadOperation& WithListIndex(ListIndexT&& value) { SetListIndex(std::forward<ListIndexT>(value)); return *this;}
199
201
208 inline const BatchListOutgoingTypedLinks& GetListOutgoingTypedLinks() const { return m_listOutgoingTypedLinks; }
209 inline bool ListOutgoingTypedLinksHasBeenSet() const { return m_listOutgoingTypedLinksHasBeenSet; }
210 template<typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinks>
211 void SetListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) { m_listOutgoingTypedLinksHasBeenSet = true; m_listOutgoingTypedLinks = std::forward<ListOutgoingTypedLinksT>(value); }
212 template<typename ListOutgoingTypedLinksT = BatchListOutgoingTypedLinks>
213 BatchReadOperation& WithListOutgoingTypedLinks(ListOutgoingTypedLinksT&& value) { SetListOutgoingTypedLinks(std::forward<ListOutgoingTypedLinksT>(value)); return *this;}
215
217
224 inline const BatchListIncomingTypedLinks& GetListIncomingTypedLinks() const { return m_listIncomingTypedLinks; }
225 inline bool ListIncomingTypedLinksHasBeenSet() const { return m_listIncomingTypedLinksHasBeenSet; }
226 template<typename ListIncomingTypedLinksT = BatchListIncomingTypedLinks>
227 void SetListIncomingTypedLinks(ListIncomingTypedLinksT&& value) { m_listIncomingTypedLinksHasBeenSet = true; m_listIncomingTypedLinks = std::forward<ListIncomingTypedLinksT>(value); }
228 template<typename ListIncomingTypedLinksT = BatchListIncomingTypedLinks>
229 BatchReadOperation& WithListIncomingTypedLinks(ListIncomingTypedLinksT&& value) { SetListIncomingTypedLinks(std::forward<ListIncomingTypedLinksT>(value)); return *this;}
231
233
236 inline const BatchGetLinkAttributes& GetGetLinkAttributes() const { return m_getLinkAttributes; }
237 inline bool GetLinkAttributesHasBeenSet() const { return m_getLinkAttributesHasBeenSet; }
238 template<typename GetLinkAttributesT = BatchGetLinkAttributes>
239 void SetGetLinkAttributes(GetLinkAttributesT&& value) { m_getLinkAttributesHasBeenSet = true; m_getLinkAttributes = std::forward<GetLinkAttributesT>(value); }
240 template<typename GetLinkAttributesT = BatchGetLinkAttributes>
241 BatchReadOperation& WithGetLinkAttributes(GetLinkAttributesT&& value) { SetGetLinkAttributes(std::forward<GetLinkAttributesT>(value)); return *this;}
243 private:
244
245 BatchListObjectAttributes m_listObjectAttributes;
246 bool m_listObjectAttributesHasBeenSet = false;
247
248 BatchListObjectChildren m_listObjectChildren;
249 bool m_listObjectChildrenHasBeenSet = false;
250
251 BatchListAttachedIndices m_listAttachedIndices;
252 bool m_listAttachedIndicesHasBeenSet = false;
253
254 BatchListObjectParentPaths m_listObjectParentPaths;
255 bool m_listObjectParentPathsHasBeenSet = false;
256
257 BatchGetObjectInformation m_getObjectInformation;
258 bool m_getObjectInformationHasBeenSet = false;
259
260 BatchGetObjectAttributes m_getObjectAttributes;
261 bool m_getObjectAttributesHasBeenSet = false;
262
263 BatchListObjectParents m_listObjectParents;
264 bool m_listObjectParentsHasBeenSet = false;
265
266 BatchListObjectPolicies m_listObjectPolicies;
267 bool m_listObjectPoliciesHasBeenSet = false;
268
269 BatchListPolicyAttachments m_listPolicyAttachments;
270 bool m_listPolicyAttachmentsHasBeenSet = false;
271
272 BatchLookupPolicy m_lookupPolicy;
273 bool m_lookupPolicyHasBeenSet = false;
274
275 BatchListIndex m_listIndex;
276 bool m_listIndexHasBeenSet = false;
277
278 BatchListOutgoingTypedLinks m_listOutgoingTypedLinks;
279 bool m_listOutgoingTypedLinksHasBeenSet = false;
280
281 BatchListIncomingTypedLinks m_listIncomingTypedLinks;
282 bool m_listIncomingTypedLinksHasBeenSet = false;
283
284 BatchGetLinkAttributes m_getLinkAttributes;
285 bool m_getLinkAttributesHasBeenSet = false;
286 };
287
288} // namespace Model
289} // namespace CloudDirectory
290} // 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