AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyMigrationProjectRequest.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 <utility>
14
15namespace Aws
16{
17namespace DatabaseMigrationService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATABASEMIGRATIONSERVICE_API ModifyMigrationProjectRequest();
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 "ModifyMigrationProject"; }
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
46 inline const Aws::String& GetMigrationProjectIdentifier() const{ return m_migrationProjectIdentifier; }
47 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
48 inline void SetMigrationProjectIdentifier(const Aws::String& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = value; }
49 inline void SetMigrationProjectIdentifier(Aws::String&& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = std::move(value); }
50 inline void SetMigrationProjectIdentifier(const char* value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier.assign(value); }
55
57
60 inline const Aws::String& GetMigrationProjectName() const{ return m_migrationProjectName; }
61 inline bool MigrationProjectNameHasBeenSet() const { return m_migrationProjectNameHasBeenSet; }
62 inline void SetMigrationProjectName(const Aws::String& value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName = value; }
63 inline void SetMigrationProjectName(Aws::String&& value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName = std::move(value); }
64 inline void SetMigrationProjectName(const char* value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName.assign(value); }
67 inline ModifyMigrationProjectRequest& WithMigrationProjectName(const char* value) { SetMigrationProjectName(value); return *this;}
69
71
75 inline const Aws::Vector<DataProviderDescriptorDefinition>& GetSourceDataProviderDescriptors() const{ return m_sourceDataProviderDescriptors; }
76 inline bool SourceDataProviderDescriptorsHasBeenSet() const { return m_sourceDataProviderDescriptorsHasBeenSet; }
77 inline void SetSourceDataProviderDescriptors(const Aws::Vector<DataProviderDescriptorDefinition>& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors = value; }
78 inline void SetSourceDataProviderDescriptors(Aws::Vector<DataProviderDescriptorDefinition>&& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors = std::move(value); }
81 inline ModifyMigrationProjectRequest& AddSourceDataProviderDescriptors(const DataProviderDescriptorDefinition& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors.push_back(value); return *this; }
82 inline ModifyMigrationProjectRequest& AddSourceDataProviderDescriptors(DataProviderDescriptorDefinition&& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors.push_back(std::move(value)); return *this; }
84
86
90 inline const Aws::Vector<DataProviderDescriptorDefinition>& GetTargetDataProviderDescriptors() const{ return m_targetDataProviderDescriptors; }
91 inline bool TargetDataProviderDescriptorsHasBeenSet() const { return m_targetDataProviderDescriptorsHasBeenSet; }
92 inline void SetTargetDataProviderDescriptors(const Aws::Vector<DataProviderDescriptorDefinition>& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors = value; }
93 inline void SetTargetDataProviderDescriptors(Aws::Vector<DataProviderDescriptorDefinition>&& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors = std::move(value); }
96 inline ModifyMigrationProjectRequest& AddTargetDataProviderDescriptors(const DataProviderDescriptorDefinition& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors.push_back(value); return *this; }
97 inline ModifyMigrationProjectRequest& AddTargetDataProviderDescriptors(DataProviderDescriptorDefinition&& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::String& GetInstanceProfileIdentifier() const{ return m_instanceProfileIdentifier; }
105 inline bool InstanceProfileIdentifierHasBeenSet() const { return m_instanceProfileIdentifierHasBeenSet; }
106 inline void SetInstanceProfileIdentifier(const Aws::String& value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier = value; }
107 inline void SetInstanceProfileIdentifier(Aws::String&& value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier = std::move(value); }
108 inline void SetInstanceProfileIdentifier(const char* value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier.assign(value); }
113
115
121 inline const Aws::String& GetTransformationRules() const{ return m_transformationRules; }
122 inline bool TransformationRulesHasBeenSet() const { return m_transformationRulesHasBeenSet; }
123 inline void SetTransformationRules(const Aws::String& value) { m_transformationRulesHasBeenSet = true; m_transformationRules = value; }
124 inline void SetTransformationRules(Aws::String&& value) { m_transformationRulesHasBeenSet = true; m_transformationRules = std::move(value); }
125 inline void SetTransformationRules(const char* value) { m_transformationRulesHasBeenSet = true; m_transformationRules.assign(value); }
128 inline ModifyMigrationProjectRequest& WithTransformationRules(const char* value) { SetTransformationRules(value); return *this;}
130
132
135 inline const Aws::String& GetDescription() const{ return m_description; }
136 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
140 inline ModifyMigrationProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
141 inline ModifyMigrationProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
142 inline ModifyMigrationProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
144
146
150 inline const SCApplicationAttributes& GetSchemaConversionApplicationAttributes() const{ return m_schemaConversionApplicationAttributes; }
151 inline bool SchemaConversionApplicationAttributesHasBeenSet() const { return m_schemaConversionApplicationAttributesHasBeenSet; }
152 inline void SetSchemaConversionApplicationAttributes(const SCApplicationAttributes& value) { m_schemaConversionApplicationAttributesHasBeenSet = true; m_schemaConversionApplicationAttributes = value; }
153 inline void SetSchemaConversionApplicationAttributes(SCApplicationAttributes&& value) { m_schemaConversionApplicationAttributesHasBeenSet = true; m_schemaConversionApplicationAttributes = std::move(value); }
157 private:
158
159 Aws::String m_migrationProjectIdentifier;
160 bool m_migrationProjectIdentifierHasBeenSet = false;
161
162 Aws::String m_migrationProjectName;
163 bool m_migrationProjectNameHasBeenSet = false;
164
165 Aws::Vector<DataProviderDescriptorDefinition> m_sourceDataProviderDescriptors;
166 bool m_sourceDataProviderDescriptorsHasBeenSet = false;
167
168 Aws::Vector<DataProviderDescriptorDefinition> m_targetDataProviderDescriptors;
169 bool m_targetDataProviderDescriptorsHasBeenSet = false;
170
171 Aws::String m_instanceProfileIdentifier;
172 bool m_instanceProfileIdentifierHasBeenSet = false;
173
174 Aws::String m_transformationRules;
175 bool m_transformationRulesHasBeenSet = false;
176
177 Aws::String m_description;
178 bool m_descriptionHasBeenSet = false;
179
180 SCApplicationAttributes m_schemaConversionApplicationAttributes;
181 bool m_schemaConversionApplicationAttributesHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace DatabaseMigrationService
186} // namespace Aws
void SetSourceDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
ModifyMigrationProjectRequest & AddTargetDataProviderDescriptors(DataProviderDescriptorDefinition &&value)
void SetSourceDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
ModifyMigrationProjectRequest & AddSourceDataProviderDescriptors(const DataProviderDescriptorDefinition &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyMigrationProjectRequest & WithInstanceProfileIdentifier(const Aws::String &value)
ModifyMigrationProjectRequest & WithMigrationProjectIdentifier(Aws::String &&value)
ModifyMigrationProjectRequest & AddSourceDataProviderDescriptors(DataProviderDescriptorDefinition &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyMigrationProjectRequest & WithMigrationProjectIdentifier(const Aws::String &value)
ModifyMigrationProjectRequest & WithMigrationProjectName(const Aws::String &value)
ModifyMigrationProjectRequest & WithInstanceProfileIdentifier(Aws::String &&value)
ModifyMigrationProjectRequest & WithSourceDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
ModifyMigrationProjectRequest & WithTransformationRules(Aws::String &&value)
ModifyMigrationProjectRequest & WithTargetDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
ModifyMigrationProjectRequest & WithMigrationProjectIdentifier(const char *value)
ModifyMigrationProjectRequest & WithSchemaConversionApplicationAttributes(const SCApplicationAttributes &value)
ModifyMigrationProjectRequest & WithTransformationRules(const Aws::String &value)
ModifyMigrationProjectRequest & WithSourceDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
const Aws::Vector< DataProviderDescriptorDefinition > & GetSourceDataProviderDescriptors() const
ModifyMigrationProjectRequest & WithDescription(const Aws::String &value)
ModifyMigrationProjectRequest & AddTargetDataProviderDescriptors(const DataProviderDescriptorDefinition &value)
ModifyMigrationProjectRequest & WithMigrationProjectName(const char *value)
ModifyMigrationProjectRequest & WithSchemaConversionApplicationAttributes(SCApplicationAttributes &&value)
void SetTargetDataProviderDescriptors(Aws::Vector< DataProviderDescriptorDefinition > &&value)
const Aws::Vector< DataProviderDescriptorDefinition > & GetTargetDataProviderDescriptors() const
ModifyMigrationProjectRequest & WithTransformationRules(const char *value)
ModifyMigrationProjectRequest & WithInstanceProfileIdentifier(const char *value)
ModifyMigrationProjectRequest & WithMigrationProjectName(Aws::String &&value)
ModifyMigrationProjectRequest & WithTargetDataProviderDescriptors(const Aws::Vector< DataProviderDescriptorDefinition > &value)
void SetTargetDataProviderDescriptors(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