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/dms/model/MigrationTypeValue.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/dms/model/SourceDataSetting.h>
13#include <aws/dms/model/Tag.h>
18namespace DatabaseMigrationService
53 inline void SetDataMigrationName(
const char* value) { m_dataMigrationNameHasBeenSet =
true; m_dataMigrationName.assign(value); }
67 inline void SetMigrationProjectIdentifier(
const char* value) { m_migrationProjectIdentifierHasBeenSet =
true; m_migrationProjectIdentifier.assign(value); }
95 inline void SetServiceAccessRoleArn(
const char* value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn.assign(value); }
132 inline void SetNumberOfJobs(
int value) { m_numberOfJobsHasBeenSet =
true; m_numberOfJobs = value; }
159 inline void SetSelectionRules(
const char* value) { m_selectionRulesHasBeenSet =
true; m_selectionRules.assign(value); }
167 bool m_dataMigrationNameHasBeenSet =
false;
170 bool m_migrationProjectIdentifierHasBeenSet =
false;
173 bool m_dataMigrationTypeHasBeenSet =
false;
176 bool m_serviceAccessRoleArnHasBeenSet =
false;
178 bool m_enableCloudwatchLogs;
179 bool m_enableCloudwatchLogsHasBeenSet =
false;
182 bool m_sourceDataSettingsHasBeenSet =
false;
185 bool m_numberOfJobsHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
191 bool m_selectionRulesHasBeenSet =
false;
CreateDataMigrationRequest & WithDataMigrationType(MigrationTypeValue &&value)
AWS_DATABASEMIGRATIONSERVICE_API CreateDataMigrationRequest()
void SetDataMigrationName(const char *value)
CreateDataMigrationRequest & WithDataMigrationName(const Aws::String &value)
void SetServiceAccessRoleArn(const Aws::String &value)
void SetDataMigrationType(MigrationTypeValue &&value)
const Aws::Vector< SourceDataSetting > & GetSourceDataSettings() const
void SetTags(Aws::Vector< Tag > &&value)
bool SelectionRulesHasBeenSet() const
void SetSelectionRules(const Aws::String &value)
CreateDataMigrationRequest & WithSelectionRules(const char *value)
CreateDataMigrationRequest & WithServiceAccessRoleArn(const Aws::String &value)
void SetEnableCloudwatchLogs(bool value)
void SetDataMigrationName(const Aws::String &value)
void SetServiceAccessRoleArn(const char *value)
CreateDataMigrationRequest & WithServiceAccessRoleArn(const char *value)
CreateDataMigrationRequest & WithDataMigrationType(const MigrationTypeValue &value)
CreateDataMigrationRequest & AddSourceDataSettings(const SourceDataSetting &value)
void SetDataMigrationName(Aws::String &&value)
void SetSourceDataSettings(const Aws::Vector< SourceDataSetting > &value)
bool MigrationProjectIdentifierHasBeenSet() const
CreateDataMigrationRequest & WithSelectionRules(const Aws::String &value)
void SetMigrationProjectIdentifier(const Aws::String &value)
CreateDataMigrationRequest & WithEnableCloudwatchLogs(bool value)
void SetTags(const Aws::Vector< Tag > &value)
CreateDataMigrationRequest & WithDataMigrationName(Aws::String &&value)
void SetSelectionRules(Aws::String &&value)
CreateDataMigrationRequest & AddTags(Tag &&value)
void SetMigrationProjectIdentifier(Aws::String &&value)
void SetSourceDataSettings(Aws::Vector< SourceDataSetting > &&value)
CreateDataMigrationRequest & WithMigrationProjectIdentifier(Aws::String &&value)
void SetServiceAccessRoleArn(Aws::String &&value)
CreateDataMigrationRequest & AddSourceDataSettings(SourceDataSetting &&value)
const MigrationTypeValue & GetDataMigrationType() const
const Aws::String & GetServiceAccessRoleArn() const
bool GetEnableCloudwatchLogs() const
int GetNumberOfJobs() const
bool NumberOfJobsHasBeenSet() const
CreateDataMigrationRequest & WithDataMigrationName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateDataMigrationRequest & AddTags(const Tag &value)
const Aws::String & GetMigrationProjectIdentifier() const
CreateDataMigrationRequest & WithSourceDataSettings(const Aws::Vector< SourceDataSetting > &value)
void SetNumberOfJobs(int value)
void SetSelectionRules(const char *value)
void SetMigrationProjectIdentifier(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
CreateDataMigrationRequest & WithSelectionRules(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataMigrationRequest & WithMigrationProjectIdentifier(const Aws::String &value)
bool DataMigrationNameHasBeenSet() const
CreateDataMigrationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDataMigrationRequest & WithNumberOfJobs(int value)
void SetDataMigrationType(const MigrationTypeValue &value)
CreateDataMigrationRequest & WithSourceDataSettings(Aws::Vector< SourceDataSetting > &&value)
CreateDataMigrationRequest & WithMigrationProjectIdentifier(const char *value)
const Aws::String & GetSelectionRules() const
bool EnableCloudwatchLogsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool DataMigrationTypeHasBeenSet() const
bool TagsHasBeenSet() const
CreateDataMigrationRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetDataMigrationName() const
bool SourceDataSettingsHasBeenSet() const
CreateDataMigrationRequest & WithServiceAccessRoleArn(Aws::String &&value)
bool ServiceAccessRoleArnHasBeenSet() const
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