AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetDiscoverySummaryResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
9#include <aws/discovery/model/CustomerAgentInfo.h>
10#include <aws/discovery/model/CustomerAgentlessCollectorInfo.h>
11#include <aws/discovery/model/CustomerConnectorInfo.h>
12#include <aws/discovery/model/CustomerMeCollectorInfo.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationDiscoveryService {
26namespace Model {
28 public:
29 AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult() = default;
31 AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult& operator=(
33
35
38 inline long long GetServers() const { return m_servers; }
39 inline void SetServers(long long value) {
40 m_serversHasBeenSet = true;
41 m_servers = value;
42 }
43 inline GetDiscoverySummaryResult& WithServers(long long value) {
44 SetServers(value);
45 return *this;
46 }
48
50
53 inline long long GetApplications() const { return m_applications; }
54 inline void SetApplications(long long value) {
55 m_applicationsHasBeenSet = true;
56 m_applications = value;
57 }
59 SetApplications(value);
60 return *this;
61 }
63
65
68 inline long long GetServersMappedToApplications() const { return m_serversMappedToApplications; }
69 inline void SetServersMappedToApplications(long long value) {
70 m_serversMappedToApplicationsHasBeenSet = true;
71 m_serversMappedToApplications = value;
72 }
75 return *this;
76 }
78
80
83 inline long long GetServersMappedtoTags() const { return m_serversMappedtoTags; }
84 inline void SetServersMappedtoTags(long long value) {
85 m_serversMappedtoTagsHasBeenSet = true;
86 m_serversMappedtoTags = value;
87 }
90 return *this;
91 }
93
95
98 inline const CustomerAgentInfo& GetAgentSummary() const { return m_agentSummary; }
99 template <typename AgentSummaryT = CustomerAgentInfo>
100 void SetAgentSummary(AgentSummaryT&& value) {
101 m_agentSummaryHasBeenSet = true;
102 m_agentSummary = std::forward<AgentSummaryT>(value);
103 }
104 template <typename AgentSummaryT = CustomerAgentInfo>
106 SetAgentSummary(std::forward<AgentSummaryT>(value));
107 return *this;
108 }
110
112
116 inline const CustomerConnectorInfo& GetConnectorSummary() const { return m_connectorSummary; }
117 template <typename ConnectorSummaryT = CustomerConnectorInfo>
118 void SetConnectorSummary(ConnectorSummaryT&& value) {
119 m_connectorSummaryHasBeenSet = true;
120 m_connectorSummary = std::forward<ConnectorSummaryT>(value);
121 }
122 template <typename ConnectorSummaryT = CustomerConnectorInfo>
124 SetConnectorSummary(std::forward<ConnectorSummaryT>(value));
125 return *this;
126 }
128
130
134 inline const CustomerMeCollectorInfo& GetMeCollectorSummary() const { return m_meCollectorSummary; }
135 template <typename MeCollectorSummaryT = CustomerMeCollectorInfo>
136 void SetMeCollectorSummary(MeCollectorSummaryT&& value) {
137 m_meCollectorSummaryHasBeenSet = true;
138 m_meCollectorSummary = std::forward<MeCollectorSummaryT>(value);
139 }
140 template <typename MeCollectorSummaryT = CustomerMeCollectorInfo>
141 GetDiscoverySummaryResult& WithMeCollectorSummary(MeCollectorSummaryT&& value) {
142 SetMeCollectorSummary(std::forward<MeCollectorSummaryT>(value));
143 return *this;
144 }
146
148
151 inline const CustomerAgentlessCollectorInfo& GetAgentlessCollectorSummary() const { return m_agentlessCollectorSummary; }
152 template <typename AgentlessCollectorSummaryT = CustomerAgentlessCollectorInfo>
153 void SetAgentlessCollectorSummary(AgentlessCollectorSummaryT&& value) {
154 m_agentlessCollectorSummaryHasBeenSet = true;
155 m_agentlessCollectorSummary = std::forward<AgentlessCollectorSummaryT>(value);
156 }
157 template <typename AgentlessCollectorSummaryT = CustomerAgentlessCollectorInfo>
158 GetDiscoverySummaryResult& WithAgentlessCollectorSummary(AgentlessCollectorSummaryT&& value) {
159 SetAgentlessCollectorSummary(std::forward<AgentlessCollectorSummaryT>(value));
160 return *this;
161 }
163
165
166 inline const Aws::String& GetRequestId() const { return m_requestId; }
167 template <typename RequestIdT = Aws::String>
168 void SetRequestId(RequestIdT&& value) {
169 m_requestIdHasBeenSet = true;
170 m_requestId = std::forward<RequestIdT>(value);
171 }
172 template <typename RequestIdT = Aws::String>
174 SetRequestId(std::forward<RequestIdT>(value));
175 return *this;
176 }
178 private:
179 long long m_servers{0};
180
181 long long m_applications{0};
182
183 long long m_serversMappedToApplications{0};
184
185 long long m_serversMappedtoTags{0};
186
187 CustomerAgentInfo m_agentSummary;
188
189 CustomerConnectorInfo m_connectorSummary;
190
191 CustomerMeCollectorInfo m_meCollectorSummary;
192
193 CustomerAgentlessCollectorInfo m_agentlessCollectorSummary;
194
195 Aws::String m_requestId;
196 bool m_serversHasBeenSet = false;
197 bool m_applicationsHasBeenSet = false;
198 bool m_serversMappedToApplicationsHasBeenSet = false;
199 bool m_serversMappedtoTagsHasBeenSet = false;
200 bool m_agentSummaryHasBeenSet = false;
201 bool m_connectorSummaryHasBeenSet = false;
202 bool m_meCollectorSummaryHasBeenSet = false;
203 bool m_agentlessCollectorSummaryHasBeenSet = false;
204 bool m_requestIdHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace ApplicationDiscoveryService
209} // namespace Aws
const CustomerAgentlessCollectorInfo & GetAgentlessCollectorSummary() const
GetDiscoverySummaryResult & WithMeCollectorSummary(MeCollectorSummaryT &&value)
GetDiscoverySummaryResult & WithServersMappedToApplications(long long value)
AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDiscoverySummaryResult & WithAgentSummary(AgentSummaryT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult()=default
GetDiscoverySummaryResult & WithConnectorSummary(ConnectorSummaryT &&value)
GetDiscoverySummaryResult & WithAgentlessCollectorSummary(AgentlessCollectorSummaryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue