AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateIdNamespaceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
12#include <aws/entityresolution/model/IdNamespaceInputSource.h>
13#include <aws/entityresolution/model/IdNamespaceType.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 EntityResolution {
27namespace Model {
29 public:
30 AWS_ENTITYRESOLUTION_API UpdateIdNamespaceResult() = default;
33
35
38 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
39 template <typename IdNamespaceNameT = Aws::String>
40 void SetIdNamespaceName(IdNamespaceNameT&& value) {
41 m_idNamespaceNameHasBeenSet = true;
42 m_idNamespaceName = std::forward<IdNamespaceNameT>(value);
43 }
44 template <typename IdNamespaceNameT = Aws::String>
45 UpdateIdNamespaceResult& WithIdNamespaceName(IdNamespaceNameT&& value) {
46 SetIdNamespaceName(std::forward<IdNamespaceNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIdNamespaceArn() const { return m_idNamespaceArn; }
56 template <typename IdNamespaceArnT = Aws::String>
57 void SetIdNamespaceArn(IdNamespaceArnT&& value) {
58 m_idNamespaceArnHasBeenSet = true;
59 m_idNamespaceArn = std::forward<IdNamespaceArnT>(value);
60 }
61 template <typename IdNamespaceArnT = Aws::String>
62 UpdateIdNamespaceResult& WithIdNamespaceArn(IdNamespaceArnT&& value) {
63 SetIdNamespaceArn(std::forward<IdNamespaceArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
91 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
92 void SetInputSourceConfig(InputSourceConfigT&& value) {
93 m_inputSourceConfigHasBeenSet = true;
94 m_inputSourceConfig = std::forward<InputSourceConfigT>(value);
95 }
96 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
97 UpdateIdNamespaceResult& WithInputSourceConfig(InputSourceConfigT&& value) {
98 SetInputSourceConfig(std::forward<InputSourceConfigT>(value));
99 return *this;
100 }
101 template <typename InputSourceConfigT = IdNamespaceInputSource>
102 UpdateIdNamespaceResult& AddInputSourceConfig(InputSourceConfigT&& value) {
103 m_inputSourceConfigHasBeenSet = true;
104 m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value));
105 return *this;
106 }
108
110
116 return m_idMappingWorkflowProperties;
117 }
118 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
119 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
120 m_idMappingWorkflowPropertiesHasBeenSet = true;
121 m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value);
122 }
123 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
124 UpdateIdNamespaceResult& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
125 SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value));
126 return *this;
127 }
128 template <typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
129 UpdateIdNamespaceResult& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
130 m_idMappingWorkflowPropertiesHasBeenSet = true;
131 m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value));
132 return *this;
133 }
135
137
144 inline IdNamespaceType GetType() const { return m_type; }
145 inline void SetType(IdNamespaceType value) {
146 m_typeHasBeenSet = true;
147 m_type = value;
148 }
150 SetType(value);
151 return *this;
152 }
154
156
161 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
162 template <typename RoleArnT = Aws::String>
163 void SetRoleArn(RoleArnT&& value) {
164 m_roleArnHasBeenSet = true;
165 m_roleArn = std::forward<RoleArnT>(value);
166 }
167 template <typename RoleArnT = Aws::String>
169 SetRoleArn(std::forward<RoleArnT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
179 template <typename CreatedAtT = Aws::Utils::DateTime>
180 void SetCreatedAt(CreatedAtT&& value) {
181 m_createdAtHasBeenSet = true;
182 m_createdAt = std::forward<CreatedAtT>(value);
183 }
184 template <typename CreatedAtT = Aws::Utils::DateTime>
186 SetCreatedAt(std::forward<CreatedAtT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
196 template <typename UpdatedAtT = Aws::Utils::DateTime>
197 void SetUpdatedAt(UpdatedAtT&& value) {
198 m_updatedAtHasBeenSet = true;
199 m_updatedAt = std::forward<UpdatedAtT>(value);
200 }
201 template <typename UpdatedAtT = Aws::Utils::DateTime>
203 SetUpdatedAt(std::forward<UpdatedAtT>(value));
204 return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template <typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) {
213 m_requestIdHasBeenSet = true;
214 m_requestId = std::forward<RequestIdT>(value);
215 }
216 template <typename RequestIdT = Aws::String>
218 SetRequestId(std::forward<RequestIdT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_idNamespaceName;
224
225 Aws::String m_idNamespaceArn;
226
227 Aws::String m_description;
228
229 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
230
231 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
232
234
235 Aws::String m_roleArn;
236
237 Aws::Utils::DateTime m_createdAt{};
238
239 Aws::Utils::DateTime m_updatedAt{};
240
241 Aws::String m_requestId;
242 bool m_idNamespaceNameHasBeenSet = false;
243 bool m_idNamespaceArnHasBeenSet = false;
244 bool m_descriptionHasBeenSet = false;
245 bool m_inputSourceConfigHasBeenSet = false;
246 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
247 bool m_typeHasBeenSet = false;
248 bool m_roleArnHasBeenSet = false;
249 bool m_createdAtHasBeenSet = false;
250 bool m_updatedAtHasBeenSet = false;
251 bool m_requestIdHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace EntityResolution
256} // namespace Aws
AWS_ENTITYRESOLUTION_API UpdateIdNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< IdNamespaceInputSource > & GetInputSourceConfig() const
AWS_ENTITYRESOLUTION_API UpdateIdNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIdNamespaceResult & WithDescription(DescriptionT &&value)
UpdateIdNamespaceResult & WithIdNamespaceName(IdNamespaceNameT &&value)
UpdateIdNamespaceResult & AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
UpdateIdNamespaceResult & WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
AWS_ENTITYRESOLUTION_API UpdateIdNamespaceResult()=default
const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > & GetIdMappingWorkflowProperties() const
UpdateIdNamespaceResult & WithRoleArn(RoleArnT &&value)
UpdateIdNamespaceResult & WithRequestId(RequestIdT &&value)
UpdateIdNamespaceResult & AddInputSourceConfig(InputSourceConfigT &&value)
UpdateIdNamespaceResult & WithInputSourceConfig(InputSourceConfigT &&value)
UpdateIdNamespaceResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateIdNamespaceResult & WithType(IdNamespaceType value)
UpdateIdNamespaceResult & WithIdNamespaceArn(IdNamespaceArnT &&value)
UpdateIdNamespaceResult & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue