AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateSchemaMappingRequest.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/EntityResolutionRequest.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11#include <aws/entityresolution/model/SchemaInputAttribute.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EntityResolution {
17namespace Model {
18
22 public:
23 AWS_ENTITYRESOLUTION_API UpdateSchemaMappingRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateSchemaMapping"; }
30
31 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
39 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
40 template <typename SchemaNameT = Aws::String>
41 void SetSchemaName(SchemaNameT&& value) {
42 m_schemaNameHasBeenSet = true;
43 m_schemaName = std::forward<SchemaNameT>(value);
44 }
45 template <typename SchemaNameT = Aws::String>
47 SetSchemaName(std::forward<SchemaNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
77 inline bool MappedInputFieldsHasBeenSet() const { return m_mappedInputFieldsHasBeenSet; }
78 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
79 void SetMappedInputFields(MappedInputFieldsT&& value) {
80 m_mappedInputFieldsHasBeenSet = true;
81 m_mappedInputFields = std::forward<MappedInputFieldsT>(value);
82 }
83 template <typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
85 SetMappedInputFields(std::forward<MappedInputFieldsT>(value));
86 return *this;
87 }
88 template <typename MappedInputFieldsT = SchemaInputAttribute>
89 UpdateSchemaMappingRequest& AddMappedInputFields(MappedInputFieldsT&& value) {
90 m_mappedInputFieldsHasBeenSet = true;
91 m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_schemaName;
97
98 Aws::String m_description;
99
100 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
101 bool m_schemaNameHasBeenSet = false;
102 bool m_descriptionHasBeenSet = false;
103 bool m_mappedInputFieldsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace EntityResolution
108} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
AWS_ENTITYRESOLUTION_API UpdateSchemaMappingRequest()=default
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
UpdateSchemaMappingRequest & WithDescription(DescriptionT &&value)
UpdateSchemaMappingRequest & WithMappedInputFields(MappedInputFieldsT &&value)
UpdateSchemaMappingRequest & AddMappedInputFields(MappedInputFieldsT &&value)
UpdateSchemaMappingRequest & WithSchemaName(SchemaNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector