AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDiscoverySummaryResult.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/model/CustomerAgentInfo.h>
9#include <aws/discovery/model/CustomerConnectorInfo.h>
10#include <aws/discovery/model/CustomerMeCollectorInfo.h>
11#include <aws/discovery/model/CustomerAgentlessCollectorInfo.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ApplicationDiscoveryService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult();
37
38
40
43 inline long long GetServers() const{ return m_servers; }
44 inline void SetServers(long long value) { m_servers = value; }
45 inline GetDiscoverySummaryResult& WithServers(long long value) { SetServers(value); return *this;}
47
49
52 inline long long GetApplications() const{ return m_applications; }
53 inline void SetApplications(long long value) { m_applications = value; }
54 inline GetDiscoverySummaryResult& WithApplications(long long value) { SetApplications(value); return *this;}
56
58
61 inline long long GetServersMappedToApplications() const{ return m_serversMappedToApplications; }
62 inline void SetServersMappedToApplications(long long value) { m_serversMappedToApplications = value; }
65
67
70 inline long long GetServersMappedtoTags() const{ return m_serversMappedtoTags; }
71 inline void SetServersMappedtoTags(long long value) { m_serversMappedtoTags = value; }
72 inline GetDiscoverySummaryResult& WithServersMappedtoTags(long long value) { SetServersMappedtoTags(value); return *this;}
74
76
79 inline const CustomerAgentInfo& GetAgentSummary() const{ return m_agentSummary; }
80 inline void SetAgentSummary(const CustomerAgentInfo& value) { m_agentSummary = value; }
81 inline void SetAgentSummary(CustomerAgentInfo&& value) { m_agentSummary = std::move(value); }
82 inline GetDiscoverySummaryResult& WithAgentSummary(const CustomerAgentInfo& value) { SetAgentSummary(value); return *this;}
83 inline GetDiscoverySummaryResult& WithAgentSummary(CustomerAgentInfo&& value) { SetAgentSummary(std::move(value)); return *this;}
85
87
91 inline const CustomerConnectorInfo& GetConnectorSummary() const{ return m_connectorSummary; }
92 inline void SetConnectorSummary(const CustomerConnectorInfo& value) { m_connectorSummary = value; }
93 inline void SetConnectorSummary(CustomerConnectorInfo&& value) { m_connectorSummary = std::move(value); }
97
99
103 inline const CustomerMeCollectorInfo& GetMeCollectorSummary() const{ return m_meCollectorSummary; }
104 inline void SetMeCollectorSummary(const CustomerMeCollectorInfo& value) { m_meCollectorSummary = value; }
105 inline void SetMeCollectorSummary(CustomerMeCollectorInfo&& value) { m_meCollectorSummary = std::move(value); }
109
111
114 inline const CustomerAgentlessCollectorInfo& GetAgentlessCollectorSummary() const{ return m_agentlessCollectorSummary; }
115 inline void SetAgentlessCollectorSummary(const CustomerAgentlessCollectorInfo& value) { m_agentlessCollectorSummary = value; }
116 inline void SetAgentlessCollectorSummary(CustomerAgentlessCollectorInfo&& value) { m_agentlessCollectorSummary = std::move(value); }
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline GetDiscoverySummaryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline GetDiscoverySummaryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline GetDiscoverySummaryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 long long m_servers;
134
135 long long m_applications;
136
137 long long m_serversMappedToApplications;
138
139 long long m_serversMappedtoTags;
140
141 CustomerAgentInfo m_agentSummary;
142
143 CustomerConnectorInfo m_connectorSummary;
144
145 CustomerMeCollectorInfo m_meCollectorSummary;
146
147 CustomerAgentlessCollectorInfo m_agentlessCollectorSummary;
148
149 Aws::String m_requestId;
150 };
151
152} // namespace Model
153} // namespace ApplicationDiscoveryService
154} // namespace Aws
const CustomerAgentlessCollectorInfo & GetAgentlessCollectorSummary() const
GetDiscoverySummaryResult & WithServersMappedToApplications(long long value)
GetDiscoverySummaryResult & WithAgentSummary(const CustomerAgentInfo &value)
AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult()
AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAgentlessCollectorSummary(const CustomerAgentlessCollectorInfo &value)
GetDiscoverySummaryResult & WithMeCollectorSummary(const CustomerMeCollectorInfo &value)
AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDiscoverySummaryResult & WithAgentlessCollectorSummary(const CustomerAgentlessCollectorInfo &value)
GetDiscoverySummaryResult & WithConnectorSummary(CustomerConnectorInfo &&value)
GetDiscoverySummaryResult & WithAgentlessCollectorSummary(CustomerAgentlessCollectorInfo &&value)
GetDiscoverySummaryResult & WithMeCollectorSummary(CustomerMeCollectorInfo &&value)
GetDiscoverySummaryResult & WithAgentSummary(CustomerAgentInfo &&value)
GetDiscoverySummaryResult & WithRequestId(const Aws::String &value)
GetDiscoverySummaryResult & WithConnectorSummary(const CustomerConnectorInfo &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue