AWS SDK for C++  1.8.157
AWS SDK for C++
JobProgressSummary.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Xml
14 {
15  class XmlNode;
16 } // namespace Xml
17 } // namespace Utils
18 namespace S3Control
19 {
20 namespace Model
21 {
22 
31  {
32  public:
36 
37  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38 
39 
43  inline long long GetTotalNumberOfTasks() const{ return m_totalNumberOfTasks; }
44 
48  inline bool TotalNumberOfTasksHasBeenSet() const { return m_totalNumberOfTasksHasBeenSet; }
49 
53  inline void SetTotalNumberOfTasks(long long value) { m_totalNumberOfTasksHasBeenSet = true; m_totalNumberOfTasks = value; }
54 
58  inline JobProgressSummary& WithTotalNumberOfTasks(long long value) { SetTotalNumberOfTasks(value); return *this;}
59 
60 
64  inline long long GetNumberOfTasksSucceeded() const{ return m_numberOfTasksSucceeded; }
65 
69  inline bool NumberOfTasksSucceededHasBeenSet() const { return m_numberOfTasksSucceededHasBeenSet; }
70 
74  inline void SetNumberOfTasksSucceeded(long long value) { m_numberOfTasksSucceededHasBeenSet = true; m_numberOfTasksSucceeded = value; }
75 
79  inline JobProgressSummary& WithNumberOfTasksSucceeded(long long value) { SetNumberOfTasksSucceeded(value); return *this;}
80 
81 
85  inline long long GetNumberOfTasksFailed() const{ return m_numberOfTasksFailed; }
86 
90  inline bool NumberOfTasksFailedHasBeenSet() const { return m_numberOfTasksFailedHasBeenSet; }
91 
95  inline void SetNumberOfTasksFailed(long long value) { m_numberOfTasksFailedHasBeenSet = true; m_numberOfTasksFailed = value; }
96 
100  inline JobProgressSummary& WithNumberOfTasksFailed(long long value) { SetNumberOfTasksFailed(value); return *this;}
101 
102  private:
103 
104  long long m_totalNumberOfTasks;
105  bool m_totalNumberOfTasksHasBeenSet;
106 
107  long long m_numberOfTasksSucceeded;
108  bool m_numberOfTasksSucceededHasBeenSet;
109 
110  long long m_numberOfTasksFailed;
111  bool m_numberOfTasksFailedHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace S3Control
116 } // namespace Aws
Aws::S3Control::Model::JobProgressSummary::WithNumberOfTasksSucceeded
JobProgressSummary & WithNumberOfTasksSucceeded(long long value)
Definition: JobProgressSummary.h:79
Aws::S3Control::Model::JobProgressSummary::GetNumberOfTasksSucceeded
long long GetNumberOfTasksSucceeded() const
Definition: JobProgressSummary.h:64
Aws::S3Control::Model::JobProgressSummary::operator=
JobProgressSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobProgressSummary::JobProgressSummary
JobProgressSummary()
Aws::S3Control::Model::JobProgressSummary::NumberOfTasksFailedHasBeenSet
bool NumberOfTasksFailedHasBeenSet() const
Definition: JobProgressSummary.h:90
Aws::S3Control::Model::JobProgressSummary::GetNumberOfTasksFailed
long long GetNumberOfTasksFailed() const
Definition: JobProgressSummary.h:85
Aws::S3Control::Model::JobProgressSummary::WithTotalNumberOfTasks
JobProgressSummary & WithTotalNumberOfTasks(long long value)
Definition: JobProgressSummary.h:58
Aws::S3Control::Model::JobProgressSummary::GetTotalNumberOfTasks
long long GetTotalNumberOfTasks() const
Definition: JobProgressSummary.h:43
S3Control_EXPORTS.h
Aws::S3Control::Model::JobProgressSummary::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobProgressSummary::JobProgressSummary
JobProgressSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobProgressSummary::SetTotalNumberOfTasks
void SetTotalNumberOfTasks(long long value)
Definition: JobProgressSummary.h:53
Aws::S3Control::Model::JobProgressSummary::SetNumberOfTasksSucceeded
void SetNumberOfTasksSucceeded(long long value)
Definition: JobProgressSummary.h:74
Aws::S3Control::Model::JobProgressSummary::WithNumberOfTasksFailed
JobProgressSummary & WithNumberOfTasksFailed(long long value)
Definition: JobProgressSummary.h:100
Aws::S3Control::Model::JobProgressSummary::NumberOfTasksSucceededHasBeenSet
bool NumberOfTasksSucceededHasBeenSet() const
Definition: JobProgressSummary.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobProgressSummary::SetNumberOfTasksFailed
void SetNumberOfTasksFailed(long long value)
Definition: JobProgressSummary.h:95
Aws::S3Control::Model::JobProgressSummary
Definition: JobProgressSummary.h:31
Aws::S3Control::Model::JobProgressSummary::TotalNumberOfTasksHasBeenSet
bool TotalNumberOfTasksHasBeenSet() const
Definition: JobProgressSummary.h:48