AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ListIntegrationItem.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 {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CustomerProfiles {
24namespace Model {
25
32 public:
33 AWS_CUSTOMERPROFILES_API ListIntegrationItem() = default;
34 AWS_CUSTOMERPROFILES_API ListIntegrationItem(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CUSTOMERPROFILES_API ListIntegrationItem& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 template <typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) {
46 m_domainNameHasBeenSet = true;
47 m_domainName = std::forward<DomainNameT>(value);
48 }
49 template <typename DomainNameT = Aws::String>
50 ListIntegrationItem& WithDomainName(DomainNameT&& value) {
51 SetDomainName(std::forward<DomainNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetUri() const { return m_uri; }
61 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
62 template <typename UriT = Aws::String>
63 void SetUri(UriT&& value) {
64 m_uriHasBeenSet = true;
65 m_uri = std::forward<UriT>(value);
66 }
67 template <typename UriT = Aws::String>
69 SetUri(std::forward<UriT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
79 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
80 template <typename ObjectTypeNameT = Aws::String>
81 void SetObjectTypeName(ObjectTypeNameT&& value) {
82 m_objectTypeNameHasBeenSet = true;
83 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
84 }
85 template <typename ObjectTypeNameT = Aws::String>
86 ListIntegrationItem& WithObjectTypeName(ObjectTypeNameT&& value) {
87 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 template <typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) {
100 m_createdAtHasBeenSet = true;
101 m_createdAt = std::forward<CreatedAtT>(value);
102 }
103 template <typename CreatedAtT = Aws::Utils::DateTime>
104 ListIntegrationItem& WithCreatedAt(CreatedAtT&& value) {
105 SetCreatedAt(std::forward<CreatedAtT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
115 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
116 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
117 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
118 m_lastUpdatedAtHasBeenSet = true;
119 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
120 }
121 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
122 ListIntegrationItem& WithLastUpdatedAt(LastUpdatedAtT&& value) {
123 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) {
136 m_tagsHasBeenSet = true;
137 m_tags = std::forward<TagsT>(value);
138 }
139 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 SetTags(std::forward<TagsT>(value));
142 return *this;
143 }
144 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
145 ListIntegrationItem& AddTags(TagsKeyT&& key, TagsValueT&& value) {
146 m_tagsHasBeenSet = true;
147 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
148 return *this;
149 }
151
153
162 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
163 inline bool ObjectTypeNamesHasBeenSet() const { return m_objectTypeNamesHasBeenSet; }
164 template <typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
165 void SetObjectTypeNames(ObjectTypeNamesT&& value) {
166 m_objectTypeNamesHasBeenSet = true;
167 m_objectTypeNames = std::forward<ObjectTypeNamesT>(value);
168 }
169 template <typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
170 ListIntegrationItem& WithObjectTypeNames(ObjectTypeNamesT&& value) {
171 SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value));
172 return *this;
173 }
174 template <typename ObjectTypeNamesKeyT = Aws::String, typename ObjectTypeNamesValueT = Aws::String>
175 ListIntegrationItem& AddObjectTypeNames(ObjectTypeNamesKeyT&& key, ObjectTypeNamesValueT&& value) {
176 m_objectTypeNamesHasBeenSet = true;
177 m_objectTypeNames.emplace(std::forward<ObjectTypeNamesKeyT>(key), std::forward<ObjectTypeNamesValueT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
187 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
188 template <typename WorkflowIdT = Aws::String>
189 void SetWorkflowId(WorkflowIdT&& value) {
190 m_workflowIdHasBeenSet = true;
191 m_workflowId = std::forward<WorkflowIdT>(value);
192 }
193 template <typename WorkflowIdT = Aws::String>
194 ListIntegrationItem& WithWorkflowId(WorkflowIdT&& value) {
195 SetWorkflowId(std::forward<WorkflowIdT>(value));
196 return *this;
197 }
199
201
206 inline bool GetIsUnstructured() const { return m_isUnstructured; }
207 inline bool IsUnstructuredHasBeenSet() const { return m_isUnstructuredHasBeenSet; }
208 inline void SetIsUnstructured(bool value) {
209 m_isUnstructuredHasBeenSet = true;
210 m_isUnstructured = value;
211 }
213 SetIsUnstructured(value);
214 return *this;
215 }
217
219
223 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
224 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
225 template <typename RoleArnT = Aws::String>
226 void SetRoleArn(RoleArnT&& value) {
227 m_roleArnHasBeenSet = true;
228 m_roleArn = std::forward<RoleArnT>(value);
229 }
230 template <typename RoleArnT = Aws::String>
231 ListIntegrationItem& WithRoleArn(RoleArnT&& value) {
232 SetRoleArn(std::forward<RoleArnT>(value));
233 return *this;
234 }
236
238
242 inline const Aws::Vector<Aws::String>& GetEventTriggerNames() const { return m_eventTriggerNames; }
243 inline bool EventTriggerNamesHasBeenSet() const { return m_eventTriggerNamesHasBeenSet; }
244 template <typename EventTriggerNamesT = Aws::Vector<Aws::String>>
245 void SetEventTriggerNames(EventTriggerNamesT&& value) {
246 m_eventTriggerNamesHasBeenSet = true;
247 m_eventTriggerNames = std::forward<EventTriggerNamesT>(value);
248 }
249 template <typename EventTriggerNamesT = Aws::Vector<Aws::String>>
250 ListIntegrationItem& WithEventTriggerNames(EventTriggerNamesT&& value) {
251 SetEventTriggerNames(std::forward<EventTriggerNamesT>(value));
252 return *this;
253 }
254 template <typename EventTriggerNamesT = Aws::String>
255 ListIntegrationItem& AddEventTriggerNames(EventTriggerNamesT&& value) {
256 m_eventTriggerNamesHasBeenSet = true;
257 m_eventTriggerNames.emplace_back(std::forward<EventTriggerNamesT>(value));
258 return *this;
259 }
261
263
266 inline Scope GetScope() const { return m_scope; }
267 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
268 inline void SetScope(Scope value) {
269 m_scopeHasBeenSet = true;
270 m_scope = value;
271 }
273 SetScope(value);
274 return *this;
275 }
277 private:
278 Aws::String m_domainName;
279
280 Aws::String m_uri;
281
282 Aws::String m_objectTypeName;
283
284 Aws::Utils::DateTime m_createdAt{};
285
286 Aws::Utils::DateTime m_lastUpdatedAt{};
287
289
290 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
291
292 Aws::String m_workflowId;
293
294 bool m_isUnstructured{false};
295
296 Aws::String m_roleArn;
297
298 Aws::Vector<Aws::String> m_eventTriggerNames;
299
300 Scope m_scope{Scope::NOT_SET};
301 bool m_domainNameHasBeenSet = false;
302 bool m_uriHasBeenSet = false;
303 bool m_objectTypeNameHasBeenSet = false;
304 bool m_createdAtHasBeenSet = false;
305 bool m_lastUpdatedAtHasBeenSet = false;
306 bool m_tagsHasBeenSet = false;
307 bool m_objectTypeNamesHasBeenSet = false;
308 bool m_workflowIdHasBeenSet = false;
309 bool m_isUnstructuredHasBeenSet = false;
310 bool m_roleArnHasBeenSet = false;
311 bool m_eventTriggerNamesHasBeenSet = false;
312 bool m_scopeHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace CustomerProfiles
317} // namespace Aws
ListIntegrationItem & WithLastUpdatedAt(LastUpdatedAtT &&value)
ListIntegrationItem & WithCreatedAt(CreatedAtT &&value)
ListIntegrationItem & WithRoleArn(RoleArnT &&value)
ListIntegrationItem & WithDomainName(DomainNameT &&value)
ListIntegrationItem & WithIsUnstructured(bool value)
ListIntegrationItem & AddObjectTypeNames(ObjectTypeNamesKeyT &&key, ObjectTypeNamesValueT &&value)
ListIntegrationItem & WithObjectTypeNames(ObjectTypeNamesT &&value)
ListIntegrationItem & AddEventTriggerNames(EventTriggerNamesT &&value)
ListIntegrationItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ListIntegrationItem & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_CUSTOMERPROFILES_API ListIntegrationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEventTriggerNames() const
void SetEventTriggerNames(EventTriggerNamesT &&value)
AWS_CUSTOMERPROFILES_API ListIntegrationItem()=default
ListIntegrationItem & WithWorkflowId(WorkflowIdT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ListIntegrationItem & WithObjectTypeName(ObjectTypeNameT &&value)
AWS_CUSTOMERPROFILES_API ListIntegrationItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetObjectTypeNames() const
ListIntegrationItem & WithEventTriggerNames(EventTriggerNamesT &&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