AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateSchemaMappingResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11#include <aws/entityresolution/model/SchemaInputAttribute.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EntityResolution {
25namespace Model {
27 public:
28 AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult() = default;
31
33
36 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
37 template <typename SchemaNameT = Aws::String>
38 void SetSchemaName(SchemaNameT&& value) {
39 m_schemaNameHasBeenSet = true;
40 m_schemaName = std::forward<SchemaNameT>(value);
41 }
42 template <typename SchemaNameT = Aws::String>
44 SetSchemaName(std::forward<SchemaNameT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
55 template <typename SchemaArnT = Aws::String>
56 void SetSchemaArn(SchemaArnT&& value) {
57 m_schemaArnHasBeenSet = true;
58 m_schemaArn = std::forward<SchemaArnT>(value);
59 }
60 template <typename SchemaArnT = Aws::String>
62 SetSchemaArn(std::forward<SchemaArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
90 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
91 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
92 void SetMappedInputFields(MappedInputFieldsT&& value) {
93 m_mappedInputFieldsHasBeenSet = true;
94 m_mappedInputFields = std::forward<MappedInputFieldsT>(value);
95 }
96 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
97 CreateSchemaMappingResult& WithMappedInputFields(MappedInputFieldsT&& value) {
98 SetMappedInputFields(std::forward<MappedInputFieldsT>(value));
99 return *this;
100 }
101 template <typename MappedInputFieldsT = SchemaInputAttribute>
102 CreateSchemaMappingResult& AddMappedInputFields(MappedInputFieldsT&& value) {
103 m_mappedInputFieldsHasBeenSet = true;
104 m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value));
105 return *this;
106 }
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template <typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) {
114 m_requestIdHasBeenSet = true;
115 m_requestId = std::forward<RequestIdT>(value);
116 }
117 template <typename RequestIdT = Aws::String>
119 SetRequestId(std::forward<RequestIdT>(value));
120 return *this;
121 }
123 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
124
125 private:
126 Aws::String m_schemaName;
127
128 Aws::String m_schemaArn;
129
130 Aws::String m_description;
131
132 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
133
134 Aws::String m_requestId;
135 Aws::Http::HttpResponseCode m_HttpResponseCode;
136 bool m_schemaNameHasBeenSet = false;
137 bool m_schemaArnHasBeenSet = false;
138 bool m_descriptionHasBeenSet = false;
139 bool m_mappedInputFieldsHasBeenSet = false;
140 bool m_requestIdHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace EntityResolution
145} // namespace Aws
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
CreateSchemaMappingResult & WithSchemaArn(SchemaArnT &&value)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchemaMappingResult & WithSchemaName(SchemaNameT &&value)
CreateSchemaMappingResult & AddMappedInputFields(MappedInputFieldsT &&value)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult()=default
CreateSchemaMappingResult & WithMappedInputFields(MappedInputFieldsT &&value)
CreateSchemaMappingResult & WithDescription(DescriptionT &&value)
CreateSchemaMappingResult & WithRequestId(RequestIdT &&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