AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobProgressSummary.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/JobTimers.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
33 {
34 public:
35 AWS_S3CONTROL_API JobProgressSummary();
36 AWS_S3CONTROL_API JobProgressSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API JobProgressSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline long long GetTotalNumberOfTasks() const{ return m_totalNumberOfTasks; }
47 inline bool TotalNumberOfTasksHasBeenSet() const { return m_totalNumberOfTasksHasBeenSet; }
48 inline void SetTotalNumberOfTasks(long long value) { m_totalNumberOfTasksHasBeenSet = true; m_totalNumberOfTasks = value; }
49 inline JobProgressSummary& WithTotalNumberOfTasks(long long value) { SetTotalNumberOfTasks(value); return *this;}
51
53
56 inline long long GetNumberOfTasksSucceeded() const{ return m_numberOfTasksSucceeded; }
57 inline bool NumberOfTasksSucceededHasBeenSet() const { return m_numberOfTasksSucceededHasBeenSet; }
58 inline void SetNumberOfTasksSucceeded(long long value) { m_numberOfTasksSucceededHasBeenSet = true; m_numberOfTasksSucceeded = value; }
59 inline JobProgressSummary& WithNumberOfTasksSucceeded(long long value) { SetNumberOfTasksSucceeded(value); return *this;}
61
63
66 inline long long GetNumberOfTasksFailed() const{ return m_numberOfTasksFailed; }
67 inline bool NumberOfTasksFailedHasBeenSet() const { return m_numberOfTasksFailedHasBeenSet; }
68 inline void SetNumberOfTasksFailed(long long value) { m_numberOfTasksFailedHasBeenSet = true; m_numberOfTasksFailed = value; }
69 inline JobProgressSummary& WithNumberOfTasksFailed(long long value) { SetNumberOfTasksFailed(value); return *this;}
71
73
76 inline const JobTimers& GetTimers() const{ return m_timers; }
77 inline bool TimersHasBeenSet() const { return m_timersHasBeenSet; }
78 inline void SetTimers(const JobTimers& value) { m_timersHasBeenSet = true; m_timers = value; }
79 inline void SetTimers(JobTimers&& value) { m_timersHasBeenSet = true; m_timers = std::move(value); }
80 inline JobProgressSummary& WithTimers(const JobTimers& value) { SetTimers(value); return *this;}
81 inline JobProgressSummary& WithTimers(JobTimers&& value) { SetTimers(std::move(value)); return *this;}
83 private:
84
85 long long m_totalNumberOfTasks;
86 bool m_totalNumberOfTasksHasBeenSet = false;
87
88 long long m_numberOfTasksSucceeded;
89 bool m_numberOfTasksSucceededHasBeenSet = false;
90
91 long long m_numberOfTasksFailed;
92 bool m_numberOfTasksFailedHasBeenSet = false;
93
94 JobTimers m_timers;
95 bool m_timersHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace S3Control
100} // namespace Aws
JobProgressSummary & WithNumberOfTasksSucceeded(long long value)
AWS_S3CONTROL_API JobProgressSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobProgressSummary & WithNumberOfTasksFailed(long long value)
JobProgressSummary & WithTimers(JobTimers &&value)
JobProgressSummary & WithTimers(const JobTimers &value)
AWS_S3CONTROL_API JobProgressSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
JobProgressSummary & WithTotalNumberOfTasks(long long value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const