AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSchemaMappingRequest.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/EntityResolutionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/entityresolution/model/SchemaInputAttribute.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EntityResolution
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ENTITYRESOLUTION_API UpdateSchemaMappingRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateSchemaMapping"; }
33
34 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
43 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
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 UpdateSchemaMappingRequest& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateSchemaMappingRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
68 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
69 inline bool MappedInputFieldsHasBeenSet() const { return m_mappedInputFieldsHasBeenSet; }
70 template<typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
71 void SetMappedInputFields(MappedInputFieldsT&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = std::forward<MappedInputFieldsT>(value); }
72 template<typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
73 UpdateSchemaMappingRequest& WithMappedInputFields(MappedInputFieldsT&& value) { SetMappedInputFields(std::forward<MappedInputFieldsT>(value)); return *this;}
74 template<typename MappedInputFieldsT = SchemaInputAttribute>
75 UpdateSchemaMappingRequest& AddMappedInputFields(MappedInputFieldsT&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value)); return *this; }
77 private:
78
79 Aws::String m_schemaName;
80 bool m_schemaNameHasBeenSet = false;
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
86 bool m_mappedInputFieldsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace EntityResolution
91} // 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