/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details of a snapshot or cluster export to Amazon S3. This data type is used as a response element in the
* DescribeExportTasks
action.See Also:
AWS API
* Reference
A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline const Aws::String& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; } /** *A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifier = value; } /** *A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifier = std::move(value); } /** *A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifier.assign(value); } /** *A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline StartExportTaskResult& WithExportTaskIdentifier(const Aws::String& value) { SetExportTaskIdentifier(value); return *this;} /** *A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline StartExportTaskResult& WithExportTaskIdentifier(Aws::String&& value) { SetExportTaskIdentifier(std::move(value)); return *this;} /** *A unique identifier for the snapshot or cluster export task. This ID isn't an * identifier for the Amazon S3 bucket where the data is exported.
*/ inline StartExportTaskResult& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;} /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; } /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline StartExportTaskResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline StartExportTaskResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon * S3.
*/ inline StartExportTaskResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The data exported from the snapshot or cluster. Valid values are the * following:
database
- Export all the data from a
* specified database.
database.table
* table-name - Export a table of the snapshot or cluster. This format is
* valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema
* of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and
* Aurora PostgreSQL.
database.schema.table
* table-name - Export a table of the database schema. This format is valid
* only for RDS for PostgreSQL and Aurora PostgreSQL.
The time that the snapshot was created.
*/ inline const Aws::Utils::DateTime& GetSnapshotTime() const{ return m_snapshotTime; } /** *The time that the snapshot was created.
*/ inline void SetSnapshotTime(const Aws::Utils::DateTime& value) { m_snapshotTime = value; } /** *The time that the snapshot was created.
*/ inline void SetSnapshotTime(Aws::Utils::DateTime&& value) { m_snapshotTime = std::move(value); } /** *The time that the snapshot was created.
*/ inline StartExportTaskResult& WithSnapshotTime(const Aws::Utils::DateTime& value) { SetSnapshotTime(value); return *this;} /** *The time that the snapshot was created.
*/ inline StartExportTaskResult& WithSnapshotTime(Aws::Utils::DateTime&& value) { SetSnapshotTime(std::move(value)); return *this;} /** *The time that the snapshot or cluster export task started.
*/ inline const Aws::Utils::DateTime& GetTaskStartTime() const{ return m_taskStartTime; } /** *The time that the snapshot or cluster export task started.
*/ inline void SetTaskStartTime(const Aws::Utils::DateTime& value) { m_taskStartTime = value; } /** *The time that the snapshot or cluster export task started.
*/ inline void SetTaskStartTime(Aws::Utils::DateTime&& value) { m_taskStartTime = std::move(value); } /** *The time that the snapshot or cluster export task started.
*/ inline StartExportTaskResult& WithTaskStartTime(const Aws::Utils::DateTime& value) { SetTaskStartTime(value); return *this;} /** *The time that the snapshot or cluster export task started.
*/ inline StartExportTaskResult& WithTaskStartTime(Aws::Utils::DateTime&& value) { SetTaskStartTime(std::move(value)); return *this;} /** *The time that the snapshot or cluster export task ended.
*/ inline const Aws::Utils::DateTime& GetTaskEndTime() const{ return m_taskEndTime; } /** *The time that the snapshot or cluster export task ended.
*/ inline void SetTaskEndTime(const Aws::Utils::DateTime& value) { m_taskEndTime = value; } /** *The time that the snapshot or cluster export task ended.
*/ inline void SetTaskEndTime(Aws::Utils::DateTime&& value) { m_taskEndTime = std::move(value); } /** *The time that the snapshot or cluster export task ended.
*/ inline StartExportTaskResult& WithTaskEndTime(const Aws::Utils::DateTime& value) { SetTaskEndTime(value); return *this;} /** *The time that the snapshot or cluster export task ended.
*/ inline StartExportTaskResult& WithTaskEndTime(Aws::Utils::DateTime&& value) { SetTaskEndTime(std::move(value)); return *this;} /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline void SetS3Bucket(const Aws::String& value) { m_s3Bucket = value; } /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline void SetS3Bucket(Aws::String&& value) { m_s3Bucket = std::move(value); } /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline void SetS3Bucket(const char* value) { m_s3Bucket.assign(value); } /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline StartExportTaskResult& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline StartExportTaskResult& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *The Amazon S3 bucket that the snapshot or cluster is exported to.
*/ inline StartExportTaskResult& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; } /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline void SetS3Prefix(const Aws::String& value) { m_s3Prefix = value; } /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline void SetS3Prefix(Aws::String&& value) { m_s3Prefix = std::move(value); } /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline void SetS3Prefix(const char* value) { m_s3Prefix.assign(value); } /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline StartExportTaskResult& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;} /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline StartExportTaskResult& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;} /** *The Amazon S3 bucket prefix that is the file name and path of the exported * data.
*/ inline StartExportTaskResult& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;} /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; } /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); } /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); } /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline StartExportTaskResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline StartExportTaskResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *The name of the IAM role that is used to write to Amazon S3 when exporting a * snapshot or cluster.
*/ inline StartExportTaskResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline StartExportTaskResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline StartExportTaskResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The key identifier of the Amazon Web Services KMS key that is used to encrypt * the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, * key ID, alias ARN, or alias name. The IAM role used for the export must have * encryption and decryption permissions to use this KMS key.
*/ inline StartExportTaskResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress status of the export task. The status can be one of the * following:
CANCELED
* CANCELING
COMPLETE
FAILED
IN_PROGRESS
STARTING
The progress of the snapshot or cluster export task as a percentage.
*/ inline int GetPercentProgress() const{ return m_percentProgress; } /** *The progress of the snapshot or cluster export task as a percentage.
*/ inline void SetPercentProgress(int value) { m_percentProgress = value; } /** *The progress of the snapshot or cluster export task as a percentage.
*/ inline StartExportTaskResult& WithPercentProgress(int value) { SetPercentProgress(value); return *this;} /** *The total amount of data exported, in gigabytes.
*/ inline int GetTotalExtractedDataInGB() const{ return m_totalExtractedDataInGB; } /** *The total amount of data exported, in gigabytes.
*/ inline void SetTotalExtractedDataInGB(int value) { m_totalExtractedDataInGB = value; } /** *The total amount of data exported, in gigabytes.
*/ inline StartExportTaskResult& WithTotalExtractedDataInGB(int value) { SetTotalExtractedDataInGB(value); return *this;} /** *The reason the export failed, if it failed.
*/ inline const Aws::String& GetFailureCause() const{ return m_failureCause; } /** *The reason the export failed, if it failed.
*/ inline void SetFailureCause(const Aws::String& value) { m_failureCause = value; } /** *The reason the export failed, if it failed.
*/ inline void SetFailureCause(Aws::String&& value) { m_failureCause = std::move(value); } /** *The reason the export failed, if it failed.
*/ inline void SetFailureCause(const char* value) { m_failureCause.assign(value); } /** *The reason the export failed, if it failed.
*/ inline StartExportTaskResult& WithFailureCause(const Aws::String& value) { SetFailureCause(value); return *this;} /** *The reason the export failed, if it failed.
*/ inline StartExportTaskResult& WithFailureCause(Aws::String&& value) { SetFailureCause(std::move(value)); return *this;} /** *The reason the export failed, if it failed.
*/ inline StartExportTaskResult& WithFailureCause(const char* value) { SetFailureCause(value); return *this;} /** *A warning about the snapshot or cluster export task.
*/ inline const Aws::String& GetWarningMessage() const{ return m_warningMessage; } /** *A warning about the snapshot or cluster export task.
*/ inline void SetWarningMessage(const Aws::String& value) { m_warningMessage = value; } /** *A warning about the snapshot or cluster export task.
*/ inline void SetWarningMessage(Aws::String&& value) { m_warningMessage = std::move(value); } /** *A warning about the snapshot or cluster export task.
*/ inline void SetWarningMessage(const char* value) { m_warningMessage.assign(value); } /** *A warning about the snapshot or cluster export task.
*/ inline StartExportTaskResult& WithWarningMessage(const Aws::String& value) { SetWarningMessage(value); return *this;} /** *A warning about the snapshot or cluster export task.
*/ inline StartExportTaskResult& WithWarningMessage(Aws::String&& value) { SetWarningMessage(std::move(value)); return *this;} /** *A warning about the snapshot or cluster export task.
*/ inline StartExportTaskResult& WithWarningMessage(const char* value) { SetWarningMessage(value); return *this;} /** *The type of source for the export.
*/ inline const ExportSourceType& GetSourceType() const{ return m_sourceType; } /** *The type of source for the export.
*/ inline void SetSourceType(const ExportSourceType& value) { m_sourceType = value; } /** *The type of source for the export.
*/ inline void SetSourceType(ExportSourceType&& value) { m_sourceType = std::move(value); } /** *The type of source for the export.
*/ inline StartExportTaskResult& WithSourceType(const ExportSourceType& value) { SetSourceType(value); return *this;} /** *The type of source for the export.
*/ inline StartExportTaskResult& WithSourceType(ExportSourceType&& value) { SetSourceType(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline StartExportTaskResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline StartExportTaskResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_exportTaskIdentifier; Aws::String m_sourceArn; Aws::Vector