AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateIdNamespaceResult.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/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 UpdateIdNamespaceResult() = 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 UpdateIdNamespaceResult& 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 UpdateIdNamespaceResult& 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 UpdateIdNamespaceResult& WithInputSourceConfig(InputSourceConfigT&& value) {
99 SetInputSourceConfig(std::forward<InputSourceConfigT>(value));
100 return *this;
101 }
102 template <typename InputSourceConfigT = IdNamespaceInputSource>
103 UpdateIdNamespaceResult& 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 UpdateIdNamespaceResult& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
126 SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value));
127 return *this;
128 }
129 template <typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
130 UpdateIdNamespaceResult& 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
211 inline const Aws::String& GetRequestId() const { return m_requestId; }
212 template <typename RequestIdT = Aws::String>
213 void SetRequestId(RequestIdT&& value) {
214 m_requestIdHasBeenSet = true;
215 m_requestId = std::forward<RequestIdT>(value);
216 }
217 template <typename RequestIdT = Aws::String>
219 SetRequestId(std::forward<RequestIdT>(value));
220 return *this;
221 }
223 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
224
225 private:
226 Aws::String m_idNamespaceName;
227
228 Aws::String m_idNamespaceArn;
229
230 Aws::String m_description;
231
232 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
233
234 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
235
237
238 Aws::String m_roleArn;
239
240 Aws::Utils::DateTime m_createdAt{};
241
242 Aws::Utils::DateTime m_updatedAt{};
243
244 Aws::String m_requestId;
245 Aws::Http::HttpResponseCode m_HttpResponseCode;
246 bool m_idNamespaceNameHasBeenSet = false;
247 bool m_idNamespaceArnHasBeenSet = false;
248 bool m_descriptionHasBeenSet = false;
249 bool m_inputSourceConfigHasBeenSet = false;
250 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
251 bool m_typeHasBeenSet = false;
252 bool m_roleArnHasBeenSet = false;
253 bool m_createdAtHasBeenSet = false;
254 bool m_updatedAtHasBeenSet = false;
255 bool m_requestIdHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace EntityResolution
260} // 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