AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTaskExecutionResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/TaskExecutionStatus.h>
10#include <aws/datasync/model/Options.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datasync/model/ManifestConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/datasync/model/TaskExecutionResultDetail.h>
15#include <aws/datasync/model/TaskReportConfig.h>
16#include <aws/datasync/model/ReportResult.h>
17#include <aws/datasync/model/TaskMode.h>
18#include <aws/datasync/model/TaskExecutionFilesListedDetail.h>
19#include <aws/datasync/model/TaskExecutionFilesFailedDetail.h>
20#include <aws/datasync/model/FilterRule.h>
21#include <utility>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace DataSync
36{
37namespace Model
38{
45 {
46 public:
47 AWS_DATASYNC_API DescribeTaskExecutionResult();
50
51
53
63 inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; }
64 inline void SetTaskExecutionArn(const Aws::String& value) { m_taskExecutionArn = value; }
65 inline void SetTaskExecutionArn(Aws::String&& value) { m_taskExecutionArn = std::move(value); }
66 inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArn.assign(value); }
68 inline DescribeTaskExecutionResult& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;}
69 inline DescribeTaskExecutionResult& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;}
71
73
76 inline const TaskExecutionStatus& GetStatus() const{ return m_status; }
77 inline void SetStatus(const TaskExecutionStatus& value) { m_status = value; }
78 inline void SetStatus(TaskExecutionStatus&& value) { m_status = std::move(value); }
79 inline DescribeTaskExecutionResult& WithStatus(const TaskExecutionStatus& value) { SetStatus(value); return *this;}
80 inline DescribeTaskExecutionResult& WithStatus(TaskExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
85 inline const Options& GetOptions() const{ return m_options; }
86 inline void SetOptions(const Options& value) { m_options = value; }
87 inline void SetOptions(Options&& value) { m_options = std::move(value); }
88 inline DescribeTaskExecutionResult& WithOptions(const Options& value) { SetOptions(value); return *this;}
89 inline DescribeTaskExecutionResult& WithOptions(Options&& value) { SetOptions(std::move(value)); return *this;}
91
93
99 inline const Aws::Vector<FilterRule>& GetExcludes() const{ return m_excludes; }
100 inline void SetExcludes(const Aws::Vector<FilterRule>& value) { m_excludes = value; }
101 inline void SetExcludes(Aws::Vector<FilterRule>&& value) { m_excludes = std::move(value); }
103 inline DescribeTaskExecutionResult& WithExcludes(Aws::Vector<FilterRule>&& value) { SetExcludes(std::move(value)); return *this;}
104 inline DescribeTaskExecutionResult& AddExcludes(const FilterRule& value) { m_excludes.push_back(value); return *this; }
105 inline DescribeTaskExecutionResult& AddExcludes(FilterRule&& value) { m_excludes.push_back(std::move(value)); return *this; }
107
109
115 inline const Aws::Vector<FilterRule>& GetIncludes() const{ return m_includes; }
116 inline void SetIncludes(const Aws::Vector<FilterRule>& value) { m_includes = value; }
117 inline void SetIncludes(Aws::Vector<FilterRule>&& value) { m_includes = std::move(value); }
119 inline DescribeTaskExecutionResult& WithIncludes(Aws::Vector<FilterRule>&& value) { SetIncludes(std::move(value)); return *this;}
120 inline DescribeTaskExecutionResult& AddIncludes(const FilterRule& value) { m_includes.push_back(value); return *this; }
121 inline DescribeTaskExecutionResult& AddIncludes(FilterRule&& value) { m_includes.push_back(std::move(value)); return *this; }
123
125
131 inline const ManifestConfig& GetManifestConfig() const{ return m_manifestConfig; }
132 inline void SetManifestConfig(const ManifestConfig& value) { m_manifestConfig = value; }
133 inline void SetManifestConfig(ManifestConfig&& value) { m_manifestConfig = std::move(value); }
135 inline DescribeTaskExecutionResult& WithManifestConfig(ManifestConfig&& value) { SetManifestConfig(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
143 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
144 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
145 inline DescribeTaskExecutionResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
146 inline DescribeTaskExecutionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
148
150
172 inline long long GetEstimatedFilesToTransfer() const{ return m_estimatedFilesToTransfer; }
173 inline void SetEstimatedFilesToTransfer(long long value) { m_estimatedFilesToTransfer = value; }
176
178
182 inline long long GetEstimatedBytesToTransfer() const{ return m_estimatedBytesToTransfer; }
183 inline void SetEstimatedBytesToTransfer(long long value) { m_estimatedBytesToTransfer = value; }
186
188
200 inline long long GetFilesTransferred() const{ return m_filesTransferred; }
201 inline void SetFilesTransferred(long long value) { m_filesTransferred = value; }
202 inline DescribeTaskExecutionResult& WithFilesTransferred(long long value) { SetFilesTransferred(value); return *this;}
204
206
210 inline long long GetBytesWritten() const{ return m_bytesWritten; }
211 inline void SetBytesWritten(long long value) { m_bytesWritten = value; }
212 inline DescribeTaskExecutionResult& WithBytesWritten(long long value) { SetBytesWritten(value); return *this;}
214
216
223 inline long long GetBytesTransferred() const{ return m_bytesTransferred; }
224 inline void SetBytesTransferred(long long value) { m_bytesTransferred = value; }
225 inline DescribeTaskExecutionResult& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;}
227
229
238 inline long long GetBytesCompressed() const{ return m_bytesCompressed; }
239 inline void SetBytesCompressed(long long value) { m_bytesCompressed = value; }
240 inline DescribeTaskExecutionResult& WithBytesCompressed(long long value) { SetBytesCompressed(value); return *this;}
242
244
247 inline const TaskExecutionResultDetail& GetResult() const{ return m_result; }
248 inline void SetResult(const TaskExecutionResultDetail& value) { m_result = value; }
249 inline void SetResult(TaskExecutionResultDetail&& value) { m_result = std::move(value); }
250 inline DescribeTaskExecutionResult& WithResult(const TaskExecutionResultDetail& value) { SetResult(value); return *this;}
251 inline DescribeTaskExecutionResult& WithResult(TaskExecutionResultDetail&& value) { SetResult(std::move(value)); return *this;}
253
255
261 inline const TaskReportConfig& GetTaskReportConfig() const{ return m_taskReportConfig; }
262 inline void SetTaskReportConfig(const TaskReportConfig& value) { m_taskReportConfig = value; }
263 inline void SetTaskReportConfig(TaskReportConfig&& value) { m_taskReportConfig = std::move(value); }
267
269
276 inline long long GetFilesDeleted() const{ return m_filesDeleted; }
277 inline void SetFilesDeleted(long long value) { m_filesDeleted = value; }
278 inline DescribeTaskExecutionResult& WithFilesDeleted(long long value) { SetFilesDeleted(value); return *this;}
280
282
286 inline long long GetFilesSkipped() const{ return m_filesSkipped; }
287 inline void SetFilesSkipped(long long value) { m_filesSkipped = value; }
288 inline DescribeTaskExecutionResult& WithFilesSkipped(long long value) { SetFilesSkipped(value); return *this;}
290
292
299 inline long long GetFilesVerified() const{ return m_filesVerified; }
300 inline void SetFilesVerified(long long value) { m_filesVerified = value; }
301 inline DescribeTaskExecutionResult& WithFilesVerified(long long value) { SetFilesVerified(value); return *this;}
303
305
310 inline const ReportResult& GetReportResult() const{ return m_reportResult; }
311 inline void SetReportResult(const ReportResult& value) { m_reportResult = value; }
312 inline void SetReportResult(ReportResult&& value) { m_reportResult = std::move(value); }
313 inline DescribeTaskExecutionResult& WithReportResult(const ReportResult& value) { SetReportResult(value); return *this;}
314 inline DescribeTaskExecutionResult& WithReportResult(ReportResult&& value) { SetReportResult(std::move(value)); return *this;}
316
318
325 inline long long GetEstimatedFilesToDelete() const{ return m_estimatedFilesToDelete; }
326 inline void SetEstimatedFilesToDelete(long long value) { m_estimatedFilesToDelete = value; }
329
331
336 inline const TaskMode& GetTaskMode() const{ return m_taskMode; }
337 inline void SetTaskMode(const TaskMode& value) { m_taskMode = value; }
338 inline void SetTaskMode(TaskMode&& value) { m_taskMode = std::move(value); }
339 inline DescribeTaskExecutionResult& WithTaskMode(const TaskMode& value) { SetTaskMode(value); return *this;}
340 inline DescribeTaskExecutionResult& WithTaskMode(TaskMode&& value) { SetTaskMode(std::move(value)); return *this;}
342
344
354 inline long long GetFilesPrepared() const{ return m_filesPrepared; }
355 inline void SetFilesPrepared(long long value) { m_filesPrepared = value; }
356 inline DescribeTaskExecutionResult& WithFilesPrepared(long long value) { SetFilesPrepared(value); return *this;}
358
360
366 inline const TaskExecutionFilesListedDetail& GetFilesListed() const{ return m_filesListed; }
367 inline void SetFilesListed(const TaskExecutionFilesListedDetail& value) { m_filesListed = value; }
368 inline void SetFilesListed(TaskExecutionFilesListedDetail&& value) { m_filesListed = std::move(value); }
372
374
380 inline const TaskExecutionFilesFailedDetail& GetFilesFailed() const{ return m_filesFailed; }
381 inline void SetFilesFailed(const TaskExecutionFilesFailedDetail& value) { m_filesFailed = value; }
382 inline void SetFilesFailed(TaskExecutionFilesFailedDetail&& value) { m_filesFailed = std::move(value); }
386
388
389 inline const Aws::String& GetRequestId() const{ return m_requestId; }
390 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
391 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
392 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
393 inline DescribeTaskExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
394 inline DescribeTaskExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
395 inline DescribeTaskExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
397 private:
398
399 Aws::String m_taskExecutionArn;
400
401 TaskExecutionStatus m_status;
402
403 Options m_options;
404
405 Aws::Vector<FilterRule> m_excludes;
406
407 Aws::Vector<FilterRule> m_includes;
408
409 ManifestConfig m_manifestConfig;
410
411 Aws::Utils::DateTime m_startTime;
412
413 long long m_estimatedFilesToTransfer;
414
415 long long m_estimatedBytesToTransfer;
416
417 long long m_filesTransferred;
418
419 long long m_bytesWritten;
420
421 long long m_bytesTransferred;
422
423 long long m_bytesCompressed;
424
426
427 TaskReportConfig m_taskReportConfig;
428
429 long long m_filesDeleted;
430
431 long long m_filesSkipped;
432
433 long long m_filesVerified;
434
435 ReportResult m_reportResult;
436
437 long long m_estimatedFilesToDelete;
438
439 TaskMode m_taskMode;
440
441 long long m_filesPrepared;
442
443 TaskExecutionFilesListedDetail m_filesListed;
444
445 TaskExecutionFilesFailedDetail m_filesFailed;
446
447 Aws::String m_requestId;
448 };
449
450} // namespace Model
451} // namespace DataSync
452} // namespace Aws
DescribeTaskExecutionResult & WithTaskExecutionArn(Aws::String &&value)
DescribeTaskExecutionResult & WithFilesPrepared(long long value)
DescribeTaskExecutionResult & WithReportResult(const ReportResult &value)
void SetFilesFailed(TaskExecutionFilesFailedDetail &&value)
void SetIncludes(const Aws::Vector< FilterRule > &value)
DescribeTaskExecutionResult & WithTaskReportConfig(const TaskReportConfig &value)
DescribeTaskExecutionResult & WithRequestId(Aws::String &&value)
DescribeTaskExecutionResult & WithFilesDeleted(long long value)
DescribeTaskExecutionResult & WithFilesTransferred(long long value)
DescribeTaskExecutionResult & WithTaskExecutionArn(const char *value)
DescribeTaskExecutionResult & WithRequestId(const Aws::String &value)
DescribeTaskExecutionResult & WithBytesWritten(long long value)
DescribeTaskExecutionResult & WithIncludes(Aws::Vector< FilterRule > &&value)
DescribeTaskExecutionResult & WithEstimatedFilesToTransfer(long long value)
DescribeTaskExecutionResult & WithManifestConfig(ManifestConfig &&value)
DescribeTaskExecutionResult & WithRequestId(const char *value)
DescribeTaskExecutionResult & WithFilesFailed(const TaskExecutionFilesFailedDetail &value)
DescribeTaskExecutionResult & AddExcludes(FilterRule &&value)
DescribeTaskExecutionResult & WithTaskMode(TaskMode &&value)
DescribeTaskExecutionResult & WithOptions(Options &&value)
AWS_DATASYNC_API DescribeTaskExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTaskExecutionResult & WithFilesListed(const TaskExecutionFilesListedDetail &value)
DescribeTaskExecutionResult & WithEstimatedBytesToTransfer(long long value)
DescribeTaskExecutionResult & WithResult(const TaskExecutionResultDetail &value)
DescribeTaskExecutionResult & WithTaskExecutionArn(const Aws::String &value)
const TaskExecutionFilesFailedDetail & GetFilesFailed() const
DescribeTaskExecutionResult & WithFilesListed(TaskExecutionFilesListedDetail &&value)
const TaskExecutionFilesListedDetail & GetFilesListed() const
void SetExcludes(const Aws::Vector< FilterRule > &value)
DescribeTaskExecutionResult & WithStartTime(const Aws::Utils::DateTime &value)
DescribeTaskExecutionResult & WithStatus(TaskExecutionStatus &&value)
const TaskExecutionResultDetail & GetResult() const
void SetFilesFailed(const TaskExecutionFilesFailedDetail &value)
DescribeTaskExecutionResult & WithTaskReportConfig(TaskReportConfig &&value)
DescribeTaskExecutionResult & WithIncludes(const Aws::Vector< FilterRule > &value)
DescribeTaskExecutionResult & WithFilesSkipped(long long value)
DescribeTaskExecutionResult & AddExcludes(const FilterRule &value)
void SetResult(const TaskExecutionResultDetail &value)
DescribeTaskExecutionResult & WithStatus(const TaskExecutionStatus &value)
DescribeTaskExecutionResult & WithReportResult(ReportResult &&value)
DescribeTaskExecutionResult & AddIncludes(FilterRule &&value)
DescribeTaskExecutionResult & WithEstimatedFilesToDelete(long long value)
DescribeTaskExecutionResult & WithOptions(const Options &value)
DescribeTaskExecutionResult & WithResult(TaskExecutionResultDetail &&value)
DescribeTaskExecutionResult & WithTaskMode(const TaskMode &value)
DescribeTaskExecutionResult & WithFilesFailed(TaskExecutionFilesFailedDetail &&value)
DescribeTaskExecutionResult & WithExcludes(Aws::Vector< FilterRule > &&value)
DescribeTaskExecutionResult & WithFilesVerified(long long value)
const Aws::Vector< FilterRule > & GetIncludes() const
DescribeTaskExecutionResult & AddIncludes(const FilterRule &value)
DescribeTaskExecutionResult & WithExcludes(const Aws::Vector< FilterRule > &value)
DescribeTaskExecutionResult & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< FilterRule > & GetExcludes() const
DescribeTaskExecutionResult & WithBytesCompressed(long long value)
DescribeTaskExecutionResult & WithManifestConfig(const ManifestConfig &value)
DescribeTaskExecutionResult & WithBytesTransferred(long long value)
void SetFilesListed(TaskExecutionFilesListedDetail &&value)
void SetFilesListed(const TaskExecutionFilesListedDetail &value)
AWS_DATASYNC_API DescribeTaskExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue