AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
PutIntegrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
13#include <aws/customer-profiles/model/Scope.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CustomerProfiles {
27namespace Model {
29 public:
30 AWS_CUSTOMERPROFILES_API PutIntegrationResult() = default;
33
35
38 inline const Aws::String& GetDomainName() const { return m_domainName; }
39 template <typename DomainNameT = Aws::String>
40 void SetDomainName(DomainNameT&& value) {
41 m_domainNameHasBeenSet = true;
42 m_domainName = std::forward<DomainNameT>(value);
43 }
44 template <typename DomainNameT = Aws::String>
45 PutIntegrationResult& WithDomainName(DomainNameT&& value) {
46 SetDomainName(std::forward<DomainNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetUri() const { return m_uri; }
56 template <typename UriT = Aws::String>
57 void SetUri(UriT&& value) {
58 m_uriHasBeenSet = true;
59 m_uri = std::forward<UriT>(value);
60 }
61 template <typename UriT = Aws::String>
63 SetUri(std::forward<UriT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
73 template <typename ObjectTypeNameT = Aws::String>
74 void SetObjectTypeName(ObjectTypeNameT&& value) {
75 m_objectTypeNameHasBeenSet = true;
76 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
77 }
78 template <typename ObjectTypeNameT = Aws::String>
79 PutIntegrationResult& WithObjectTypeName(ObjectTypeNameT&& value) {
80 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
90 template <typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) {
92 m_createdAtHasBeenSet = true;
93 m_createdAt = std::forward<CreatedAtT>(value);
94 }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
96 PutIntegrationResult& WithCreatedAt(CreatedAtT&& value) {
97 SetCreatedAt(std::forward<CreatedAtT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
107 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
108 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
109 m_lastUpdatedAtHasBeenSet = true;
110 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
111 }
112 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
113 PutIntegrationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
114 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) {
126 m_tagsHasBeenSet = true;
127 m_tags = std::forward<TagsT>(value);
128 }
129 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
132 return *this;
133 }
134 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
135 PutIntegrationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
136 m_tagsHasBeenSet = true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
138 return *this;
139 }
141
143
152 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
153 template <typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
154 void SetObjectTypeNames(ObjectTypeNamesT&& value) {
155 m_objectTypeNamesHasBeenSet = true;
156 m_objectTypeNames = std::forward<ObjectTypeNamesT>(value);
157 }
158 template <typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
159 PutIntegrationResult& WithObjectTypeNames(ObjectTypeNamesT&& value) {
160 SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value));
161 return *this;
162 }
163 template <typename ObjectTypeNamesKeyT = Aws::String, typename ObjectTypeNamesValueT = Aws::String>
164 PutIntegrationResult& AddObjectTypeNames(ObjectTypeNamesKeyT&& key, ObjectTypeNamesValueT&& value) {
165 m_objectTypeNamesHasBeenSet = true;
166 m_objectTypeNames.emplace(std::forward<ObjectTypeNamesKeyT>(key), std::forward<ObjectTypeNamesValueT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
176 template <typename WorkflowIdT = Aws::String>
177 void SetWorkflowId(WorkflowIdT&& value) {
178 m_workflowIdHasBeenSet = true;
179 m_workflowId = std::forward<WorkflowIdT>(value);
180 }
181 template <typename WorkflowIdT = Aws::String>
182 PutIntegrationResult& WithWorkflowId(WorkflowIdT&& value) {
183 SetWorkflowId(std::forward<WorkflowIdT>(value));
184 return *this;
185 }
187
189
194 inline bool GetIsUnstructured() const { return m_isUnstructured; }
195 inline void SetIsUnstructured(bool value) {
196 m_isUnstructuredHasBeenSet = true;
197 m_isUnstructured = value;
198 }
200 SetIsUnstructured(value);
201 return *this;
202 }
204
206
210 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
211 template <typename RoleArnT = Aws::String>
212 void SetRoleArn(RoleArnT&& value) {
213 m_roleArnHasBeenSet = true;
214 m_roleArn = std::forward<RoleArnT>(value);
215 }
216 template <typename RoleArnT = Aws::String>
218 SetRoleArn(std::forward<RoleArnT>(value));
219 return *this;
220 }
222
224
229 inline const Aws::Vector<Aws::String>& GetEventTriggerNames() const { return m_eventTriggerNames; }
230 template <typename EventTriggerNamesT = Aws::Vector<Aws::String>>
231 void SetEventTriggerNames(EventTriggerNamesT&& value) {
232 m_eventTriggerNamesHasBeenSet = true;
233 m_eventTriggerNames = std::forward<EventTriggerNamesT>(value);
234 }
235 template <typename EventTriggerNamesT = Aws::Vector<Aws::String>>
236 PutIntegrationResult& WithEventTriggerNames(EventTriggerNamesT&& value) {
237 SetEventTriggerNames(std::forward<EventTriggerNamesT>(value));
238 return *this;
239 }
240 template <typename EventTriggerNamesT = Aws::String>
241 PutIntegrationResult& AddEventTriggerNames(EventTriggerNamesT&& value) {
242 m_eventTriggerNamesHasBeenSet = true;
243 m_eventTriggerNames.emplace_back(std::forward<EventTriggerNamesT>(value));
244 return *this;
245 }
247
249
254 inline Scope GetScope() const { return m_scope; }
255 inline void SetScope(Scope value) {
256 m_scopeHasBeenSet = true;
257 m_scope = value;
258 }
260 SetScope(value);
261 return *this;
262 }
264
266
267 inline const Aws::String& GetRequestId() const { return m_requestId; }
268 template <typename RequestIdT = Aws::String>
269 void SetRequestId(RequestIdT&& value) {
270 m_requestIdHasBeenSet = true;
271 m_requestId = std::forward<RequestIdT>(value);
272 }
273 template <typename RequestIdT = Aws::String>
274 PutIntegrationResult& WithRequestId(RequestIdT&& value) {
275 SetRequestId(std::forward<RequestIdT>(value));
276 return *this;
277 }
279 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
280
281 private:
282 Aws::String m_domainName;
283
284 Aws::String m_uri;
285
286 Aws::String m_objectTypeName;
287
288 Aws::Utils::DateTime m_createdAt{};
289
290 Aws::Utils::DateTime m_lastUpdatedAt{};
291
293
294 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
295
296 Aws::String m_workflowId;
297
298 bool m_isUnstructured{false};
299
300 Aws::String m_roleArn;
301
302 Aws::Vector<Aws::String> m_eventTriggerNames;
303
304 Scope m_scope{Scope::NOT_SET};
305
306 Aws::String m_requestId;
307 Aws::Http::HttpResponseCode m_HttpResponseCode;
308 bool m_domainNameHasBeenSet = false;
309 bool m_uriHasBeenSet = false;
310 bool m_objectTypeNameHasBeenSet = false;
311 bool m_createdAtHasBeenSet = false;
312 bool m_lastUpdatedAtHasBeenSet = false;
313 bool m_tagsHasBeenSet = false;
314 bool m_objectTypeNamesHasBeenSet = false;
315 bool m_workflowIdHasBeenSet = false;
316 bool m_isUnstructuredHasBeenSet = false;
317 bool m_roleArnHasBeenSet = false;
318 bool m_eventTriggerNamesHasBeenSet = false;
319 bool m_scopeHasBeenSet = false;
320 bool m_requestIdHasBeenSet = false;
321};
322
323} // namespace Model
324} // namespace CustomerProfiles
325} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
PutIntegrationResult & WithRoleArn(RoleArnT &&value)
PutIntegrationResult & WithWorkflowId(WorkflowIdT &&value)
AWS_CUSTOMERPROFILES_API PutIntegrationResult()=default
const Aws::Vector< Aws::String > & GetEventTriggerNames() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
PutIntegrationResult & WithDomainName(DomainNameT &&value)
PutIntegrationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
PutIntegrationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
PutIntegrationResult & WithIsUnstructured(bool value)
PutIntegrationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
PutIntegrationResult & WithObjectTypeName(ObjectTypeNameT &&value)
AWS_CUSTOMERPROFILES_API PutIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutIntegrationResult & AddEventTriggerNames(EventTriggerNamesT &&value)
PutIntegrationResult & AddObjectTypeNames(ObjectTypeNamesKeyT &&key, ObjectTypeNamesValueT &&value)
PutIntegrationResult & WithObjectTypeNames(ObjectTypeNamesT &&value)
PutIntegrationResult & WithEventTriggerNames(EventTriggerNamesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetObjectTypeNames() const
AWS_CUSTOMERPROFILES_API PutIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutIntegrationResult & WithRequestId(RequestIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue