AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PutIntegrationResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CustomerProfiles
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CUSTOMERPROFILES_API PutIntegrationResult() = default;
36
37
39
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 template<typename DomainNameT = Aws::String>
44 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
45 template<typename DomainNameT = Aws::String>
46 PutIntegrationResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetUri() const { return m_uri; }
54 template<typename UriT = Aws::String>
55 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
56 template<typename UriT = Aws::String>
57 PutIntegrationResult& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
59
61
64 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
65 template<typename ObjectTypeNameT = Aws::String>
66 void SetObjectTypeName(ObjectTypeNameT&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::forward<ObjectTypeNameT>(value); }
67 template<typename ObjectTypeNameT = Aws::String>
68 PutIntegrationResult& WithObjectTypeName(ObjectTypeNameT&& value) { SetObjectTypeName(std::forward<ObjectTypeNameT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
76 template<typename CreatedAtT = Aws::Utils::DateTime>
77 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 PutIntegrationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
87 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
88 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
89 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
90 PutIntegrationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
98 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
100 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 PutIntegrationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
102 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
103 PutIntegrationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
104 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
105 }
107
109
118 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
119 template<typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
120 void SetObjectTypeNames(ObjectTypeNamesT&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames = std::forward<ObjectTypeNamesT>(value); }
121 template<typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
122 PutIntegrationResult& WithObjectTypeNames(ObjectTypeNamesT&& value) { SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value)); return *this;}
123 template<typename ObjectTypeNamesKeyT = Aws::String, typename ObjectTypeNamesValueT = Aws::String>
124 PutIntegrationResult& AddObjectTypeNames(ObjectTypeNamesKeyT&& key, ObjectTypeNamesValueT&& value) {
125 m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(std::forward<ObjectTypeNamesKeyT>(key), std::forward<ObjectTypeNamesValueT>(value)); return *this;
126 }
128
130
133 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
134 template<typename WorkflowIdT = Aws::String>
135 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
136 template<typename WorkflowIdT = Aws::String>
137 PutIntegrationResult& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
139
141
146 inline bool GetIsUnstructured() const { return m_isUnstructured; }
147 inline void SetIsUnstructured(bool value) { m_isUnstructuredHasBeenSet = true; m_isUnstructured = value; }
148 inline PutIntegrationResult& WithIsUnstructured(bool value) { SetIsUnstructured(value); return *this;}
150
152
156 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
157 template<typename RoleArnT = Aws::String>
158 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
159 template<typename RoleArnT = Aws::String>
160 PutIntegrationResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
162
164
169 inline const Aws::Vector<Aws::String>& GetEventTriggerNames() const { return m_eventTriggerNames; }
170 template<typename EventTriggerNamesT = Aws::Vector<Aws::String>>
171 void SetEventTriggerNames(EventTriggerNamesT&& value) { m_eventTriggerNamesHasBeenSet = true; m_eventTriggerNames = std::forward<EventTriggerNamesT>(value); }
172 template<typename EventTriggerNamesT = Aws::Vector<Aws::String>>
173 PutIntegrationResult& WithEventTriggerNames(EventTriggerNamesT&& value) { SetEventTriggerNames(std::forward<EventTriggerNamesT>(value)); return *this;}
174 template<typename EventTriggerNamesT = Aws::String>
175 PutIntegrationResult& AddEventTriggerNames(EventTriggerNamesT&& value) { m_eventTriggerNamesHasBeenSet = true; m_eventTriggerNames.emplace_back(std::forward<EventTriggerNamesT>(value)); return *this; }
177
179
180 inline const Aws::String& GetRequestId() const { return m_requestId; }
181 template<typename RequestIdT = Aws::String>
182 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
183 template<typename RequestIdT = Aws::String>
184 PutIntegrationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
186 private:
187
188 Aws::String m_domainName;
189 bool m_domainNameHasBeenSet = false;
190
191 Aws::String m_uri;
192 bool m_uriHasBeenSet = false;
193
194 Aws::String m_objectTypeName;
195 bool m_objectTypeNameHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt{};
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastUpdatedAt{};
201 bool m_lastUpdatedAtHasBeenSet = false;
202
204 bool m_tagsHasBeenSet = false;
205
206 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
207 bool m_objectTypeNamesHasBeenSet = false;
208
209 Aws::String m_workflowId;
210 bool m_workflowIdHasBeenSet = false;
211
212 bool m_isUnstructured{false};
213 bool m_isUnstructuredHasBeenSet = false;
214
215 Aws::String m_roleArn;
216 bool m_roleArnHasBeenSet = false;
217
218 Aws::Vector<Aws::String> m_eventTriggerNames;
219 bool m_eventTriggerNamesHasBeenSet = false;
220
221 Aws::String m_requestId;
222 bool m_requestIdHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace CustomerProfiles
227} // 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