AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetSchemaMappingResult.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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/entityresolution/model/SchemaInputAttribute.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace EntityResolution
28{
29namespace Model
30{
32 {
33 public:
34 AWS_ENTITYRESOLUTION_API GetSchemaMappingResult() = default;
37
38
40
43 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
44 template<typename SchemaNameT = Aws::String>
45 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
46 template<typename SchemaNameT = Aws::String>
47 GetSchemaMappingResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
49
51
55 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
56 template<typename SchemaArnT = Aws::String>
57 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
58 template<typename SchemaArnT = Aws::String>
59 GetSchemaMappingResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 GetSchemaMappingResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
79 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
80 template<typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
81 void SetMappedInputFields(MappedInputFieldsT&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = std::forward<MappedInputFieldsT>(value); }
82 template<typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
83 GetSchemaMappingResult& WithMappedInputFields(MappedInputFieldsT&& value) { SetMappedInputFields(std::forward<MappedInputFieldsT>(value)); return *this;}
84 template<typename MappedInputFieldsT = SchemaInputAttribute>
85 GetSchemaMappingResult& AddMappedInputFields(MappedInputFieldsT&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value)); return *this; }
87
89
92 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
93 template<typename CreatedAtT = Aws::Utils::DateTime>
94 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
95 template<typename CreatedAtT = Aws::Utils::DateTime>
96 GetSchemaMappingResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
104 template<typename UpdatedAtT = Aws::Utils::DateTime>
105 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
106 template<typename UpdatedAtT = Aws::Utils::DateTime>
107 GetSchemaMappingResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
115 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
116 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
117 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 GetSchemaMappingResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
119 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
120 GetSchemaMappingResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
121 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
122 }
124
126
129 inline bool GetHasWorkflows() const { return m_hasWorkflows; }
130 inline void SetHasWorkflows(bool value) { m_hasWorkflowsHasBeenSet = true; m_hasWorkflows = value; }
131 inline GetSchemaMappingResult& WithHasWorkflows(bool value) { SetHasWorkflows(value); return *this;}
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template<typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
139 template<typename RequestIdT = Aws::String>
140 GetSchemaMappingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
142 private:
143
144 Aws::String m_schemaName;
145 bool m_schemaNameHasBeenSet = false;
146
147 Aws::String m_schemaArn;
148 bool m_schemaArnHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
153 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
154 bool m_mappedInputFieldsHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdAt{};
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::Utils::DateTime m_updatedAt{};
160 bool m_updatedAtHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164
165 bool m_hasWorkflows{false};
166 bool m_hasWorkflowsHasBeenSet = false;
167
168 Aws::String m_requestId;
169 bool m_requestIdHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace EntityResolution
174} // 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