AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceCountsSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Proton
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_PROTON_API ResourceCountsSummary();
35 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetBehindMajor() const{ return m_behindMajor; }
44 inline bool BehindMajorHasBeenSet() const { return m_behindMajorHasBeenSet; }
45 inline void SetBehindMajor(int value) { m_behindMajorHasBeenSet = true; m_behindMajor = value; }
46 inline ResourceCountsSummary& WithBehindMajor(int value) { SetBehindMajor(value); return *this;}
48
50
54 inline int GetBehindMinor() const{ return m_behindMinor; }
55 inline bool BehindMinorHasBeenSet() const { return m_behindMinorHasBeenSet; }
56 inline void SetBehindMinor(int value) { m_behindMinorHasBeenSet = true; m_behindMinor = value; }
57 inline ResourceCountsSummary& WithBehindMinor(int value) { SetBehindMinor(value); return *this;}
59
61
65 inline int GetFailed() const{ return m_failed; }
66 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
67 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
68 inline ResourceCountsSummary& WithFailed(int value) { SetFailed(value); return *this;}
70
72
76 inline int GetTotal() const{ return m_total; }
77 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
78 inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
79 inline ResourceCountsSummary& WithTotal(int value) { SetTotal(value); return *this;}
81
83
87 inline int GetUpToDate() const{ return m_upToDate; }
88 inline bool UpToDateHasBeenSet() const { return m_upToDateHasBeenSet; }
89 inline void SetUpToDate(int value) { m_upToDateHasBeenSet = true; m_upToDate = value; }
90 inline ResourceCountsSummary& WithUpToDate(int value) { SetUpToDate(value); return *this;}
92 private:
93
94 int m_behindMajor;
95 bool m_behindMajorHasBeenSet = false;
96
97 int m_behindMinor;
98 bool m_behindMinorHasBeenSet = false;
99
100 int m_failed;
101 bool m_failedHasBeenSet = false;
102
103 int m_total;
104 bool m_totalHasBeenSet = false;
105
106 int m_upToDate;
107 bool m_upToDateHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Proton
112} // namespace Aws
AWS_PROTON_API ResourceCountsSummary(Aws::Utils::Json::JsonView jsonValue)
ResourceCountsSummary & WithUpToDate(int value)
ResourceCountsSummary & WithBehindMinor(int value)
ResourceCountsSummary & WithTotal(int value)
ResourceCountsSummary & WithFailed(int value)
AWS_PROTON_API ResourceCountsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceCountsSummary & WithBehindMajor(int value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue