AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MigrationProject.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/SCApplicationAttributes.h>
12#include <aws/dms/model/DataProviderDescriptor.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DatabaseMigrationService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DATABASEMIGRATIONSERVICE_API MigrationProject();
40 AWS_DATABASEMIGRATIONSERVICE_API MigrationProject(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API MigrationProject& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMigrationProjectName() const{ return m_migrationProjectName; }
50 inline bool MigrationProjectNameHasBeenSet() const { return m_migrationProjectNameHasBeenSet; }
51 inline void SetMigrationProjectName(const Aws::String& value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName = value; }
52 inline void SetMigrationProjectName(Aws::String&& value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName = std::move(value); }
53 inline void SetMigrationProjectName(const char* value) { m_migrationProjectNameHasBeenSet = true; m_migrationProjectName.assign(value); }
55 inline MigrationProject& WithMigrationProjectName(Aws::String&& value) { SetMigrationProjectName(std::move(value)); return *this;}
56 inline MigrationProject& WithMigrationProjectName(const char* value) { SetMigrationProjectName(value); return *this;}
58
60
63 inline const Aws::String& GetMigrationProjectArn() const{ return m_migrationProjectArn; }
64 inline bool MigrationProjectArnHasBeenSet() const { return m_migrationProjectArnHasBeenSet; }
65 inline void SetMigrationProjectArn(const Aws::String& value) { m_migrationProjectArnHasBeenSet = true; m_migrationProjectArn = value; }
66 inline void SetMigrationProjectArn(Aws::String&& value) { m_migrationProjectArnHasBeenSet = true; m_migrationProjectArn = std::move(value); }
67 inline void SetMigrationProjectArn(const char* value) { m_migrationProjectArnHasBeenSet = true; m_migrationProjectArn.assign(value); }
68 inline MigrationProject& WithMigrationProjectArn(const Aws::String& value) { SetMigrationProjectArn(value); return *this;}
69 inline MigrationProject& WithMigrationProjectArn(Aws::String&& value) { SetMigrationProjectArn(std::move(value)); return *this;}
70 inline MigrationProject& WithMigrationProjectArn(const char* value) { SetMigrationProjectArn(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetMigrationProjectCreationTime() const{ return m_migrationProjectCreationTime; }
78 inline bool MigrationProjectCreationTimeHasBeenSet() const { return m_migrationProjectCreationTimeHasBeenSet; }
79 inline void SetMigrationProjectCreationTime(const Aws::Utils::DateTime& value) { m_migrationProjectCreationTimeHasBeenSet = true; m_migrationProjectCreationTime = value; }
80 inline void SetMigrationProjectCreationTime(Aws::Utils::DateTime&& value) { m_migrationProjectCreationTimeHasBeenSet = true; m_migrationProjectCreationTime = std::move(value); }
84
86
90 inline const Aws::Vector<DataProviderDescriptor>& GetSourceDataProviderDescriptors() const{ return m_sourceDataProviderDescriptors; }
91 inline bool SourceDataProviderDescriptorsHasBeenSet() const { return m_sourceDataProviderDescriptorsHasBeenSet; }
92 inline void SetSourceDataProviderDescriptors(const Aws::Vector<DataProviderDescriptor>& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors = value; }
93 inline void SetSourceDataProviderDescriptors(Aws::Vector<DataProviderDescriptor>&& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors = std::move(value); }
96 inline MigrationProject& AddSourceDataProviderDescriptors(const DataProviderDescriptor& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors.push_back(value); return *this; }
97 inline MigrationProject& AddSourceDataProviderDescriptors(DataProviderDescriptor&& value) { m_sourceDataProviderDescriptorsHasBeenSet = true; m_sourceDataProviderDescriptors.push_back(std::move(value)); return *this; }
99
101
105 inline const Aws::Vector<DataProviderDescriptor>& GetTargetDataProviderDescriptors() const{ return m_targetDataProviderDescriptors; }
106 inline bool TargetDataProviderDescriptorsHasBeenSet() const { return m_targetDataProviderDescriptorsHasBeenSet; }
107 inline void SetTargetDataProviderDescriptors(const Aws::Vector<DataProviderDescriptor>& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors = value; }
108 inline void SetTargetDataProviderDescriptors(Aws::Vector<DataProviderDescriptor>&& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors = std::move(value); }
111 inline MigrationProject& AddTargetDataProviderDescriptors(const DataProviderDescriptor& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors.push_back(value); return *this; }
112 inline MigrationProject& AddTargetDataProviderDescriptors(DataProviderDescriptor&& value) { m_targetDataProviderDescriptorsHasBeenSet = true; m_targetDataProviderDescriptors.push_back(std::move(value)); return *this; }
114
116
120 inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; }
121 inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; }
122 inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; }
123 inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); }
124 inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); }
125 inline MigrationProject& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;}
126 inline MigrationProject& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;}
127 inline MigrationProject& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;}
129
131
134 inline const Aws::String& GetInstanceProfileName() const{ return m_instanceProfileName; }
135 inline bool InstanceProfileNameHasBeenSet() const { return m_instanceProfileNameHasBeenSet; }
136 inline void SetInstanceProfileName(const Aws::String& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = value; }
137 inline void SetInstanceProfileName(Aws::String&& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = std::move(value); }
138 inline void SetInstanceProfileName(const char* value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName.assign(value); }
139 inline MigrationProject& WithInstanceProfileName(const Aws::String& value) { SetInstanceProfileName(value); return *this;}
140 inline MigrationProject& WithInstanceProfileName(Aws::String&& value) { SetInstanceProfileName(std::move(value)); return *this;}
141 inline MigrationProject& WithInstanceProfileName(const char* value) { SetInstanceProfileName(value); return *this;}
143
145
151 inline const Aws::String& GetTransformationRules() const{ return m_transformationRules; }
152 inline bool TransformationRulesHasBeenSet() const { return m_transformationRulesHasBeenSet; }
153 inline void SetTransformationRules(const Aws::String& value) { m_transformationRulesHasBeenSet = true; m_transformationRules = value; }
154 inline void SetTransformationRules(Aws::String&& value) { m_transformationRulesHasBeenSet = true; m_transformationRules = std::move(value); }
155 inline void SetTransformationRules(const char* value) { m_transformationRulesHasBeenSet = true; m_transformationRules.assign(value); }
156 inline MigrationProject& WithTransformationRules(const Aws::String& value) { SetTransformationRules(value); return *this;}
157 inline MigrationProject& WithTransformationRules(Aws::String&& value) { SetTransformationRules(std::move(value)); return *this;}
158 inline MigrationProject& WithTransformationRules(const char* value) { SetTransformationRules(value); return *this;}
160
162
165 inline const Aws::String& GetDescription() const{ return m_description; }
166 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
167 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
168 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
169 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
170 inline MigrationProject& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
171 inline MigrationProject& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
172 inline MigrationProject& WithDescription(const char* value) { SetDescription(value); return *this;}
174
176
180 inline const SCApplicationAttributes& GetSchemaConversionApplicationAttributes() const{ return m_schemaConversionApplicationAttributes; }
181 inline bool SchemaConversionApplicationAttributesHasBeenSet() const { return m_schemaConversionApplicationAttributesHasBeenSet; }
182 inline void SetSchemaConversionApplicationAttributes(const SCApplicationAttributes& value) { m_schemaConversionApplicationAttributesHasBeenSet = true; m_schemaConversionApplicationAttributes = value; }
183 inline void SetSchemaConversionApplicationAttributes(SCApplicationAttributes&& value) { m_schemaConversionApplicationAttributesHasBeenSet = true; m_schemaConversionApplicationAttributes = std::move(value); }
187 private:
188
189 Aws::String m_migrationProjectName;
190 bool m_migrationProjectNameHasBeenSet = false;
191
192 Aws::String m_migrationProjectArn;
193 bool m_migrationProjectArnHasBeenSet = false;
194
195 Aws::Utils::DateTime m_migrationProjectCreationTime;
196 bool m_migrationProjectCreationTimeHasBeenSet = false;
197
198 Aws::Vector<DataProviderDescriptor> m_sourceDataProviderDescriptors;
199 bool m_sourceDataProviderDescriptorsHasBeenSet = false;
200
201 Aws::Vector<DataProviderDescriptor> m_targetDataProviderDescriptors;
202 bool m_targetDataProviderDescriptorsHasBeenSet = false;
203
204 Aws::String m_instanceProfileArn;
205 bool m_instanceProfileArnHasBeenSet = false;
206
207 Aws::String m_instanceProfileName;
208 bool m_instanceProfileNameHasBeenSet = false;
209
210 Aws::String m_transformationRules;
211 bool m_transformationRulesHasBeenSet = false;
212
213 Aws::String m_description;
214 bool m_descriptionHasBeenSet = false;
215
216 SCApplicationAttributes m_schemaConversionApplicationAttributes;
217 bool m_schemaConversionApplicationAttributesHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace DatabaseMigrationService
222} // namespace Aws
MigrationProject & AddSourceDataProviderDescriptors(const DataProviderDescriptor &value)
MigrationProject & WithTargetDataProviderDescriptors(Aws::Vector< DataProviderDescriptor > &&value)
MigrationProject & WithTransformationRules(Aws::String &&value)
MigrationProject & AddSourceDataProviderDescriptors(DataProviderDescriptor &&value)
MigrationProject & WithMigrationProjectArn(Aws::String &&value)
MigrationProject & WithMigrationProjectArn(const char *value)
void SetTargetDataProviderDescriptors(const Aws::Vector< DataProviderDescriptor > &value)
void SetMigrationProjectCreationTime(Aws::Utils::DateTime &&value)
MigrationProject & AddTargetDataProviderDescriptors(const DataProviderDescriptor &value)
MigrationProject & WithInstanceProfileName(Aws::String &&value)
void SetSchemaConversionApplicationAttributes(const SCApplicationAttributes &value)
const Aws::Utils::DateTime & GetMigrationProjectCreationTime() const
void SetSourceDataProviderDescriptors(const Aws::Vector< DataProviderDescriptor > &value)
void SetTargetDataProviderDescriptors(Aws::Vector< DataProviderDescriptor > &&value)
MigrationProject & WithInstanceProfileArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MigrationProject & WithTargetDataProviderDescriptors(const Aws::Vector< DataProviderDescriptor > &value)
MigrationProject & WithDescription(Aws::String &&value)
MigrationProject & WithMigrationProjectName(const char *value)
const Aws::Vector< DataProviderDescriptor > & GetSourceDataProviderDescriptors() const
MigrationProject & WithSourceDataProviderDescriptors(const Aws::Vector< DataProviderDescriptor > &value)
MigrationProject & WithInstanceProfileArn(Aws::String &&value)
MigrationProject & WithDescription(const char *value)
MigrationProject & WithMigrationProjectName(Aws::String &&value)
MigrationProject & WithInstanceProfileArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API MigrationProject()
const SCApplicationAttributes & GetSchemaConversionApplicationAttributes() const
MigrationProject & WithSourceDataProviderDescriptors(Aws::Vector< DataProviderDescriptor > &&value)
MigrationProject & WithSchemaConversionApplicationAttributes(const SCApplicationAttributes &value)
void SetMigrationProjectCreationTime(const Aws::Utils::DateTime &value)
MigrationProject & WithMigrationProjectCreationTime(const Aws::Utils::DateTime &value)
MigrationProject & WithSchemaConversionApplicationAttributes(SCApplicationAttributes &&value)
MigrationProject & WithMigrationProjectName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API MigrationProject(Aws::Utils::Json::JsonView jsonValue)
MigrationProject & WithMigrationProjectCreationTime(Aws::Utils::DateTime &&value)
AWS_DATABASEMIGRATIONSERVICE_API MigrationProject & operator=(Aws::Utils::Json::JsonView jsonValue)
MigrationProject & WithMigrationProjectArn(const Aws::String &value)
MigrationProject & WithInstanceProfileName(const char *value)
MigrationProject & AddTargetDataProviderDescriptors(DataProviderDescriptor &&value)
void SetSourceDataProviderDescriptors(Aws::Vector< DataProviderDescriptor > &&value)
MigrationProject & WithDescription(const Aws::String &value)
const Aws::Vector< DataProviderDescriptor > & GetTargetDataProviderDescriptors() const
MigrationProject & WithTransformationRules(const Aws::String &value)
MigrationProject & WithInstanceProfileName(const Aws::String &value)
MigrationProject & WithTransformationRules(const char *value)
void SetSchemaConversionApplicationAttributes(SCApplicationAttributes &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue