AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CustomerAgentInfo.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ApplicationDiscoveryService {
17namespace Model {
18
25 public:
26 AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo() = default;
27 AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo(Aws::Utils::Json::JsonView jsonValue);
28 AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetActiveAgents() const { return m_activeAgents; }
36 inline bool ActiveAgentsHasBeenSet() const { return m_activeAgentsHasBeenSet; }
37 inline void SetActiveAgents(int value) {
38 m_activeAgentsHasBeenSet = true;
39 m_activeAgents = value;
40 }
42 SetActiveAgents(value);
43 return *this;
44 }
46
48
51 inline int GetHealthyAgents() const { return m_healthyAgents; }
52 inline bool HealthyAgentsHasBeenSet() const { return m_healthyAgentsHasBeenSet; }
53 inline void SetHealthyAgents(int value) {
54 m_healthyAgentsHasBeenSet = true;
55 m_healthyAgents = value;
56 }
58 SetHealthyAgents(value);
59 return *this;
60 }
62
64
67 inline int GetBlackListedAgents() const { return m_blackListedAgents; }
68 inline bool BlackListedAgentsHasBeenSet() const { return m_blackListedAgentsHasBeenSet; }
69 inline void SetBlackListedAgents(int value) {
70 m_blackListedAgentsHasBeenSet = true;
71 m_blackListedAgents = value;
72 }
75 return *this;
76 }
78
80
83 inline int GetShutdownAgents() const { return m_shutdownAgents; }
84 inline bool ShutdownAgentsHasBeenSet() const { return m_shutdownAgentsHasBeenSet; }
85 inline void SetShutdownAgents(int value) {
86 m_shutdownAgentsHasBeenSet = true;
87 m_shutdownAgents = value;
88 }
90 SetShutdownAgents(value);
91 return *this;
92 }
94
96
99 inline int GetUnhealthyAgents() const { return m_unhealthyAgents; }
100 inline bool UnhealthyAgentsHasBeenSet() const { return m_unhealthyAgentsHasBeenSet; }
101 inline void SetUnhealthyAgents(int value) {
102 m_unhealthyAgentsHasBeenSet = true;
103 m_unhealthyAgents = value;
104 }
106 SetUnhealthyAgents(value);
107 return *this;
108 }
110
112
115 inline int GetTotalAgents() const { return m_totalAgents; }
116 inline bool TotalAgentsHasBeenSet() const { return m_totalAgentsHasBeenSet; }
117 inline void SetTotalAgents(int value) {
118 m_totalAgentsHasBeenSet = true;
119 m_totalAgents = value;
120 }
122 SetTotalAgents(value);
123 return *this;
124 }
126
128
131 inline int GetUnknownAgents() const { return m_unknownAgents; }
132 inline bool UnknownAgentsHasBeenSet() const { return m_unknownAgentsHasBeenSet; }
133 inline void SetUnknownAgents(int value) {
134 m_unknownAgentsHasBeenSet = true;
135 m_unknownAgents = value;
136 }
138 SetUnknownAgents(value);
139 return *this;
140 }
142 private:
143 int m_activeAgents{0};
144
145 int m_healthyAgents{0};
146
147 int m_blackListedAgents{0};
148
149 int m_shutdownAgents{0};
150
151 int m_unhealthyAgents{0};
152
153 int m_totalAgents{0};
154
155 int m_unknownAgents{0};
156 bool m_activeAgentsHasBeenSet = false;
157 bool m_healthyAgentsHasBeenSet = false;
158 bool m_blackListedAgentsHasBeenSet = false;
159 bool m_shutdownAgentsHasBeenSet = false;
160 bool m_unhealthyAgentsHasBeenSet = false;
161 bool m_totalAgentsHasBeenSet = false;
162 bool m_unknownAgentsHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace ApplicationDiscoveryService
167} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo()=default
AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue