7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/rds/model/ExportSourceType.h>
13#include <aws/rds/model/ResponseMetadata.h>
57 inline void SetExportTaskIdentifier(
const char* value) { m_exportTaskIdentifierHasBeenSet =
true; m_exportTaskIdentifier.assign(value); }
72 inline void SetSourceArn(
const char* value) { m_sourceArnHasBeenSet =
true; m_sourceArn.assign(value); }
99 inline ExportTask&
AddExportOnly(
const char* value) { m_exportOnlyHasBeenSet =
true; m_exportOnly.push_back(value);
return *
this; }
146 inline void SetS3Bucket(
const char* value) { m_s3BucketHasBeenSet =
true; m_s3Bucket.assign(value); }
161 inline void SetS3Prefix(
const char* value) { m_s3PrefixHasBeenSet =
true; m_s3Prefix.assign(value); }
176 inline void SetIamRoleArn(
const char* value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn.assign(value); }
193 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
211 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
223 inline void SetPercentProgress(
int value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
245 inline void SetFailureCause(
const char* value) { m_failureCauseHasBeenSet =
true; m_failureCause.assign(value); }
259 inline void SetWarningMessage(
const char* value) { m_warningMessageHasBeenSet =
true; m_warningMessage.assign(value); }
288 bool m_exportTaskIdentifierHasBeenSet =
false;
291 bool m_sourceArnHasBeenSet =
false;
294 bool m_exportOnlyHasBeenSet =
false;
297 bool m_snapshotTimeHasBeenSet =
false;
300 bool m_taskStartTimeHasBeenSet =
false;
303 bool m_taskEndTimeHasBeenSet =
false;
306 bool m_s3BucketHasBeenSet =
false;
309 bool m_s3PrefixHasBeenSet =
false;
312 bool m_iamRoleArnHasBeenSet =
false;
315 bool m_kmsKeyIdHasBeenSet =
false;
318 bool m_statusHasBeenSet =
false;
320 int m_percentProgress;
321 bool m_percentProgressHasBeenSet =
false;
323 int m_totalExtractedDataInGB;
324 bool m_totalExtractedDataInGBHasBeenSet =
false;
327 bool m_failureCauseHasBeenSet =
false;
330 bool m_warningMessageHasBeenSet =
false;
333 bool m_sourceTypeHasBeenSet =
false;
void SetTaskEndTime(const Aws::Utils::DateTime &value)
void SetTaskStartTime(const Aws::Utils::DateTime &value)
void SetFailureCause(const Aws::String &value)
ExportTask & WithExportOnly(const Aws::Vector< Aws::String > &value)
ExportTask & WithTotalExtractedDataInGB(int value)
ExportTask & WithKmsKeyId(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
ExportTask & WithStatus(const Aws::String &value)
void SetStatus(Aws::String &&value)
ExportTask & WithTaskStartTime(const Aws::Utils::DateTime &value)
ExportTask & WithSourceArn(const char *value)
void SetPercentProgress(int value)
ExportTask & WithStatus(const char *value)
ExportTask & WithFailureCause(const char *value)
ExportTask & WithExportTaskIdentifier(Aws::String &&value)
void SetExportOnly(Aws::Vector< Aws::String > &&value)
ExportTask & WithSourceArn(const Aws::String &value)
ExportTask & WithS3Prefix(Aws::String &&value)
bool IamRoleArnHasBeenSet() const
void SetKmsKeyId(const char *value)
ExportTask & WithExportTaskIdentifier(const Aws::String &value)
void SetWarningMessage(Aws::String &&value)
void SetIamRoleArn(Aws::String &&value)
ExportTask & WithKmsKeyId(Aws::String &&value)
bool PercentProgressHasBeenSet() const
void SetStatus(const char *value)
const Aws::String & GetStatus() const
void SetSourceType(ExportSourceType &&value)
void SetS3Prefix(Aws::String &&value)
const Aws::String & GetExportTaskIdentifier() const
void SetIamRoleArn(const Aws::String &value)
ExportTask & WithExportOnly(Aws::Vector< Aws::String > &&value)
ExportTask & AddExportOnly(const Aws::String &value)
const Aws::Vector< Aws::String > & GetExportOnly() const
void SetS3Bucket(Aws::String &&value)
void SetFailureCause(const char *value)
bool ExportTaskIdentifierHasBeenSet() const
ExportTask & AddExportOnly(Aws::String &&value)
bool SnapshotTimeHasBeenSet() const
ExportTask & WithResponseMetadata(const ResponseMetadata &value)
void SetSourceArn(const Aws::String &value)
bool TotalExtractedDataInGBHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ExportTask & WithSourceType(const ExportSourceType &value)
const Aws::Utils::DateTime & GetTaskEndTime() const
void SetResponseMetadata(const ResponseMetadata &value)
const Aws::String & GetFailureCause() const
void SetExportTaskIdentifier(const char *value)
void SetExportTaskIdentifier(Aws::String &&value)
ExportTask & WithSnapshotTime(const Aws::Utils::DateTime &value)
void SetSourceArn(Aws::String &&value)
ExportTask & WithFailureCause(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
ExportTask & WithS3Bucket(Aws::String &&value)
bool FailureCauseHasBeenSet() const
const Aws::Utils::DateTime & GetSnapshotTime() const
bool S3PrefixHasBeenSet() const
bool StatusHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ExportTask & WithIamRoleArn(const char *value)
ExportTask & WithIamRoleArn(Aws::String &&value)
ExportTask & WithIamRoleArn(const Aws::String &value)
bool SourceTypeHasBeenSet() const
bool WarningMessageHasBeenSet() const
void SetSourceType(const ExportSourceType &value)
void SetSnapshotTime(Aws::Utils::DateTime &&value)
ExportTask & WithStatus(Aws::String &&value)
int GetPercentProgress() const
void SetSourceArn(const char *value)
ExportTask & WithResponseMetadata(ResponseMetadata &&value)
void SetS3Prefix(const char *value)
const ExportSourceType & GetSourceType() const
ExportTask & WithTaskEndTime(const Aws::Utils::DateTime &value)
void SetS3Bucket(const char *value)
void SetFailureCause(Aws::String &&value)
void SetIamRoleArn(const char *value)
bool S3BucketHasBeenSet() const
AWS_RDS_API ExportTask(const Aws::Utils::Xml::XmlNode &xmlNode)
ExportTask & WithPercentProgress(int value)
bool ExportOnlyHasBeenSet() const
const Aws::String & GetS3Bucket() const
void SetSnapshotTime(const Aws::Utils::DateTime &value)
void SetS3Bucket(const Aws::String &value)
const Aws::String & GetIamRoleArn() const
const Aws::String & GetWarningMessage() const
void SetExportOnly(const Aws::Vector< Aws::String > &value)
ExportTask & WithWarningMessage(Aws::String &&value)
int GetTotalExtractedDataInGB() const
void SetExportTaskIdentifier(const Aws::String &value)
bool SourceArnHasBeenSet() const
ExportTask & WithWarningMessage(const Aws::String &value)
ExportTask & WithS3Prefix(const char *value)
void SetWarningMessage(const char *value)
ExportTask & WithS3Prefix(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetSourceArn() const
ExportTask & WithTaskEndTime(Aws::Utils::DateTime &&value)
void SetTaskEndTime(Aws::Utils::DateTime &&value)
bool TaskStartTimeHasBeenSet() const
void SetTaskStartTime(Aws::Utils::DateTime &&value)
void SetTotalExtractedDataInGB(int value)
ExportTask & WithKmsKeyId(const char *value)
AWS_RDS_API ExportTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TaskEndTimeHasBeenSet() const
ExportTask & WithWarningMessage(const char *value)
void SetWarningMessage(const Aws::String &value)
void SetS3Prefix(const Aws::String &value)
void SetStatus(const Aws::String &value)
ExportTask & WithSourceArn(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
ExportTask & WithTaskStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetS3Prefix() const
const ResponseMetadata & GetResponseMetadata() const
ExportTask & WithSnapshotTime(Aws::Utils::DateTime &&value)
ExportTask & AddExportOnly(const char *value)
ExportTask & WithSourceType(ExportSourceType &&value)
ExportTask & WithS3Bucket(const Aws::String &value)
ExportTask & WithS3Bucket(const char *value)
const Aws::Utils::DateTime & GetTaskStartTime() const
ExportTask & WithExportTaskIdentifier(const char *value)
ExportTask & WithFailureCause(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream