AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
PutIntegrationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
12#include <aws/customer-profiles/model/Scope.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CustomerProfiles {
26namespace Model {
28 public:
29 AWS_CUSTOMERPROFILES_API PutIntegrationResult() = default;
32
34
37 inline const Aws::String& GetDomainName() const { return m_domainName; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
44 PutIntegrationResult& WithDomainName(DomainNameT&& value) {
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUri() const { return m_uri; }
55 template <typename UriT = Aws::String>
56 void SetUri(UriT&& value) {
57 m_uriHasBeenSet = true;
58 m_uri = std::forward<UriT>(value);
59 }
60 template <typename UriT = Aws::String>
62 SetUri(std::forward<UriT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
72 template <typename ObjectTypeNameT = Aws::String>
73 void SetObjectTypeName(ObjectTypeNameT&& value) {
74 m_objectTypeNameHasBeenSet = true;
75 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
76 }
77 template <typename ObjectTypeNameT = Aws::String>
78 PutIntegrationResult& WithObjectTypeName(ObjectTypeNameT&& value) {
79 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
89 template <typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) {
91 m_createdAtHasBeenSet = true;
92 m_createdAt = std::forward<CreatedAtT>(value);
93 }
94 template <typename CreatedAtT = Aws::Utils::DateTime>
95 PutIntegrationResult& WithCreatedAt(CreatedAtT&& value) {
96 SetCreatedAt(std::forward<CreatedAtT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
106 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
107 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
108 m_lastUpdatedAtHasBeenSet = true;
109 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
110 }
111 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
112 PutIntegrationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
113 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
123 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) {
125 m_tagsHasBeenSet = true;
126 m_tags = std::forward<TagsT>(value);
127 }
128 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 SetTags(std::forward<TagsT>(value));
131 return *this;
132 }
133 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
134 PutIntegrationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
135 m_tagsHasBeenSet = true;
136 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
137 return *this;
138 }
140
142
151 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
152 template <typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
153 void SetObjectTypeNames(ObjectTypeNamesT&& value) {
154 m_objectTypeNamesHasBeenSet = true;
155 m_objectTypeNames = std::forward<ObjectTypeNamesT>(value);
156 }
157 template <typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
158 PutIntegrationResult& WithObjectTypeNames(ObjectTypeNamesT&& value) {
159 SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value));
160 return *this;
161 }
162 template <typename ObjectTypeNamesKeyT = Aws::String, typename ObjectTypeNamesValueT = Aws::String>
163 PutIntegrationResult& AddObjectTypeNames(ObjectTypeNamesKeyT&& key, ObjectTypeNamesValueT&& value) {
164 m_objectTypeNamesHasBeenSet = true;
165 m_objectTypeNames.emplace(std::forward<ObjectTypeNamesKeyT>(key), std::forward<ObjectTypeNamesValueT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
175 template <typename WorkflowIdT = Aws::String>
176 void SetWorkflowId(WorkflowIdT&& value) {
177 m_workflowIdHasBeenSet = true;
178 m_workflowId = std::forward<WorkflowIdT>(value);
179 }
180 template <typename WorkflowIdT = Aws::String>
181 PutIntegrationResult& WithWorkflowId(WorkflowIdT&& value) {
182 SetWorkflowId(std::forward<WorkflowIdT>(value));
183 return *this;
184 }
186
188
193 inline bool GetIsUnstructured() const { return m_isUnstructured; }
194 inline void SetIsUnstructured(bool value) {
195 m_isUnstructuredHasBeenSet = true;
196 m_isUnstructured = value;
197 }
199 SetIsUnstructured(value);
200 return *this;
201 }
203
205
209 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
210 template <typename RoleArnT = Aws::String>
211 void SetRoleArn(RoleArnT&& value) {
212 m_roleArnHasBeenSet = true;
213 m_roleArn = std::forward<RoleArnT>(value);
214 }
215 template <typename RoleArnT = Aws::String>
217 SetRoleArn(std::forward<RoleArnT>(value));
218 return *this;
219 }
221
223
228 inline const Aws::Vector<Aws::String>& GetEventTriggerNames() const { return m_eventTriggerNames; }
229 template <typename EventTriggerNamesT = Aws::Vector<Aws::String>>
230 void SetEventTriggerNames(EventTriggerNamesT&& value) {
231 m_eventTriggerNamesHasBeenSet = true;
232 m_eventTriggerNames = std::forward<EventTriggerNamesT>(value);
233 }
234 template <typename EventTriggerNamesT = Aws::Vector<Aws::String>>
235 PutIntegrationResult& WithEventTriggerNames(EventTriggerNamesT&& value) {
236 SetEventTriggerNames(std::forward<EventTriggerNamesT>(value));
237 return *this;
238 }
239 template <typename EventTriggerNamesT = Aws::String>
240 PutIntegrationResult& AddEventTriggerNames(EventTriggerNamesT&& value) {
241 m_eventTriggerNamesHasBeenSet = true;
242 m_eventTriggerNames.emplace_back(std::forward<EventTriggerNamesT>(value));
243 return *this;
244 }
246
248
253 inline Scope GetScope() const { return m_scope; }
254 inline void SetScope(Scope value) {
255 m_scopeHasBeenSet = true;
256 m_scope = value;
257 }
259 SetScope(value);
260 return *this;
261 }
263
265
266 inline const Aws::String& GetRequestId() const { return m_requestId; }
267 template <typename RequestIdT = Aws::String>
268 void SetRequestId(RequestIdT&& value) {
269 m_requestIdHasBeenSet = true;
270 m_requestId = std::forward<RequestIdT>(value);
271 }
272 template <typename RequestIdT = Aws::String>
273 PutIntegrationResult& WithRequestId(RequestIdT&& value) {
274 SetRequestId(std::forward<RequestIdT>(value));
275 return *this;
276 }
278 private:
279 Aws::String m_domainName;
280
281 Aws::String m_uri;
282
283 Aws::String m_objectTypeName;
284
285 Aws::Utils::DateTime m_createdAt{};
286
287 Aws::Utils::DateTime m_lastUpdatedAt{};
288
290
291 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
292
293 Aws::String m_workflowId;
294
295 bool m_isUnstructured{false};
296
297 Aws::String m_roleArn;
298
299 Aws::Vector<Aws::String> m_eventTriggerNames;
300
301 Scope m_scope{Scope::NOT_SET};
302
303 Aws::String m_requestId;
304 bool m_domainNameHasBeenSet = false;
305 bool m_uriHasBeenSet = false;
306 bool m_objectTypeNameHasBeenSet = false;
307 bool m_createdAtHasBeenSet = false;
308 bool m_lastUpdatedAtHasBeenSet = false;
309 bool m_tagsHasBeenSet = false;
310 bool m_objectTypeNamesHasBeenSet = false;
311 bool m_workflowIdHasBeenSet = false;
312 bool m_isUnstructuredHasBeenSet = false;
313 bool m_roleArnHasBeenSet = false;
314 bool m_eventTriggerNamesHasBeenSet = false;
315 bool m_scopeHasBeenSet = false;
316 bool m_requestIdHasBeenSet = false;
317};
318
319} // namespace Model
320} // namespace CustomerProfiles
321} // 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
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