AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ListIntegrationItem.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API ListIntegrationItem() = default;
38 AWS_CUSTOMERPROFILES_API ListIntegrationItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API ListIntegrationItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDomainName() const { return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 template<typename DomainNameT = Aws::String>
50 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
51 template<typename DomainNameT = Aws::String>
52 ListIntegrationItem& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetUri() const { return m_uri; }
60 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
61 template<typename UriT = Aws::String>
62 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
63 template<typename UriT = Aws::String>
64 ListIntegrationItem& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
66
68
71 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
72 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
73 template<typename ObjectTypeNameT = Aws::String>
74 void SetObjectTypeName(ObjectTypeNameT&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::forward<ObjectTypeNameT>(value); }
75 template<typename ObjectTypeNameT = Aws::String>
76 ListIntegrationItem& WithObjectTypeName(ObjectTypeNameT&& value) { SetObjectTypeName(std::forward<ObjectTypeNameT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
84 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<typename CreatedAtT = Aws::Utils::DateTime>
88 ListIntegrationItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
96 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
97 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
98 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
99 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
100 ListIntegrationItem& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
102
104
107 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
108 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
109 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
111 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 ListIntegrationItem& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
113 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
114 ListIntegrationItem& AddTags(TagsKeyT&& key, TagsValueT&& value) {
115 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
116 }
118
120
129 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
130 inline bool ObjectTypeNamesHasBeenSet() const { return m_objectTypeNamesHasBeenSet; }
131 template<typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
132 void SetObjectTypeNames(ObjectTypeNamesT&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames = std::forward<ObjectTypeNamesT>(value); }
133 template<typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
134 ListIntegrationItem& WithObjectTypeNames(ObjectTypeNamesT&& value) { SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value)); return *this;}
135 template<typename ObjectTypeNamesKeyT = Aws::String, typename ObjectTypeNamesValueT = Aws::String>
136 ListIntegrationItem& AddObjectTypeNames(ObjectTypeNamesKeyT&& key, ObjectTypeNamesValueT&& value) {
137 m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(std::forward<ObjectTypeNamesKeyT>(key), std::forward<ObjectTypeNamesValueT>(value)); return *this;
138 }
140
142
145 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
146 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
147 template<typename WorkflowIdT = Aws::String>
148 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
149 template<typename WorkflowIdT = Aws::String>
150 ListIntegrationItem& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
152
154
159 inline bool GetIsUnstructured() const { return m_isUnstructured; }
160 inline bool IsUnstructuredHasBeenSet() const { return m_isUnstructuredHasBeenSet; }
161 inline void SetIsUnstructured(bool value) { m_isUnstructuredHasBeenSet = true; m_isUnstructured = value; }
162 inline ListIntegrationItem& WithIsUnstructured(bool value) { SetIsUnstructured(value); return *this;}
164
166
170 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
171 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
172 template<typename RoleArnT = Aws::String>
173 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
174 template<typename RoleArnT = Aws::String>
175 ListIntegrationItem& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
177
179
183 inline const Aws::Vector<Aws::String>& GetEventTriggerNames() const { return m_eventTriggerNames; }
184 inline bool EventTriggerNamesHasBeenSet() const { return m_eventTriggerNamesHasBeenSet; }
185 template<typename EventTriggerNamesT = Aws::Vector<Aws::String>>
186 void SetEventTriggerNames(EventTriggerNamesT&& value) { m_eventTriggerNamesHasBeenSet = true; m_eventTriggerNames = std::forward<EventTriggerNamesT>(value); }
187 template<typename EventTriggerNamesT = Aws::Vector<Aws::String>>
188 ListIntegrationItem& WithEventTriggerNames(EventTriggerNamesT&& value) { SetEventTriggerNames(std::forward<EventTriggerNamesT>(value)); return *this;}
189 template<typename EventTriggerNamesT = Aws::String>
190 ListIntegrationItem& AddEventTriggerNames(EventTriggerNamesT&& value) { m_eventTriggerNamesHasBeenSet = true; m_eventTriggerNames.emplace_back(std::forward<EventTriggerNamesT>(value)); return *this; }
192 private:
193
194 Aws::String m_domainName;
195 bool m_domainNameHasBeenSet = false;
196
197 Aws::String m_uri;
198 bool m_uriHasBeenSet = false;
199
200 Aws::String m_objectTypeName;
201 bool m_objectTypeNameHasBeenSet = false;
202
203 Aws::Utils::DateTime m_createdAt{};
204 bool m_createdAtHasBeenSet = false;
205
206 Aws::Utils::DateTime m_lastUpdatedAt{};
207 bool m_lastUpdatedAtHasBeenSet = false;
208
210 bool m_tagsHasBeenSet = false;
211
212 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
213 bool m_objectTypeNamesHasBeenSet = false;
214
215 Aws::String m_workflowId;
216 bool m_workflowIdHasBeenSet = false;
217
218 bool m_isUnstructured{false};
219 bool m_isUnstructuredHasBeenSet = false;
220
221 Aws::String m_roleArn;
222 bool m_roleArnHasBeenSet = false;
223
224 Aws::Vector<Aws::String> m_eventTriggerNames;
225 bool m_eventTriggerNamesHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace CustomerProfiles
230} // 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