AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateSchemaMappingResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10#include <aws/entityresolution/model/SchemaInputAttribute.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EntityResolution {
24namespace Model {
26 public:
27 AWS_ENTITYRESOLUTION_API UpdateSchemaMappingResult() = default;
30
32
35 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
36 template <typename SchemaNameT = Aws::String>
37 void SetSchemaName(SchemaNameT&& value) {
38 m_schemaNameHasBeenSet = true;
39 m_schemaName = std::forward<SchemaNameT>(value);
40 }
41 template <typename SchemaNameT = Aws::String>
43 SetSchemaName(std::forward<SchemaNameT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
54 template <typename SchemaArnT = Aws::String>
55 void SetSchemaArn(SchemaArnT&& value) {
56 m_schemaArnHasBeenSet = true;
57 m_schemaArn = std::forward<SchemaArnT>(value);
58 }
59 template <typename SchemaArnT = Aws::String>
61 SetSchemaArn(std::forward<SchemaArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
89 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
90 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
91 void SetMappedInputFields(MappedInputFieldsT&& value) {
92 m_mappedInputFieldsHasBeenSet = true;
93 m_mappedInputFields = std::forward<MappedInputFieldsT>(value);
94 }
95 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
96 UpdateSchemaMappingResult& WithMappedInputFields(MappedInputFieldsT&& value) {
97 SetMappedInputFields(std::forward<MappedInputFieldsT>(value));
98 return *this;
99 }
100 template <typename MappedInputFieldsT = SchemaInputAttribute>
101 UpdateSchemaMappingResult& AddMappedInputFields(MappedInputFieldsT&& value) {
102 m_mappedInputFieldsHasBeenSet = true;
103 m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value));
104 return *this;
105 }
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template <typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) {
113 m_requestIdHasBeenSet = true;
114 m_requestId = std::forward<RequestIdT>(value);
115 }
116 template <typename RequestIdT = Aws::String>
118 SetRequestId(std::forward<RequestIdT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_schemaName;
124
125 Aws::String m_schemaArn;
126
127 Aws::String m_description;
128
129 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
130
131 Aws::String m_requestId;
132 bool m_schemaNameHasBeenSet = false;
133 bool m_schemaArnHasBeenSet = false;
134 bool m_descriptionHasBeenSet = false;
135 bool m_mappedInputFieldsHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace EntityResolution
141} // namespace Aws
UpdateSchemaMappingResult & WithSchemaArn(SchemaArnT &&value)
AWS_ENTITYRESOLUTION_API UpdateSchemaMappingResult()=default
AWS_ENTITYRESOLUTION_API UpdateSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API UpdateSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaMappingResult & WithMappedInputFields(MappedInputFieldsT &&value)
UpdateSchemaMappingResult & WithDescription(DescriptionT &&value)
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
UpdateSchemaMappingResult & WithSchemaName(SchemaNameT &&value)
UpdateSchemaMappingResult & WithRequestId(RequestIdT &&value)
UpdateSchemaMappingResult & AddMappedInputFields(MappedInputFieldsT &&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