AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
GetDiscoverySummaryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
10#include <aws/discovery/model/CustomerAgentInfo.h>
11#include <aws/discovery/model/CustomerAgentlessCollectorInfo.h>
12#include <aws/discovery/model/CustomerConnectorInfo.h>
13#include <aws/discovery/model/CustomerMeCollectorInfo.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ApplicationDiscoveryService {
27namespace Model {
29 public:
30 AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult() = default;
32 AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult& operator=(
34
36
39 inline long long GetServers() const { return m_servers; }
40 inline void SetServers(long long value) {
41 m_serversHasBeenSet = true;
42 m_servers = value;
43 }
44 inline GetDiscoverySummaryResult& WithServers(long long value) {
45 SetServers(value);
46 return *this;
47 }
49
51
54 inline long long GetApplications() const { return m_applications; }
55 inline void SetApplications(long long value) {
56 m_applicationsHasBeenSet = true;
57 m_applications = value;
58 }
60 SetApplications(value);
61 return *this;
62 }
64
66
69 inline long long GetServersMappedToApplications() const { return m_serversMappedToApplications; }
70 inline void SetServersMappedToApplications(long long value) {
71 m_serversMappedToApplicationsHasBeenSet = true;
72 m_serversMappedToApplications = value;
73 }
76 return *this;
77 }
79
81
84 inline long long GetServersMappedtoTags() const { return m_serversMappedtoTags; }
85 inline void SetServersMappedtoTags(long long value) {
86 m_serversMappedtoTagsHasBeenSet = true;
87 m_serversMappedtoTags = value;
88 }
91 return *this;
92 }
94
96
99 inline const CustomerAgentInfo& GetAgentSummary() const { return m_agentSummary; }
100 template <typename AgentSummaryT = CustomerAgentInfo>
101 void SetAgentSummary(AgentSummaryT&& value) {
102 m_agentSummaryHasBeenSet = true;
103 m_agentSummary = std::forward<AgentSummaryT>(value);
104 }
105 template <typename AgentSummaryT = CustomerAgentInfo>
107 SetAgentSummary(std::forward<AgentSummaryT>(value));
108 return *this;
109 }
111
113
117 inline const CustomerConnectorInfo& GetConnectorSummary() const { return m_connectorSummary; }
118 template <typename ConnectorSummaryT = CustomerConnectorInfo>
119 void SetConnectorSummary(ConnectorSummaryT&& value) {
120 m_connectorSummaryHasBeenSet = true;
121 m_connectorSummary = std::forward<ConnectorSummaryT>(value);
122 }
123 template <typename ConnectorSummaryT = CustomerConnectorInfo>
125 SetConnectorSummary(std::forward<ConnectorSummaryT>(value));
126 return *this;
127 }
129
131
135 inline const CustomerMeCollectorInfo& GetMeCollectorSummary() const { return m_meCollectorSummary; }
136 template <typename MeCollectorSummaryT = CustomerMeCollectorInfo>
137 void SetMeCollectorSummary(MeCollectorSummaryT&& value) {
138 m_meCollectorSummaryHasBeenSet = true;
139 m_meCollectorSummary = std::forward<MeCollectorSummaryT>(value);
140 }
141 template <typename MeCollectorSummaryT = CustomerMeCollectorInfo>
142 GetDiscoverySummaryResult& WithMeCollectorSummary(MeCollectorSummaryT&& value) {
143 SetMeCollectorSummary(std::forward<MeCollectorSummaryT>(value));
144 return *this;
145 }
147
149
152 inline const CustomerAgentlessCollectorInfo& GetAgentlessCollectorSummary() const { return m_agentlessCollectorSummary; }
153 template <typename AgentlessCollectorSummaryT = CustomerAgentlessCollectorInfo>
154 void SetAgentlessCollectorSummary(AgentlessCollectorSummaryT&& value) {
155 m_agentlessCollectorSummaryHasBeenSet = true;
156 m_agentlessCollectorSummary = std::forward<AgentlessCollectorSummaryT>(value);
157 }
158 template <typename AgentlessCollectorSummaryT = CustomerAgentlessCollectorInfo>
159 GetDiscoverySummaryResult& WithAgentlessCollectorSummary(AgentlessCollectorSummaryT&& value) {
160 SetAgentlessCollectorSummary(std::forward<AgentlessCollectorSummaryT>(value));
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
180
181 private:
182 long long m_servers{0};
183
184 long long m_applications{0};
185
186 long long m_serversMappedToApplications{0};
187
188 long long m_serversMappedtoTags{0};
189
190 CustomerAgentInfo m_agentSummary;
191
192 CustomerConnectorInfo m_connectorSummary;
193
194 CustomerMeCollectorInfo m_meCollectorSummary;
195
196 CustomerAgentlessCollectorInfo m_agentlessCollectorSummary;
197
198 Aws::String m_requestId;
199 Aws::Http::HttpResponseCode m_HttpResponseCode;
200 bool m_serversHasBeenSet = false;
201 bool m_applicationsHasBeenSet = false;
202 bool m_serversMappedToApplicationsHasBeenSet = false;
203 bool m_serversMappedtoTagsHasBeenSet = false;
204 bool m_agentSummaryHasBeenSet = false;
205 bool m_connectorSummaryHasBeenSet = false;
206 bool m_meCollectorSummaryHasBeenSet = false;
207 bool m_agentlessCollectorSummaryHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace ApplicationDiscoveryService
213} // 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