/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The datasource details that are specific to Amazon RDS.See
* Also:
AWS
* API Reference
The database details required to connect to an Amazon RDS.
*/ inline const RDSDatabase& GetDatabase() const{ return m_database; } /** *The database details required to connect to an Amazon RDS.
*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *The database details required to connect to an Amazon RDS.
*/ inline void SetDatabase(const RDSDatabase& value) { m_databaseHasBeenSet = true; m_database = value; } /** *The database details required to connect to an Amazon RDS.
*/ inline void SetDatabase(RDSDatabase&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *The database details required to connect to an Amazon RDS.
*/ inline RDSMetadata& WithDatabase(const RDSDatabase& value) { SetDatabase(value); return *this;} /** *The database details required to connect to an Amazon RDS.
*/ inline RDSMetadata& WithDatabase(RDSDatabase&& value) { SetDatabase(std::move(value)); return *this;} inline const Aws::String& GetDatabaseUserName() const{ return m_databaseUserName; } inline bool DatabaseUserNameHasBeenSet() const { return m_databaseUserNameHasBeenSet; } inline void SetDatabaseUserName(const Aws::String& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = value; } inline void SetDatabaseUserName(Aws::String&& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = std::move(value); } inline void SetDatabaseUserName(const char* value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName.assign(value); } inline RDSMetadata& WithDatabaseUserName(const Aws::String& value) { SetDatabaseUserName(value); return *this;} inline RDSMetadata& WithDatabaseUserName(Aws::String&& value) { SetDatabaseUserName(std::move(value)); return *this;} inline RDSMetadata& WithDatabaseUserName(const char* value) { SetDatabaseUserName(value); return *this;} /** *The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The SQL query that is supplied during CreateDataSourceFromRDS. Returns
* only if Verbose
is true in GetDataSourceInput
.
The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline const Aws::String& GetResourceRole() const{ return m_resourceRole; } /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline bool ResourceRoleHasBeenSet() const { return m_resourceRoleHasBeenSet; } /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline void SetResourceRole(const Aws::String& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = value; } /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline void SetResourceRole(Aws::String&& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = std::move(value); } /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline void SetResourceRole(const char* value) { m_resourceRoleHasBeenSet = true; m_resourceRole.assign(value); } /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline RDSMetadata& WithResourceRole(const Aws::String& value) { SetResourceRole(value); return *this;} /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline RDSMetadata& WithResourceRole(Aws::String&& value) { SetResourceRole(std::move(value)); return *this;} /** *The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance * to carry out the copy task from Amazon RDS to Amazon S3. For more information, * see Role * templates for data pipelines.
*/ inline RDSMetadata& WithResourceRole(const char* value) { SetResourceRole(value); return *this;} /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline RDSMetadata& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline RDSMetadata& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} /** *The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to * monitor the progress of the copy task from Amazon RDS to Amazon S3. For more * information, see Role * templates for data pipelines.
*/ inline RDSMetadata& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline const Aws::String& GetDataPipelineId() const{ return m_dataPipelineId; } /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline bool DataPipelineIdHasBeenSet() const { return m_dataPipelineIdHasBeenSet; } /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline void SetDataPipelineId(const Aws::String& value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId = value; } /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline void SetDataPipelineId(Aws::String&& value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId = std::move(value); } /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline void SetDataPipelineId(const char* value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId.assign(value); } /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline RDSMetadata& WithDataPipelineId(const Aws::String& value) { SetDataPipelineId(value); return *this;} /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline RDSMetadata& WithDataPipelineId(Aws::String&& value) { SetDataPipelineId(std::move(value)); return *this;} /** *The ID of the Data Pipeline instance that is used to carry to copy data from * Amazon RDS to Amazon S3. You can use the ID to find details about the instance * in the Data Pipeline console.
*/ inline RDSMetadata& WithDataPipelineId(const char* value) { SetDataPipelineId(value); return *this;} private: RDSDatabase m_database; bool m_databaseHasBeenSet = false; Aws::String m_databaseUserName; bool m_databaseUserNameHasBeenSet = false; Aws::String m_selectSqlQuery; bool m_selectSqlQueryHasBeenSet = false; Aws::String m_resourceRole; bool m_resourceRoleHasBeenSet = false; Aws::String m_serviceRole; bool m_serviceRoleHasBeenSet = false; Aws::String m_dataPipelineId; bool m_dataPipelineIdHasBeenSet = false; }; } // namespace Model } // namespace MachineLearning } // namespace Aws