AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeploymentOverview.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CodeDeploy {
17namespace Model {
18
26 public:
27 AWS_CODEDEPLOY_API DeploymentOverview() = default;
28 AWS_CODEDEPLOY_API DeploymentOverview(Aws::Utils::Json::JsonView jsonValue);
30 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetPending() const { return m_pending; }
37 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
38 inline void SetPending(long long value) {
39 m_pendingHasBeenSet = true;
40 m_pending = value;
41 }
42 inline DeploymentOverview& WithPending(long long value) {
43 SetPending(value);
44 return *this;
45 }
47
49
52 inline long long GetInProgress() const { return m_inProgress; }
53 inline bool InProgressHasBeenSet() const { return m_inProgressHasBeenSet; }
54 inline void SetInProgress(long long value) {
55 m_inProgressHasBeenSet = true;
56 m_inProgress = value;
57 }
58 inline DeploymentOverview& WithInProgress(long long value) {
59 SetInProgress(value);
60 return *this;
61 }
63
65
69 inline long long GetSucceeded() const { return m_succeeded; }
70 inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
71 inline void SetSucceeded(long long value) {
72 m_succeededHasBeenSet = true;
73 m_succeeded = value;
74 }
75 inline DeploymentOverview& WithSucceeded(long long value) {
76 SetSucceeded(value);
77 return *this;
78 }
80
82
85 inline long long GetFailed() const { return m_failed; }
86 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
87 inline void SetFailed(long long value) {
88 m_failedHasBeenSet = true;
89 m_failed = value;
90 }
91 inline DeploymentOverview& WithFailed(long long value) {
92 SetFailed(value);
93 return *this;
94 }
96
98
101 inline long long GetSkipped() const { return m_skipped; }
102 inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; }
103 inline void SetSkipped(long long value) {
104 m_skippedHasBeenSet = true;
105 m_skipped = value;
106 }
107 inline DeploymentOverview& WithSkipped(long long value) {
108 SetSkipped(value);
109 return *this;
110 }
112
114
118 inline long long GetReady() const { return m_ready; }
119 inline bool ReadyHasBeenSet() const { return m_readyHasBeenSet; }
120 inline void SetReady(long long value) {
121 m_readyHasBeenSet = true;
122 m_ready = value;
123 }
124 inline DeploymentOverview& WithReady(long long value) {
125 SetReady(value);
126 return *this;
127 }
129 private:
130 long long m_pending{0};
131
132 long long m_inProgress{0};
133
134 long long m_succeeded{0};
135
136 long long m_failed{0};
137
138 long long m_skipped{0};
139
140 long long m_ready{0};
141 bool m_pendingHasBeenSet = false;
142 bool m_inProgressHasBeenSet = false;
143 bool m_succeededHasBeenSet = false;
144 bool m_failedHasBeenSet = false;
145 bool m_skippedHasBeenSet = false;
146 bool m_readyHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace CodeDeploy
151} // namespace Aws
DeploymentOverview & WithSucceeded(long long value)
AWS_CODEDEPLOY_API DeploymentOverview(Aws::Utils::Json::JsonView jsonValue)
DeploymentOverview & WithSkipped(long long value)
DeploymentOverview & WithFailed(long long value)
DeploymentOverview & WithInProgress(long long value)
AWS_CODEDEPLOY_API DeploymentOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API DeploymentOverview()=default
DeploymentOverview & WithPending(long long value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentOverview & WithReady(long long value)
Aws::Utils::Json::JsonValue JsonValue