AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
44
45
47
51 inline const Aws::String& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; }
52 inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifier = value; }
53 inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifier = std::move(value); }
54 inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifier.assign(value); }
56 inline CancelExportTaskResult& WithExportTaskIdentifier(Aws::String&& value) { SetExportTaskIdentifier(std::move(value)); return *this;}
57 inline CancelExportTaskResult& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;}
59
61
65 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
66 inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
67 inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
68 inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
69 inline CancelExportTaskResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
70 inline CancelExportTaskResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
71 inline CancelExportTaskResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
73
75
87 inline const Aws::Vector<Aws::String>& GetExportOnly() const{ return m_exportOnly; }
88 inline void SetExportOnly(const Aws::Vector<Aws::String>& value) { m_exportOnly = value; }
89 inline void SetExportOnly(Aws::Vector<Aws::String>&& value) { m_exportOnly = std::move(value); }
90 inline CancelExportTaskResult& WithExportOnly(const Aws::Vector<Aws::String>& value) { SetExportOnly(value); return *this;}
91 inline CancelExportTaskResult& WithExportOnly(Aws::Vector<Aws::String>&& value) { SetExportOnly(std::move(value)); return *this;}
92 inline CancelExportTaskResult& AddExportOnly(const Aws::String& value) { m_exportOnly.push_back(value); return *this; }
93 inline CancelExportTaskResult& AddExportOnly(Aws::String&& value) { m_exportOnly.push_back(std::move(value)); return *this; }
94 inline CancelExportTaskResult& AddExportOnly(const char* value) { m_exportOnly.push_back(value); return *this; }
96
98
101 inline const Aws::Utils::DateTime& GetSnapshotTime() const{ return m_snapshotTime; }
102 inline void SetSnapshotTime(const Aws::Utils::DateTime& value) { m_snapshotTime = value; }
103 inline void SetSnapshotTime(Aws::Utils::DateTime&& value) { m_snapshotTime = std::move(value); }
105 inline CancelExportTaskResult& WithSnapshotTime(Aws::Utils::DateTime&& value) { SetSnapshotTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetTaskStartTime() const{ return m_taskStartTime; }
113 inline void SetTaskStartTime(const Aws::Utils::DateTime& value) { m_taskStartTime = value; }
114 inline void SetTaskStartTime(Aws::Utils::DateTime&& value) { m_taskStartTime = std::move(value); }
116 inline CancelExportTaskResult& WithTaskStartTime(Aws::Utils::DateTime&& value) { SetTaskStartTime(std::move(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetTaskEndTime() const{ return m_taskEndTime; }
124 inline void SetTaskEndTime(const Aws::Utils::DateTime& value) { m_taskEndTime = value; }
125 inline void SetTaskEndTime(Aws::Utils::DateTime&& value) { m_taskEndTime = std::move(value); }
126 inline CancelExportTaskResult& WithTaskEndTime(const Aws::Utils::DateTime& value) { SetTaskEndTime(value); return *this;}
127 inline CancelExportTaskResult& WithTaskEndTime(Aws::Utils::DateTime&& value) { SetTaskEndTime(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
135 inline void SetS3Bucket(const Aws::String& value) { m_s3Bucket = value; }
136 inline void SetS3Bucket(Aws::String&& value) { m_s3Bucket = std::move(value); }
137 inline void SetS3Bucket(const char* value) { m_s3Bucket.assign(value); }
138 inline CancelExportTaskResult& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
139 inline CancelExportTaskResult& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
140 inline CancelExportTaskResult& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
142
144
148 inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
149 inline void SetS3Prefix(const Aws::String& value) { m_s3Prefix = value; }
150 inline void SetS3Prefix(Aws::String&& value) { m_s3Prefix = std::move(value); }
151 inline void SetS3Prefix(const char* value) { m_s3Prefix.assign(value); }
152 inline CancelExportTaskResult& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
153 inline CancelExportTaskResult& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
154 inline CancelExportTaskResult& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
156
158
162 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
163 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; }
164 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); }
165 inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); }
166 inline CancelExportTaskResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
167 inline CancelExportTaskResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
168 inline CancelExportTaskResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
170
172
178 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
179 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
180 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
181 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
182 inline CancelExportTaskResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
183 inline CancelExportTaskResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
184 inline CancelExportTaskResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
186
188
195 inline const Aws::String& GetStatus() const{ return m_status; }
196 inline void SetStatus(const Aws::String& value) { m_status = value; }
197 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
198 inline void SetStatus(const char* value) { m_status.assign(value); }
199 inline CancelExportTaskResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
200 inline CancelExportTaskResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
201 inline CancelExportTaskResult& WithStatus(const char* value) { SetStatus(value); return *this;}
203
205
208 inline int GetPercentProgress() const{ return m_percentProgress; }
209 inline void SetPercentProgress(int value) { m_percentProgress = value; }
210 inline CancelExportTaskResult& WithPercentProgress(int value) { SetPercentProgress(value); return *this;}
212
214
217 inline int GetTotalExtractedDataInGB() const{ return m_totalExtractedDataInGB; }
218 inline void SetTotalExtractedDataInGB(int value) { m_totalExtractedDataInGB = value; }
221
223
226 inline const Aws::String& GetFailureCause() const{ return m_failureCause; }
227 inline void SetFailureCause(const Aws::String& value) { m_failureCause = value; }
228 inline void SetFailureCause(Aws::String&& value) { m_failureCause = std::move(value); }
229 inline void SetFailureCause(const char* value) { m_failureCause.assign(value); }
230 inline CancelExportTaskResult& WithFailureCause(const Aws::String& value) { SetFailureCause(value); return *this;}
231 inline CancelExportTaskResult& WithFailureCause(Aws::String&& value) { SetFailureCause(std::move(value)); return *this;}
232 inline CancelExportTaskResult& WithFailureCause(const char* value) { SetFailureCause(value); return *this;}
234
236
239 inline const Aws::String& GetWarningMessage() const{ return m_warningMessage; }
240 inline void SetWarningMessage(const Aws::String& value) { m_warningMessage = value; }
241 inline void SetWarningMessage(Aws::String&& value) { m_warningMessage = std::move(value); }
242 inline void SetWarningMessage(const char* value) { m_warningMessage.assign(value); }
243 inline CancelExportTaskResult& WithWarningMessage(const Aws::String& value) { SetWarningMessage(value); return *this;}
244 inline CancelExportTaskResult& WithWarningMessage(Aws::String&& value) { SetWarningMessage(std::move(value)); return *this;}
245 inline CancelExportTaskResult& WithWarningMessage(const char* value) { SetWarningMessage(value); return *this;}
247
249
252 inline const ExportSourceType& GetSourceType() const{ return m_sourceType; }
253 inline void SetSourceType(const ExportSourceType& value) { m_sourceType = value; }
254 inline void SetSourceType(ExportSourceType&& value) { m_sourceType = std::move(value); }
255 inline CancelExportTaskResult& WithSourceType(const ExportSourceType& value) { SetSourceType(value); return *this;}
256 inline CancelExportTaskResult& WithSourceType(ExportSourceType&& value) { SetSourceType(std::move(value)); return *this;}
258
260
261 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
262 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
263 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
265 inline CancelExportTaskResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
267 private:
268
269 Aws::String m_exportTaskIdentifier;
270
271 Aws::String m_sourceArn;
272
273 Aws::Vector<Aws::String> m_exportOnly;
274
275 Aws::Utils::DateTime m_snapshotTime;
276
277 Aws::Utils::DateTime m_taskStartTime;
278
279 Aws::Utils::DateTime m_taskEndTime;
280
281 Aws::String m_s3Bucket;
282
283 Aws::String m_s3Prefix;
284
285 Aws::String m_iamRoleArn;
286
287 Aws::String m_kmsKeyId;
288
289 Aws::String m_status;
290
291 int m_percentProgress;
292
293 int m_totalExtractedDataInGB;
294
295 Aws::String m_failureCause;
296
297 Aws::String m_warningMessage;
298
299 ExportSourceType m_sourceType;
300
301 ResponseMetadata m_responseMetadata;
302 };
303
304} // namespace Model
305} // namespace RDS
306} // namespace Aws
CancelExportTaskResult & WithIamRoleArn(Aws::String &&value)
CancelExportTaskResult & WithStatus(Aws::String &&value)
CancelExportTaskResult & WithSourceArn(Aws::String &&value)
CancelExportTaskResult & WithS3Prefix(const char *value)
const ResponseMetadata & GetResponseMetadata() const
CancelExportTaskResult & WithSnapshotTime(const Aws::Utils::DateTime &value)
CancelExportTaskResult & WithSourceType(ExportSourceType &&value)
CancelExportTaskResult & WithWarningMessage(const char *value)
CancelExportTaskResult & WithStatus(const char *value)
CancelExportTaskResult & WithExportOnly(Aws::Vector< Aws::String > &&value)
AWS_RDS_API CancelExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CancelExportTaskResult & AddExportOnly(Aws::String &&value)
CancelExportTaskResult & WithFailureCause(const Aws::String &value)
void SetSourceType(ExportSourceType &&value)
void SetWarningMessage(const Aws::String &value)
void SetIamRoleArn(const Aws::String &value)
CancelExportTaskResult & WithIamRoleArn(const Aws::String &value)
CancelExportTaskResult & WithResponseMetadata(ResponseMetadata &&value)
CancelExportTaskResult & WithKmsKeyId(const Aws::String &value)
CancelExportTaskResult & WithTotalExtractedDataInGB(int value)
void SetResponseMetadata(ResponseMetadata &&value)
CancelExportTaskResult & WithS3Bucket(const char *value)
CancelExportTaskResult & WithKmsKeyId(const char *value)
CancelExportTaskResult & WithResponseMetadata(const ResponseMetadata &value)
void SetTaskStartTime(const Aws::Utils::DateTime &value)
CancelExportTaskResult & WithExportOnly(const Aws::Vector< Aws::String > &value)
void SetExportTaskIdentifier(const Aws::String &value)
const Aws::Utils::DateTime & GetSnapshotTime() const
const Aws::String & GetExportTaskIdentifier() const
void SetExportOnly(Aws::Vector< Aws::String > &&value)
CancelExportTaskResult & AddExportOnly(const Aws::String &value)
CancelExportTaskResult & AddExportOnly(const char *value)
CancelExportTaskResult & WithExportTaskIdentifier(const char *value)
void SetSnapshotTime(Aws::Utils::DateTime &&value)
CancelExportTaskResult & WithTaskStartTime(const Aws::Utils::DateTime &value)
void SetTaskStartTime(Aws::Utils::DateTime &&value)
CancelExportTaskResult & WithExportTaskIdentifier(Aws::String &&value)
CancelExportTaskResult & WithKmsKeyId(Aws::String &&value)
CancelExportTaskResult & WithTaskStartTime(Aws::Utils::DateTime &&value)
CancelExportTaskResult & WithPercentProgress(int value)
CancelExportTaskResult & WithWarningMessage(Aws::String &&value)
CancelExportTaskResult & WithWarningMessage(const Aws::String &value)
CancelExportTaskResult & WithS3Prefix(const Aws::String &value)
const Aws::Vector< Aws::String > & GetExportOnly() const
CancelExportTaskResult & WithS3Prefix(Aws::String &&value)
CancelExportTaskResult & WithTaskEndTime(Aws::Utils::DateTime &&value)
void SetResponseMetadata(const ResponseMetadata &value)
CancelExportTaskResult & WithSourceType(const ExportSourceType &value)
const ExportSourceType & GetSourceType() const
CancelExportTaskResult & WithStatus(const Aws::String &value)
CancelExportTaskResult & WithFailureCause(Aws::String &&value)
CancelExportTaskResult & WithSourceArn(const Aws::String &value)
void SetSourceArn(const Aws::String &value)
void SetTaskEndTime(const Aws::Utils::DateTime &value)
CancelExportTaskResult & WithExportTaskIdentifier(const Aws::String &value)
CancelExportTaskResult & WithSnapshotTime(Aws::Utils::DateTime &&value)
CancelExportTaskResult & WithIamRoleArn(const char *value)
const Aws::Utils::DateTime & GetTaskEndTime() const
AWS_RDS_API CancelExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CancelExportTaskResult & WithS3Bucket(Aws::String &&value)
void SetFailureCause(const Aws::String &value)
CancelExportTaskResult & WithTaskEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetTaskStartTime() const
void SetTaskEndTime(Aws::Utils::DateTime &&value)
void SetExportOnly(const Aws::Vector< Aws::String > &value)
CancelExportTaskResult & WithFailureCause(const char *value)
void SetSnapshotTime(const Aws::Utils::DateTime &value)
void SetSourceType(const ExportSourceType &value)
CancelExportTaskResult & WithS3Bucket(const Aws::String &value)
CancelExportTaskResult & WithSourceArn(const char *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