AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIdNamespaceResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/model/IdNamespaceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/entityresolution/model/IdNamespaceInputSource.h>
14#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace EntityResolution
30{
31namespace Model
32{
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API CreateIdNamespaceResult() = default;
39
40
42
45 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
46 template<typename IdNamespaceNameT = Aws::String>
47 void SetIdNamespaceName(IdNamespaceNameT&& value) { m_idNamespaceNameHasBeenSet = true; m_idNamespaceName = std::forward<IdNamespaceNameT>(value); }
48 template<typename IdNamespaceNameT = Aws::String>
49 CreateIdNamespaceResult& WithIdNamespaceName(IdNamespaceNameT&& value) { SetIdNamespaceName(std::forward<IdNamespaceNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetIdNamespaceArn() const { return m_idNamespaceArn; }
57 template<typename IdNamespaceArnT = Aws::String>
58 void SetIdNamespaceArn(IdNamespaceArnT&& value) { m_idNamespaceArnHasBeenSet = true; m_idNamespaceArn = std::forward<IdNamespaceArnT>(value); }
59 template<typename IdNamespaceArnT = Aws::String>
60 CreateIdNamespaceResult& WithIdNamespaceArn(IdNamespaceArnT&& value) { SetIdNamespaceArn(std::forward<IdNamespaceArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 CreateIdNamespaceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
79 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
80 template<typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
81 void SetInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = std::forward<InputSourceConfigT>(value); }
82 template<typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
83 CreateIdNamespaceResult& WithInputSourceConfig(InputSourceConfigT&& value) { SetInputSourceConfig(std::forward<InputSourceConfigT>(value)); return *this;}
84 template<typename InputSourceConfigT = IdNamespaceInputSource>
85 CreateIdNamespaceResult& AddInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value)); return *this; }
87
89
94 inline const Aws::Vector<IdNamespaceIdMappingWorkflowProperties>& GetIdMappingWorkflowProperties() const { return m_idMappingWorkflowProperties; }
95 template<typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
96 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value); }
97 template<typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
98 CreateIdNamespaceResult& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value)); return *this;}
99 template<typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
100 CreateIdNamespaceResult& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value)); return *this; }
102
104
111 inline IdNamespaceType GetType() const { return m_type; }
112 inline void SetType(IdNamespaceType value) { m_typeHasBeenSet = true; m_type = value; }
113 inline CreateIdNamespaceResult& WithType(IdNamespaceType value) { SetType(value); return *this;}
115
117
122 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
123 template<typename RoleArnT = Aws::String>
124 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
125 template<typename RoleArnT = Aws::String>
126 CreateIdNamespaceResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
134 template<typename CreatedAtT = Aws::Utils::DateTime>
135 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
136 template<typename CreatedAtT = Aws::Utils::DateTime>
137 CreateIdNamespaceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
145 template<typename UpdatedAtT = Aws::Utils::DateTime>
146 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
147 template<typename UpdatedAtT = Aws::Utils::DateTime>
148 CreateIdNamespaceResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
156 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
158 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 CreateIdNamespaceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
160 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
161 CreateIdNamespaceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
162 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
163 }
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template<typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
171 template<typename RequestIdT = Aws::String>
172 CreateIdNamespaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
174 private:
175
176 Aws::String m_idNamespaceName;
177 bool m_idNamespaceNameHasBeenSet = false;
178
179 Aws::String m_idNamespaceArn;
180 bool m_idNamespaceArnHasBeenSet = false;
181
182 Aws::String m_description;
183 bool m_descriptionHasBeenSet = false;
184
185 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
186 bool m_inputSourceConfigHasBeenSet = false;
187
188 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
189 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
190
192 bool m_typeHasBeenSet = false;
193
194 Aws::String m_roleArn;
195 bool m_roleArnHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt{};
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::Utils::DateTime m_updatedAt{};
201 bool m_updatedAtHasBeenSet = false;
202
204 bool m_tagsHasBeenSet = false;
205
206 Aws::String m_requestId;
207 bool m_requestIdHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace EntityResolution
212} // 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