AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
GetSchemaMappingResult.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/SchemaInputAttribute.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EntityResolution {
26namespace Model {
28 public:
29 AWS_ENTITYRESOLUTION_API GetSchemaMappingResult() = default;
32
34
37 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
38 template <typename SchemaNameT = Aws::String>
39 void SetSchemaName(SchemaNameT&& value) {
40 m_schemaNameHasBeenSet = true;
41 m_schemaName = std::forward<SchemaNameT>(value);
42 }
43 template <typename SchemaNameT = Aws::String>
44 GetSchemaMappingResult& WithSchemaName(SchemaNameT&& value) {
45 SetSchemaName(std::forward<SchemaNameT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
56 template <typename SchemaArnT = Aws::String>
57 void SetSchemaArn(SchemaArnT&& value) {
58 m_schemaArnHasBeenSet = true;
59 m_schemaArn = std::forward<SchemaArnT>(value);
60 }
61 template <typename SchemaArnT = Aws::String>
63 SetSchemaArn(std::forward<SchemaArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
79 GetSchemaMappingResult& WithDescription(DescriptionT&& value) {
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
91 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
92 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
93 void SetMappedInputFields(MappedInputFieldsT&& value) {
94 m_mappedInputFieldsHasBeenSet = true;
95 m_mappedInputFields = std::forward<MappedInputFieldsT>(value);
96 }
97 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
98 GetSchemaMappingResult& WithMappedInputFields(MappedInputFieldsT&& value) {
99 SetMappedInputFields(std::forward<MappedInputFieldsT>(value));
100 return *this;
101 }
102 template <typename MappedInputFieldsT = SchemaInputAttribute>
103 GetSchemaMappingResult& AddMappedInputFields(MappedInputFieldsT&& value) {
104 m_mappedInputFieldsHasBeenSet = true;
105 m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
115 template <typename CreatedAtT = Aws::Utils::DateTime>
116 void SetCreatedAt(CreatedAtT&& value) {
117 m_createdAtHasBeenSet = true;
118 m_createdAt = std::forward<CreatedAtT>(value);
119 }
120 template <typename CreatedAtT = Aws::Utils::DateTime>
122 SetCreatedAt(std::forward<CreatedAtT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
132 template <typename UpdatedAtT = Aws::Utils::DateTime>
133 void SetUpdatedAt(UpdatedAtT&& value) {
134 m_updatedAtHasBeenSet = true;
135 m_updatedAt = std::forward<UpdatedAtT>(value);
136 }
137 template <typename UpdatedAtT = Aws::Utils::DateTime>
139 SetUpdatedAt(std::forward<UpdatedAtT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
149 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetTags(TagsT&& value) {
151 m_tagsHasBeenSet = true;
152 m_tags = std::forward<TagsT>(value);
153 }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 SetTags(std::forward<TagsT>(value));
157 return *this;
158 }
159 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
160 GetSchemaMappingResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
161 m_tagsHasBeenSet = true;
162 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
163 return *this;
164 }
166
168
171 inline bool GetHasWorkflows() const { return m_hasWorkflows; }
172 inline void SetHasWorkflows(bool value) {
173 m_hasWorkflowsHasBeenSet = true;
174 m_hasWorkflows = value;
175 }
177 SetHasWorkflows(value);
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_schemaName;
198
199 Aws::String m_schemaArn;
200
201 Aws::String m_description;
202
203 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
204
205 Aws::Utils::DateTime m_createdAt{};
206
207 Aws::Utils::DateTime m_updatedAt{};
208
210
211 bool m_hasWorkflows{false};
212
213 Aws::String m_requestId;
214 bool m_schemaNameHasBeenSet = false;
215 bool m_schemaArnHasBeenSet = false;
216 bool m_descriptionHasBeenSet = false;
217 bool m_mappedInputFieldsHasBeenSet = false;
218 bool m_createdAtHasBeenSet = false;
219 bool m_updatedAtHasBeenSet = false;
220 bool m_tagsHasBeenSet = false;
221 bool m_hasWorkflowsHasBeenSet = false;
222 bool m_requestIdHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace EntityResolution
227} // 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