AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline UpdateSchemaMappingRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline UpdateSchemaMappingRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline UpdateSchemaMappingRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
57 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const{ return m_mappedInputFields; }
58 inline bool MappedInputFieldsHasBeenSet() const { return m_mappedInputFieldsHasBeenSet; }
59 inline void SetMappedInputFields(const Aws::Vector<SchemaInputAttribute>& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = value; }
60 inline void SetMappedInputFields(Aws::Vector<SchemaInputAttribute>&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = std::move(value); }
63 inline UpdateSchemaMappingRequest& AddMappedInputFields(const SchemaInputAttribute& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.push_back(value); return *this; }
64 inline UpdateSchemaMappingRequest& AddMappedInputFields(SchemaInputAttribute&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.push_back(std::move(value)); return *this; }
66
68
72 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
73 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
74 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
75 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
76 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
77 inline UpdateSchemaMappingRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
78 inline UpdateSchemaMappingRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
79 inline UpdateSchemaMappingRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
81 private:
82
83 Aws::String m_description;
84 bool m_descriptionHasBeenSet = false;
85
86 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
87 bool m_mappedInputFieldsHasBeenSet = false;
88
89 Aws::String m_schemaName;
90 bool m_schemaNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EntityResolution
95} // namespace Aws
UpdateSchemaMappingRequest & AddMappedInputFields(const SchemaInputAttribute &value)
void SetMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
UpdateSchemaMappingRequest & WithMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
UpdateSchemaMappingRequest & WithDescription(const Aws::String &value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
UpdateSchemaMappingRequest & WithDescription(const char *value)
UpdateSchemaMappingRequest & WithDescription(Aws::String &&value)
UpdateSchemaMappingRequest & WithMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
void SetMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
UpdateSchemaMappingRequest & WithSchemaName(Aws::String &&value)
UpdateSchemaMappingRequest & WithSchemaName(const char *value)
UpdateSchemaMappingRequest & AddMappedInputFields(SchemaInputAttribute &&value)
UpdateSchemaMappingRequest & WithSchemaName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector