AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataSetExportSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MainframeModernization {
17namespace Model {
18
25 public:
26 AWS_MAINFRAMEMODERNIZATION_API DataSetExportSummary() = default;
27 AWS_MAINFRAMEMODERNIZATION_API DataSetExportSummary(Aws::Utils::Json::JsonView jsonValue);
28 AWS_MAINFRAMEMODERNIZATION_API DataSetExportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetFailed() const { return m_failed; }
36 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
37 inline void SetFailed(int value) {
38 m_failedHasBeenSet = true;
39 m_failed = value;
40 }
41 inline DataSetExportSummary& WithFailed(int value) {
42 SetFailed(value);
43 return *this;
44 }
46
48
51 inline int GetInProgress() const { return m_inProgress; }
52 inline bool InProgressHasBeenSet() const { return m_inProgressHasBeenSet; }
53 inline void SetInProgress(int value) {
54 m_inProgressHasBeenSet = true;
55 m_inProgress = value;
56 }
58 SetInProgress(value);
59 return *this;
60 }
62
64
67 inline int GetPending() const { return m_pending; }
68 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
69 inline void SetPending(int value) {
70 m_pendingHasBeenSet = true;
71 m_pending = value;
72 }
73 inline DataSetExportSummary& WithPending(int value) {
74 SetPending(value);
75 return *this;
76 }
78
80
83 inline int GetSucceeded() const { return m_succeeded; }
84 inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
85 inline void SetSucceeded(int value) {
86 m_succeededHasBeenSet = true;
87 m_succeeded = value;
88 }
90 SetSucceeded(value);
91 return *this;
92 }
94
96
99 inline int GetTotal() const { return m_total; }
100 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
101 inline void SetTotal(int value) {
102 m_totalHasBeenSet = true;
103 m_total = value;
104 }
105 inline DataSetExportSummary& WithTotal(int value) {
106 SetTotal(value);
107 return *this;
108 }
110 private:
111 int m_failed{0};
112
113 int m_inProgress{0};
114
115 int m_pending{0};
116
117 int m_succeeded{0};
118
119 int m_total{0};
120 bool m_failedHasBeenSet = false;
121 bool m_inProgressHasBeenSet = false;
122 bool m_pendingHasBeenSet = false;
123 bool m_succeededHasBeenSet = false;
124 bool m_totalHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace MainframeModernization
129} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API DataSetExportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API DataSetExportSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API DataSetExportSummary()=default
Aws::Utils::Json::JsonValue JsonValue