AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateIdNamespaceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/entityresolution/EntityResolution_EXPORTS.h>
13#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
14#include <aws/entityresolution/model/IdNamespaceInputSource.h>
15#include <aws/entityresolution/model/IdNamespaceType.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace EntityResolution {
29namespace Model {
31 public:
32 AWS_ENTITYRESOLUTION_API CreateIdNamespaceResult() = default;
35
37
40 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
41 template <typename IdNamespaceNameT = Aws::String>
42 void SetIdNamespaceName(IdNamespaceNameT&& value) {
43 m_idNamespaceNameHasBeenSet = true;
44 m_idNamespaceName = std::forward<IdNamespaceNameT>(value);
45 }
46 template <typename IdNamespaceNameT = Aws::String>
47 CreateIdNamespaceResult& WithIdNamespaceName(IdNamespaceNameT&& value) {
48 SetIdNamespaceName(std::forward<IdNamespaceNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIdNamespaceArn() const { return m_idNamespaceArn; }
58 template <typename IdNamespaceArnT = Aws::String>
59 void SetIdNamespaceArn(IdNamespaceArnT&& value) {
60 m_idNamespaceArnHasBeenSet = true;
61 m_idNamespaceArn = std::forward<IdNamespaceArnT>(value);
62 }
63 template <typename IdNamespaceArnT = Aws::String>
64 CreateIdNamespaceResult& WithIdNamespaceArn(IdNamespaceArnT&& value) {
65 SetIdNamespaceArn(std::forward<IdNamespaceArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
93 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
94 void SetInputSourceConfig(InputSourceConfigT&& value) {
95 m_inputSourceConfigHasBeenSet = true;
96 m_inputSourceConfig = std::forward<InputSourceConfigT>(value);
97 }
98 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
99 CreateIdNamespaceResult& WithInputSourceConfig(InputSourceConfigT&& value) {
100 SetInputSourceConfig(std::forward<InputSourceConfigT>(value));
101 return *this;
102 }
103 template <typename InputSourceConfigT = IdNamespaceInputSource>
104 CreateIdNamespaceResult& AddInputSourceConfig(InputSourceConfigT&& value) {
105 m_inputSourceConfigHasBeenSet = true;
106 m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value));
107 return *this;
108 }
110
112
118 return m_idMappingWorkflowProperties;
119 }
120 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
121 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
122 m_idMappingWorkflowPropertiesHasBeenSet = true;
123 m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value);
124 }
125 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
126 CreateIdNamespaceResult& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
127 SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value));
128 return *this;
129 }
130 template <typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
131 CreateIdNamespaceResult& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
132 m_idMappingWorkflowPropertiesHasBeenSet = true;
133 m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value));
134 return *this;
135 }
137
139
146 inline IdNamespaceType GetType() const { return m_type; }
147 inline void SetType(IdNamespaceType value) {
148 m_typeHasBeenSet = true;
149 m_type = value;
150 }
152 SetType(value);
153 return *this;
154 }
156
158
163 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
164 template <typename RoleArnT = Aws::String>
165 void SetRoleArn(RoleArnT&& value) {
166 m_roleArnHasBeenSet = true;
167 m_roleArn = std::forward<RoleArnT>(value);
168 }
169 template <typename RoleArnT = Aws::String>
171 SetRoleArn(std::forward<RoleArnT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
181 template <typename CreatedAtT = Aws::Utils::DateTime>
182 void SetCreatedAt(CreatedAtT&& value) {
183 m_createdAtHasBeenSet = true;
184 m_createdAt = std::forward<CreatedAtT>(value);
185 }
186 template <typename CreatedAtT = Aws::Utils::DateTime>
188 SetCreatedAt(std::forward<CreatedAtT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
198 template <typename UpdatedAtT = Aws::Utils::DateTime>
199 void SetUpdatedAt(UpdatedAtT&& value) {
200 m_updatedAtHasBeenSet = true;
201 m_updatedAt = std::forward<UpdatedAtT>(value);
202 }
203 template <typename UpdatedAtT = Aws::Utils::DateTime>
205 SetUpdatedAt(std::forward<UpdatedAtT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
215 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 void SetTags(TagsT&& value) {
217 m_tagsHasBeenSet = true;
218 m_tags = std::forward<TagsT>(value);
219 }
220 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
222 SetTags(std::forward<TagsT>(value));
223 return *this;
224 }
225 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
226 CreateIdNamespaceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
227 m_tagsHasBeenSet = true;
228 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
229 return *this;
230 }
232
234
235 inline const Aws::String& GetRequestId() const { return m_requestId; }
236 template <typename RequestIdT = Aws::String>
237 void SetRequestId(RequestIdT&& value) {
238 m_requestIdHasBeenSet = true;
239 m_requestId = std::forward<RequestIdT>(value);
240 }
241 template <typename RequestIdT = Aws::String>
243 SetRequestId(std::forward<RequestIdT>(value));
244 return *this;
245 }
247 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
248
249 private:
250 Aws::String m_idNamespaceName;
251
252 Aws::String m_idNamespaceArn;
253
254 Aws::String m_description;
255
256 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
257
258 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
259
261
262 Aws::String m_roleArn;
263
264 Aws::Utils::DateTime m_createdAt{};
265
266 Aws::Utils::DateTime m_updatedAt{};
267
269
270 Aws::String m_requestId;
271 Aws::Http::HttpResponseCode m_HttpResponseCode;
272 bool m_idNamespaceNameHasBeenSet = false;
273 bool m_idNamespaceArnHasBeenSet = false;
274 bool m_descriptionHasBeenSet = false;
275 bool m_inputSourceConfigHasBeenSet = false;
276 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
277 bool m_typeHasBeenSet = false;
278 bool m_roleArnHasBeenSet = false;
279 bool m_createdAtHasBeenSet = false;
280 bool m_updatedAtHasBeenSet = false;
281 bool m_tagsHasBeenSet = false;
282 bool m_requestIdHasBeenSet = false;
283};
284
285} // namespace Model
286} // namespace EntityResolution
287} // namespace Aws
AWS_ENTITYRESOLUTION_API CreateIdNamespaceResult()=default
CreateIdNamespaceResult & WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
const Aws::Vector< IdNamespaceInputSource > & GetInputSourceConfig() const
CreateIdNamespaceResult & AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
AWS_ENTITYRESOLUTION_API CreateIdNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIdNamespaceResult & WithType(IdNamespaceType value)
CreateIdNamespaceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateIdNamespaceResult & WithRoleArn(RoleArnT &&value)
CreateIdNamespaceResult & WithCreatedAt(CreatedAtT &&value)
CreateIdNamespaceResult & WithInputSourceConfig(InputSourceConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > & GetIdMappingWorkflowProperties() const
CreateIdNamespaceResult & WithDescription(DescriptionT &&value)
CreateIdNamespaceResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_ENTITYRESOLUTION_API CreateIdNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
CreateIdNamespaceResult & AddInputSourceConfig(InputSourceConfigT &&value)
CreateIdNamespaceResult & WithIdNamespaceName(IdNamespaceNameT &&value)
CreateIdNamespaceResult & WithRequestId(RequestIdT &&value)
CreateIdNamespaceResult & WithIdNamespaceArn(IdNamespaceArnT &&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