AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetSchemaMappingResult.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/SchemaInputAttribute.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 GetSchemaMappingResult() = default;
33
35
38 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
39 template <typename SchemaNameT = Aws::String>
40 void SetSchemaName(SchemaNameT&& value) {
41 m_schemaNameHasBeenSet = true;
42 m_schemaName = std::forward<SchemaNameT>(value);
43 }
44 template <typename SchemaNameT = Aws::String>
45 GetSchemaMappingResult& WithSchemaName(SchemaNameT&& value) {
46 SetSchemaName(std::forward<SchemaNameT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
57 template <typename SchemaArnT = Aws::String>
58 void SetSchemaArn(SchemaArnT&& value) {
59 m_schemaArnHasBeenSet = true;
60 m_schemaArn = std::forward<SchemaArnT>(value);
61 }
62 template <typename SchemaArnT = Aws::String>
64 SetSchemaArn(std::forward<SchemaArnT>(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>
80 GetSchemaMappingResult& WithDescription(DescriptionT&& value) {
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
92 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
93 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
94 void SetMappedInputFields(MappedInputFieldsT&& value) {
95 m_mappedInputFieldsHasBeenSet = true;
96 m_mappedInputFields = std::forward<MappedInputFieldsT>(value);
97 }
98 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
99 GetSchemaMappingResult& WithMappedInputFields(MappedInputFieldsT&& value) {
100 SetMappedInputFields(std::forward<MappedInputFieldsT>(value));
101 return *this;
102 }
103 template <typename MappedInputFieldsT = SchemaInputAttribute>
104 GetSchemaMappingResult& AddMappedInputFields(MappedInputFieldsT&& value) {
105 m_mappedInputFieldsHasBeenSet = true;
106 m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
116 template <typename CreatedAtT = Aws::Utils::DateTime>
117 void SetCreatedAt(CreatedAtT&& value) {
118 m_createdAtHasBeenSet = true;
119 m_createdAt = std::forward<CreatedAtT>(value);
120 }
121 template <typename CreatedAtT = Aws::Utils::DateTime>
123 SetCreatedAt(std::forward<CreatedAtT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
133 template <typename UpdatedAtT = Aws::Utils::DateTime>
134 void SetUpdatedAt(UpdatedAtT&& value) {
135 m_updatedAtHasBeenSet = true;
136 m_updatedAt = std::forward<UpdatedAtT>(value);
137 }
138 template <typename UpdatedAtT = Aws::Utils::DateTime>
140 SetUpdatedAt(std::forward<UpdatedAtT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
150 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 void SetTags(TagsT&& value) {
152 m_tagsHasBeenSet = true;
153 m_tags = std::forward<TagsT>(value);
154 }
155 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
158 return *this;
159 }
160 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
161 GetSchemaMappingResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
162 m_tagsHasBeenSet = true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
164 return *this;
165 }
167
169
172 inline bool GetHasWorkflows() const { return m_hasWorkflows; }
173 inline void SetHasWorkflows(bool value) {
174 m_hasWorkflowsHasBeenSet = true;
175 m_hasWorkflows = value;
176 }
178 SetHasWorkflows(value);
179 return *this;
180 }
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
186 template <typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) {
188 m_requestIdHasBeenSet = true;
189 m_requestId = std::forward<RequestIdT>(value);
190 }
191 template <typename RequestIdT = Aws::String>
193 SetRequestId(std::forward<RequestIdT>(value));
194 return *this;
195 }
197 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
198
199 private:
200 Aws::String m_schemaName;
201
202 Aws::String m_schemaArn;
203
204 Aws::String m_description;
205
206 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
207
208 Aws::Utils::DateTime m_createdAt{};
209
210 Aws::Utils::DateTime m_updatedAt{};
211
213
214 bool m_hasWorkflows{false};
215
216 Aws::String m_requestId;
217 Aws::Http::HttpResponseCode m_HttpResponseCode;
218 bool m_schemaNameHasBeenSet = false;
219 bool m_schemaArnHasBeenSet = false;
220 bool m_descriptionHasBeenSet = false;
221 bool m_mappedInputFieldsHasBeenSet = false;
222 bool m_createdAtHasBeenSet = false;
223 bool m_updatedAtHasBeenSet = false;
224 bool m_tagsHasBeenSet = false;
225 bool m_hasWorkflowsHasBeenSet = false;
226 bool m_requestIdHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace EntityResolution
231} // namespace Aws
GetSchemaMappingResult & AddMappedInputFields(MappedInputFieldsT &&value)
GetSchemaMappingResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_ENTITYRESOLUTION_API GetSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API GetSchemaMappingResult()=default
GetSchemaMappingResult & WithSchemaName(SchemaNameT &&value)
GetSchemaMappingResult & WithCreatedAt(CreatedAtT &&value)
GetSchemaMappingResult & WithDescription(DescriptionT &&value)
GetSchemaMappingResult & WithMappedInputFields(MappedInputFieldsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
GetSchemaMappingResult & WithSchemaArn(SchemaArnT &&value)
AWS_ENTITYRESOLUTION_API GetSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaMappingResult & WithRequestId(RequestIdT &&value)
GetSchemaMappingResult & AddTags(TagsKeyT &&key, TagsValueT &&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