AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CancelExportTaskResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/rds/model/ExportSourceType.h>
12#include <aws/rds/model/ResponseMetadata.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace RDS
28{
29namespace Model
30{
39 {
40 public:
41 AWS_RDS_API CancelExportTaskResult() = default;
44
45
47
51 inline const Aws::String& GetExportTaskIdentifier() const { return m_exportTaskIdentifier; }
52 template<typename ExportTaskIdentifierT = Aws::String>
53 void SetExportTaskIdentifier(ExportTaskIdentifierT&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::forward<ExportTaskIdentifierT>(value); }
54 template<typename ExportTaskIdentifierT = Aws::String>
55 CancelExportTaskResult& WithExportTaskIdentifier(ExportTaskIdentifierT&& value) { SetExportTaskIdentifier(std::forward<ExportTaskIdentifierT>(value)); return *this;}
57
59
63 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
64 template<typename SourceArnT = Aws::String>
65 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
66 template<typename SourceArnT = Aws::String>
67 CancelExportTaskResult& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
69
71
83 inline const Aws::Vector<Aws::String>& GetExportOnly() const { return m_exportOnly; }
84 template<typename ExportOnlyT = Aws::Vector<Aws::String>>
85 void SetExportOnly(ExportOnlyT&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly = std::forward<ExportOnlyT>(value); }
86 template<typename ExportOnlyT = Aws::Vector<Aws::String>>
87 CancelExportTaskResult& WithExportOnly(ExportOnlyT&& value) { SetExportOnly(std::forward<ExportOnlyT>(value)); return *this;}
88 template<typename ExportOnlyT = Aws::String>
89 CancelExportTaskResult& AddExportOnly(ExportOnlyT&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly.emplace_back(std::forward<ExportOnlyT>(value)); return *this; }
91
93
96 inline const Aws::Utils::DateTime& GetSnapshotTime() const { return m_snapshotTime; }
97 template<typename SnapshotTimeT = Aws::Utils::DateTime>
98 void SetSnapshotTime(SnapshotTimeT&& value) { m_snapshotTimeHasBeenSet = true; m_snapshotTime = std::forward<SnapshotTimeT>(value); }
99 template<typename SnapshotTimeT = Aws::Utils::DateTime>
100 CancelExportTaskResult& WithSnapshotTime(SnapshotTimeT&& value) { SetSnapshotTime(std::forward<SnapshotTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetTaskStartTime() const { return m_taskStartTime; }
108 template<typename TaskStartTimeT = Aws::Utils::DateTime>
109 void SetTaskStartTime(TaskStartTimeT&& value) { m_taskStartTimeHasBeenSet = true; m_taskStartTime = std::forward<TaskStartTimeT>(value); }
110 template<typename TaskStartTimeT = Aws::Utils::DateTime>
111 CancelExportTaskResult& WithTaskStartTime(TaskStartTimeT&& value) { SetTaskStartTime(std::forward<TaskStartTimeT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetTaskEndTime() const { return m_taskEndTime; }
119 template<typename TaskEndTimeT = Aws::Utils::DateTime>
120 void SetTaskEndTime(TaskEndTimeT&& value) { m_taskEndTimeHasBeenSet = true; m_taskEndTime = std::forward<TaskEndTimeT>(value); }
121 template<typename TaskEndTimeT = Aws::Utils::DateTime>
122 CancelExportTaskResult& WithTaskEndTime(TaskEndTimeT&& value) { SetTaskEndTime(std::forward<TaskEndTimeT>(value)); return *this;}
124
126
129 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
130 template<typename S3BucketT = Aws::String>
131 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
132 template<typename S3BucketT = Aws::String>
133 CancelExportTaskResult& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
135
137
141 inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; }
142 template<typename S3PrefixT = Aws::String>
143 void SetS3Prefix(S3PrefixT&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::forward<S3PrefixT>(value); }
144 template<typename S3PrefixT = Aws::String>
145 CancelExportTaskResult& WithS3Prefix(S3PrefixT&& value) { SetS3Prefix(std::forward<S3PrefixT>(value)); return *this;}
147
149
153 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
154 template<typename IamRoleArnT = Aws::String>
155 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
156 template<typename IamRoleArnT = Aws::String>
157 CancelExportTaskResult& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
159
161
167 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
168 template<typename KmsKeyIdT = Aws::String>
169 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
170 template<typename KmsKeyIdT = Aws::String>
171 CancelExportTaskResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
173
175
182 inline const Aws::String& GetStatus() const { return m_status; }
183 template<typename StatusT = Aws::String>
184 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
185 template<typename StatusT = Aws::String>
186 CancelExportTaskResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
188
190
193 inline int GetPercentProgress() const { return m_percentProgress; }
194 inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
195 inline CancelExportTaskResult& WithPercentProgress(int value) { SetPercentProgress(value); return *this;}
197
199
202 inline int GetTotalExtractedDataInGB() const { return m_totalExtractedDataInGB; }
203 inline void SetTotalExtractedDataInGB(int value) { m_totalExtractedDataInGBHasBeenSet = true; m_totalExtractedDataInGB = value; }
206
208
211 inline const Aws::String& GetFailureCause() const { return m_failureCause; }
212 template<typename FailureCauseT = Aws::String>
213 void SetFailureCause(FailureCauseT&& value) { m_failureCauseHasBeenSet = true; m_failureCause = std::forward<FailureCauseT>(value); }
214 template<typename FailureCauseT = Aws::String>
215 CancelExportTaskResult& WithFailureCause(FailureCauseT&& value) { SetFailureCause(std::forward<FailureCauseT>(value)); return *this;}
217
219
222 inline const Aws::String& GetWarningMessage() const { return m_warningMessage; }
223 template<typename WarningMessageT = Aws::String>
224 void SetWarningMessage(WarningMessageT&& value) { m_warningMessageHasBeenSet = true; m_warningMessage = std::forward<WarningMessageT>(value); }
225 template<typename WarningMessageT = Aws::String>
226 CancelExportTaskResult& WithWarningMessage(WarningMessageT&& value) { SetWarningMessage(std::forward<WarningMessageT>(value)); return *this;}
228
230
233 inline ExportSourceType GetSourceType() const { return m_sourceType; }
234 inline void SetSourceType(ExportSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
237
239
240 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
241 template<typename ResponseMetadataT = ResponseMetadata>
242 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
243 template<typename ResponseMetadataT = ResponseMetadata>
244 CancelExportTaskResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
246 private:
247
248 Aws::String m_exportTaskIdentifier;
249 bool m_exportTaskIdentifierHasBeenSet = false;
250
251 Aws::String m_sourceArn;
252 bool m_sourceArnHasBeenSet = false;
253
254 Aws::Vector<Aws::String> m_exportOnly;
255 bool m_exportOnlyHasBeenSet = false;
256
257 Aws::Utils::DateTime m_snapshotTime{};
258 bool m_snapshotTimeHasBeenSet = false;
259
260 Aws::Utils::DateTime m_taskStartTime{};
261 bool m_taskStartTimeHasBeenSet = false;
262
263 Aws::Utils::DateTime m_taskEndTime{};
264 bool m_taskEndTimeHasBeenSet = false;
265
266 Aws::String m_s3Bucket;
267 bool m_s3BucketHasBeenSet = false;
268
269 Aws::String m_s3Prefix;
270 bool m_s3PrefixHasBeenSet = false;
271
272 Aws::String m_iamRoleArn;
273 bool m_iamRoleArnHasBeenSet = false;
274
275 Aws::String m_kmsKeyId;
276 bool m_kmsKeyIdHasBeenSet = false;
277
278 Aws::String m_status;
279 bool m_statusHasBeenSet = false;
280
281 int m_percentProgress{0};
282 bool m_percentProgressHasBeenSet = false;
283
284 int m_totalExtractedDataInGB{0};
285 bool m_totalExtractedDataInGBHasBeenSet = false;
286
287 Aws::String m_failureCause;
288 bool m_failureCauseHasBeenSet = false;
289
290 Aws::String m_warningMessage;
291 bool m_warningMessageHasBeenSet = false;
292
294 bool m_sourceTypeHasBeenSet = false;
295
296 ResponseMetadata m_responseMetadata;
297 bool m_responseMetadataHasBeenSet = false;
298 };
299
300} // namespace Model
301} // namespace RDS
302} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
CancelExportTaskResult & WithSourceArn(SourceArnT &&value)
AWS_RDS_API CancelExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadataT &&value)
CancelExportTaskResult & WithWarningMessage(WarningMessageT &&value)
CancelExportTaskResult & WithTotalExtractedDataInGB(int value)
CancelExportTaskResult & WithIamRoleArn(IamRoleArnT &&value)
CancelExportTaskResult & WithS3Prefix(S3PrefixT &&value)
const Aws::Utils::DateTime & GetSnapshotTime() const
CancelExportTaskResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetExportTaskIdentifier() const
CancelExportTaskResult & AddExportOnly(ExportOnlyT &&value)
CancelExportTaskResult & WithTaskStartTime(TaskStartTimeT &&value)
CancelExportTaskResult & WithFailureCause(FailureCauseT &&value)
CancelExportTaskResult & WithPercentProgress(int value)
CancelExportTaskResult & WithSnapshotTime(SnapshotTimeT &&value)
const Aws::Vector< Aws::String > & GetExportOnly() const
CancelExportTaskResult & WithExportOnly(ExportOnlyT &&value)
CancelExportTaskResult & WithSourceType(ExportSourceType value)
CancelExportTaskResult & WithKmsKeyId(KmsKeyIdT &&value)
CancelExportTaskResult & WithExportTaskIdentifier(ExportTaskIdentifierT &&value)
AWS_RDS_API CancelExportTaskResult()=default
void SetExportTaskIdentifier(ExportTaskIdentifierT &&value)
const Aws::Utils::DateTime & GetTaskEndTime() const
CancelExportTaskResult & WithTaskEndTime(TaskEndTimeT &&value)
AWS_RDS_API CancelExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetWarningMessage(WarningMessageT &&value)
const Aws::Utils::DateTime & GetTaskStartTime() const
CancelExportTaskResult & WithS3Bucket(S3BucketT &&value)
CancelExportTaskResult & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument