AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomerAgentInfo.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_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 ApplicationDiscoveryService
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo();
33 AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetActiveAgents() const{ return m_activeAgents; }
43 inline bool ActiveAgentsHasBeenSet() const { return m_activeAgentsHasBeenSet; }
44 inline void SetActiveAgents(int value) { m_activeAgentsHasBeenSet = true; m_activeAgents = value; }
45 inline CustomerAgentInfo& WithActiveAgents(int value) { SetActiveAgents(value); return *this;}
47
49
52 inline int GetHealthyAgents() const{ return m_healthyAgents; }
53 inline bool HealthyAgentsHasBeenSet() const { return m_healthyAgentsHasBeenSet; }
54 inline void SetHealthyAgents(int value) { m_healthyAgentsHasBeenSet = true; m_healthyAgents = value; }
55 inline CustomerAgentInfo& WithHealthyAgents(int value) { SetHealthyAgents(value); return *this;}
57
59
62 inline int GetBlackListedAgents() const{ return m_blackListedAgents; }
63 inline bool BlackListedAgentsHasBeenSet() const { return m_blackListedAgentsHasBeenSet; }
64 inline void SetBlackListedAgents(int value) { m_blackListedAgentsHasBeenSet = true; m_blackListedAgents = value; }
65 inline CustomerAgentInfo& WithBlackListedAgents(int value) { SetBlackListedAgents(value); return *this;}
67
69
72 inline int GetShutdownAgents() const{ return m_shutdownAgents; }
73 inline bool ShutdownAgentsHasBeenSet() const { return m_shutdownAgentsHasBeenSet; }
74 inline void SetShutdownAgents(int value) { m_shutdownAgentsHasBeenSet = true; m_shutdownAgents = value; }
75 inline CustomerAgentInfo& WithShutdownAgents(int value) { SetShutdownAgents(value); return *this;}
77
79
82 inline int GetUnhealthyAgents() const{ return m_unhealthyAgents; }
83 inline bool UnhealthyAgentsHasBeenSet() const { return m_unhealthyAgentsHasBeenSet; }
84 inline void SetUnhealthyAgents(int value) { m_unhealthyAgentsHasBeenSet = true; m_unhealthyAgents = value; }
85 inline CustomerAgentInfo& WithUnhealthyAgents(int value) { SetUnhealthyAgents(value); return *this;}
87
89
92 inline int GetTotalAgents() const{ return m_totalAgents; }
93 inline bool TotalAgentsHasBeenSet() const { return m_totalAgentsHasBeenSet; }
94 inline void SetTotalAgents(int value) { m_totalAgentsHasBeenSet = true; m_totalAgents = value; }
95 inline CustomerAgentInfo& WithTotalAgents(int value) { SetTotalAgents(value); return *this;}
97
99
102 inline int GetUnknownAgents() const{ return m_unknownAgents; }
103 inline bool UnknownAgentsHasBeenSet() const { return m_unknownAgentsHasBeenSet; }
104 inline void SetUnknownAgents(int value) { m_unknownAgentsHasBeenSet = true; m_unknownAgents = value; }
105 inline CustomerAgentInfo& WithUnknownAgents(int value) { SetUnknownAgents(value); return *this;}
107 private:
108
109 int m_activeAgents;
110 bool m_activeAgentsHasBeenSet = false;
111
112 int m_healthyAgents;
113 bool m_healthyAgentsHasBeenSet = false;
114
115 int m_blackListedAgents;
116 bool m_blackListedAgentsHasBeenSet = false;
117
118 int m_shutdownAgents;
119 bool m_shutdownAgentsHasBeenSet = false;
120
121 int m_unhealthyAgents;
122 bool m_unhealthyAgentsHasBeenSet = false;
123
124 int m_totalAgents;
125 bool m_totalAgentsHasBeenSet = false;
126
127 int m_unknownAgents;
128 bool m_unknownAgentsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ApplicationDiscoveryService
133} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo()
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue