AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
CreateIdNamespaceResult.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/entityresolution/EntityResolution_EXPORTS.h>
12#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
13#include <aws/entityresolution/model/IdNamespaceInputSource.h>
14#include <aws/entityresolution/model/IdNamespaceType.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace EntityResolution {
28namespace Model {
30 public:
31 AWS_ENTITYRESOLUTION_API CreateIdNamespaceResult() = default;
34
36
39 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
40 template <typename IdNamespaceNameT = Aws::String>
41 void SetIdNamespaceName(IdNamespaceNameT&& value) {
42 m_idNamespaceNameHasBeenSet = true;
43 m_idNamespaceName = std::forward<IdNamespaceNameT>(value);
44 }
45 template <typename IdNamespaceNameT = Aws::String>
46 CreateIdNamespaceResult& WithIdNamespaceName(IdNamespaceNameT&& value) {
47 SetIdNamespaceName(std::forward<IdNamespaceNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIdNamespaceArn() const { return m_idNamespaceArn; }
57 template <typename IdNamespaceArnT = Aws::String>
58 void SetIdNamespaceArn(IdNamespaceArnT&& value) {
59 m_idNamespaceArnHasBeenSet = true;
60 m_idNamespaceArn = std::forward<IdNamespaceArnT>(value);
61 }
62 template <typename IdNamespaceArnT = Aws::String>
63 CreateIdNamespaceResult& WithIdNamespaceArn(IdNamespaceArnT&& value) {
64 SetIdNamespaceArn(std::forward<IdNamespaceArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
92 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
93 void SetInputSourceConfig(InputSourceConfigT&& value) {
94 m_inputSourceConfigHasBeenSet = true;
95 m_inputSourceConfig = std::forward<InputSourceConfigT>(value);
96 }
97 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
98 CreateIdNamespaceResult& WithInputSourceConfig(InputSourceConfigT&& value) {
99 SetInputSourceConfig(std::forward<InputSourceConfigT>(value));
100 return *this;
101 }
102 template <typename InputSourceConfigT = IdNamespaceInputSource>
103 CreateIdNamespaceResult& AddInputSourceConfig(InputSourceConfigT&& value) {
104 m_inputSourceConfigHasBeenSet = true;
105 m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value));
106 return *this;
107 }
109
111
117 return m_idMappingWorkflowProperties;
118 }
119 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
120 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
121 m_idMappingWorkflowPropertiesHasBeenSet = true;
122 m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value);
123 }
124 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
125 CreateIdNamespaceResult& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
126 SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value));
127 return *this;
128 }
129 template <typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
130 CreateIdNamespaceResult& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
131 m_idMappingWorkflowPropertiesHasBeenSet = true;
132 m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value));
133 return *this;
134 }
136
138
145 inline IdNamespaceType GetType() const { return m_type; }
146 inline void SetType(IdNamespaceType value) {
147 m_typeHasBeenSet = true;
148 m_type = value;
149 }
151 SetType(value);
152 return *this;
153 }
155
157
162 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
163 template <typename RoleArnT = Aws::String>
164 void SetRoleArn(RoleArnT&& value) {
165 m_roleArnHasBeenSet = true;
166 m_roleArn = std::forward<RoleArnT>(value);
167 }
168 template <typename RoleArnT = Aws::String>
170 SetRoleArn(std::forward<RoleArnT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
180 template <typename CreatedAtT = Aws::Utils::DateTime>
181 void SetCreatedAt(CreatedAtT&& value) {
182 m_createdAtHasBeenSet = true;
183 m_createdAt = std::forward<CreatedAtT>(value);
184 }
185 template <typename CreatedAtT = Aws::Utils::DateTime>
187 SetCreatedAt(std::forward<CreatedAtT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
197 template <typename UpdatedAtT = Aws::Utils::DateTime>
198 void SetUpdatedAt(UpdatedAtT&& value) {
199 m_updatedAtHasBeenSet = true;
200 m_updatedAt = std::forward<UpdatedAtT>(value);
201 }
202 template <typename UpdatedAtT = Aws::Utils::DateTime>
204 SetUpdatedAt(std::forward<UpdatedAtT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
214 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 void SetTags(TagsT&& value) {
216 m_tagsHasBeenSet = true;
217 m_tags = std::forward<TagsT>(value);
218 }
219 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
221 SetTags(std::forward<TagsT>(value));
222 return *this;
223 }
224 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
225 CreateIdNamespaceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
226 m_tagsHasBeenSet = true;
227 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
228 return *this;
229 }
231
233
234 inline const Aws::String& GetRequestId() const { return m_requestId; }
235 template <typename RequestIdT = Aws::String>
236 void SetRequestId(RequestIdT&& value) {
237 m_requestIdHasBeenSet = true;
238 m_requestId = std::forward<RequestIdT>(value);
239 }
240 template <typename RequestIdT = Aws::String>
242 SetRequestId(std::forward<RequestIdT>(value));
243 return *this;
244 }
246 private:
247 Aws::String m_idNamespaceName;
248
249 Aws::String m_idNamespaceArn;
250
251 Aws::String m_description;
252
253 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
254
255 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
256
258
259 Aws::String m_roleArn;
260
261 Aws::Utils::DateTime m_createdAt{};
262
263 Aws::Utils::DateTime m_updatedAt{};
264
266
267 Aws::String m_requestId;
268 bool m_idNamespaceNameHasBeenSet = false;
269 bool m_idNamespaceArnHasBeenSet = false;
270 bool m_descriptionHasBeenSet = false;
271 bool m_inputSourceConfigHasBeenSet = false;
272 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
273 bool m_typeHasBeenSet = false;
274 bool m_roleArnHasBeenSet = false;
275 bool m_createdAtHasBeenSet = false;
276 bool m_updatedAtHasBeenSet = false;
277 bool m_tagsHasBeenSet = false;
278 bool m_requestIdHasBeenSet = false;
279};
280
281} // namespace Model
282} // namespace EntityResolution
283} // 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