AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMigrationProjectRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/SCApplicationAttributes.h>
12#include <aws/dms/model/DataProviderDescriptorDefinition.h>
13#include <aws/dms/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace DatabaseMigrationService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATABASEMIGRATIONSERVICE_API CreateMigrationProjectRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateMigrationProject"; }
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetMigrationProjectName() const{ return m_migrationProjectName; }
46 inline bool MigrationProjectNameHasBeenSet() const { return m_migrationProjectNameHasBeenSet; }
47 inline void SetMigrationProjectName(const Aws::String& value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName = value; }
48 inline void SetMigrationProjectName(Aws::String&& value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName = std::move(value); }
49 inline void SetMigrationProjectName(const char* value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName.assign(value); }
52 inline CreateMigrationProjectRequest& WithMigrationProjectName(const char* value) { SetMigrationProjectName(value); return *this;}
54
56
60 inline const Aws::Vector<DataProviderDescriptorDefinition>& GetSourceDataProviderDescriptors() const{ return m_sourceDataProviderDescriptors; }
61 inline bool SourceDataProviderDescriptorsHasBeenSet() const { return m_sourceDataProviderDescriptorsHasBeenSet; }
62 inline void SetSourceDataProviderDescriptors(const Aws::Vector<DataProviderDescriptorDefinition>& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors = value; }
63 inline void SetSourceDataProviderDescriptors(Aws::Vector<DataProviderDescriptorDefinition>&& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors = std::move(value); }
66 inline CreateMigrationProjectRequest& AddSourceDataProviderDescriptors(const DataProviderDescriptorDefinition& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors.push_back(value); return *this; }
67 inline CreateMigrationProjectRequest& AddSourceDataProviderDescriptors(DataProviderDescriptorDefinition&& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors.push_back(std::move(value)); return *this; }
69
71
75 inline const Aws::Vector<DataProviderDescriptorDefinition>& GetTargetDataProviderDescriptors() const{ return m_targetDataProviderDescriptors; }
76 inline bool TargetDataProviderDescriptorsHasBeenSet() const { return m_targetDataProviderDescriptorsHasBeenSet; }
77 inline void SetTargetDataProviderDescriptors(const Aws::Vector<DataProviderDescriptorDefinition>& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors = value; }
78 inline void SetTargetDataProviderDescriptors(Aws::Vector<DataProviderDescriptorDefinition>&& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors = std::move(value); }
81 inline CreateMigrationProjectRequest& AddTargetDataProviderDescriptors(const DataProviderDescriptorDefinition& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors.push_back(value); return *this; }
82 inline CreateMigrationProjectRequest& AddTargetDataProviderDescriptors(DataProviderDescriptorDefinition&& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors.push_back(std::move(value)); return *this; }
84
86
91 inline const Aws::String& GetInstanceProfileIdentifier() const{ return m_instanceProfileIdentifier; }
92 inline bool InstanceProfileIdentifierHasBeenSet() const { return m_instanceProfileIdentifierHasBeenSet; }
93 inline void SetInstanceProfileIdentifier(const Aws::String& value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier = value; }
94 inline void SetInstanceProfileIdentifier(Aws::String&& value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier = std::move(value); }
95 inline void SetInstanceProfileIdentifier(const char* value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier.assign(value); }
100
102
108 inline const Aws::String& GetTransformationRules() const{ return m_transformationRules; }
109 inline bool TransformationRulesHasBeenSet() const { return m_transformationRulesHasBeenSet; }
110 inline void SetTransformationRules(const Aws::String& value) { m_transformationRulesHasBeenSet = true; m_transformationRules = value; }
111 inline void SetTransformationRules(Aws::String&& value) { m_transformationRulesHasBeenSet = true; m_transformationRules = std::move(value); }
112 inline void SetTransformationRules(const char* value) { m_transformationRulesHasBeenSet = true; m_transformationRules.assign(value); }
115 inline CreateMigrationProjectRequest& WithTransformationRules(const char* value) { SetTransformationRules(value); return *this;}
117
119
122 inline const Aws::String& GetDescription() const{ return m_description; }
123 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
124 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
125 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
126 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
127 inline CreateMigrationProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
128 inline CreateMigrationProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 inline CreateMigrationProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
131
133
136 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
137 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
138 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
139 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
140 inline CreateMigrationProjectRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
141 inline CreateMigrationProjectRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
142 inline CreateMigrationProjectRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
143 inline CreateMigrationProjectRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
145
147
151 inline const SCApplicationAttributes& GetSchemaConversionApplicationAttributes() const{ return m_schemaConversionApplicationAttributes; }
152 inline bool SchemaConversionApplicationAttributesHasBeenSet() const { return m_schemaConversionApplicationAttributesHasBeenSet; }
153 inline void SetSchemaConversionApplicationAttributes(const SCApplicationAttributes& value) { m_schemaConversionApplicationAttributesHasBeenSet = true; m_schemaConversionApplicationAttributes = value; }
154 inline void SetSchemaConversionApplicationAttributes(SCApplicationAttributes&& value) { m_schemaConversionApplicationAttributesHasBeenSet = true; m_schemaConversionApplicationAttributes = std::move(value); }
158 private:
159
160 Aws::String m_migrationProjectName;
161 bool m_migrationProjectNameHasBeenSet = false;
162
163 Aws::Vector<DataProviderDescriptorDefinition> m_sourceDataProviderDescriptors;
164 bool m_sourceDataProviderDescriptorsHasBeenSet = false;
165
166 Aws::Vector<DataProviderDescriptorDefinition> m_targetDataProviderDescriptors;
167 bool m_targetDataProviderDescriptorsHasBeenSet = false;
168
169 Aws::String m_instanceProfileIdentifier;
170 bool m_instanceProfileIdentifierHasBeenSet = false;
171
172 Aws::String m_transformationRules;
173 bool m_transformationRulesHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::Vector<Tag> m_tags;
179 bool m_tagsHasBeenSet = false;
180
181 SCApplicationAttributes m_schemaConversionApplicationAttributes;
182 bool m_schemaConversionApplicationAttributesHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace DatabaseMigrationService
187} // namespace Aws
CreateMigrationProjectRequest & WithTransformationRules(Aws::String &&value)
CreateMigrationProjectRequest & AddTargetDataProviderDescriptors(const DataProviderDescriptorDefinition &value)
CreateMigrationProjectRequest & WithSourceDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< DataProviderDescriptorDefinition > & GetTargetDataProviderDescriptors() const
CreateMigrationProjectRequest & WithInstanceProfileIdentifier(Aws::String &&value)
const Aws::Vector< DataProviderDescriptorDefinition > & GetSourceDataProviderDescriptors() const
CreateMigrationProjectRequest & WithMigrationProjectName(const Aws::String &value)
void SetTargetDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
CreateMigrationProjectRequest & WithSchemaConversionApplicationAttributes(const SCApplicationAttributes &value)
CreateMigrationProjectRequest & WithSchemaConversionApplicationAttributes(SCApplicationAttributes &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
CreateMigrationProjectRequest & WithInstanceProfileIdentifier(const Aws::String &value)
CreateMigrationProjectRequest & WithMigrationProjectName(const char *value)
CreateMigrationProjectRequest & WithSourceDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
CreateMigrationProjectRequest & AddTargetDataProviderDescriptors(DataProviderDescriptorDefinition &&value)
CreateMigrationProjectRequest & WithInstanceProfileIdentifier(const char *value)
CreateMigrationProjectRequest & WithTags(Aws::Vector< Tag > &&value)
void SetSourceDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
CreateMigrationProjectRequest & AddSourceDataProviderDescriptors(DataProviderDescriptorDefinition &&value)
CreateMigrationProjectRequest & WithTransformationRules(const Aws::String &value)
CreateMigrationProjectRequest & AddSourceDataProviderDescriptors(const DataProviderDescriptorDefinition &value)
void SetSourceDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
CreateMigrationProjectRequest & WithTargetDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
CreateMigrationProjectRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTargetDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
CreateMigrationProjectRequest & WithDescription(const Aws::String &value)
CreateMigrationProjectRequest & WithTransformationRules(const char *value)
CreateMigrationProjectRequest & WithMigrationProjectName(Aws::String &&value)
CreateMigrationProjectRequest & WithTargetDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector