AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSchemaMappingRequest.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/core/utils/memory/stl/AWSMap.h>
12#include <aws/entityresolution/model/SchemaInputAttribute.h>
13#include <utility>
14
15namespace Aws
16{
17namespace EntityResolution
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_ENTITYRESOLUTION_API CreateSchemaMappingRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateSchemaMapping"; }
34
35 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDescription() const{ return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
45 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
46 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
47 inline CreateSchemaMappingRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
48 inline CreateSchemaMappingRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
49 inline CreateSchemaMappingRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
51
53
58 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const{ return m_mappedInputFields; }
59 inline bool MappedInputFieldsHasBeenSet() const { return m_mappedInputFieldsHasBeenSet; }
60 inline void SetMappedInputFields(const Aws::Vector<SchemaInputAttribute>& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = value; }
61 inline void SetMappedInputFields(Aws::Vector<SchemaInputAttribute>&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = std::move(value); }
64 inline CreateSchemaMappingRequest& AddMappedInputFields(const SchemaInputAttribute& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.push_back(value); return *this; }
65 inline CreateSchemaMappingRequest& AddMappedInputFields(SchemaInputAttribute&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.push_back(std::move(value)); return *this; }
67
69
73 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
74 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
75 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
76 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
77 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
78 inline CreateSchemaMappingRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
79 inline CreateSchemaMappingRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
80 inline CreateSchemaMappingRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
82
84
87 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
88 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
90 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
92 inline CreateSchemaMappingRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
93 inline CreateSchemaMappingRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
94 inline CreateSchemaMappingRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline CreateSchemaMappingRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateSchemaMappingRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
97 inline CreateSchemaMappingRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
98 inline CreateSchemaMappingRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateSchemaMappingRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
101 private:
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
107 bool m_mappedInputFieldsHasBeenSet = false;
108
109 Aws::String m_schemaName;
110 bool m_schemaNameHasBeenSet = false;
111
113 bool m_tagsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace EntityResolution
118} // namespace Aws
CreateSchemaMappingRequest & WithMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
CreateSchemaMappingRequest & WithSchemaName(const char *value)
CreateSchemaMappingRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSchemaMappingRequest & AddTags(const Aws::String &key, Aws::String &&value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSchemaMappingRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSchemaMappingRequest & WithDescription(const char *value)
void SetMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
CreateSchemaMappingRequest & AddMappedInputFields(SchemaInputAttribute &&value)
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
CreateSchemaMappingRequest & AddTags(Aws::String &&key, const char *value)
CreateSchemaMappingRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateSchemaMappingRequest & WithMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
CreateSchemaMappingRequest & AddTags(const char *key, const char *value)
CreateSchemaMappingRequest & WithSchemaName(const Aws::String &value)
CreateSchemaMappingRequest & AddMappedInputFields(const SchemaInputAttribute &value)
CreateSchemaMappingRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSchemaMappingRequest & WithDescription(Aws::String &&value)
CreateSchemaMappingRequest & WithDescription(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSchemaMappingRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
CreateSchemaMappingRequest & WithSchemaName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSchemaMappingRequest & AddTags(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector