7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
10#include <aws/discovery/model/AgentNetworkInfo.h>
11#include <aws/discovery/model/AgentStatus.h>
22namespace ApplicationDiscoveryService {
35 AWS_APPLICATIONDISCOVERYSERVICE_API
AgentInfo() =
default;
46 template <
typename AgentIdT = Aws::String>
48 m_agentIdHasBeenSet =
true;
49 m_agentId = std::forward<AgentIdT>(value);
51 template <
typename AgentIdT = Aws::String>
65 template <
typename HostNameT = Aws::String>
67 m_hostNameHasBeenSet =
true;
68 m_hostName = std::forward<HostNameT>(value);
70 template <
typename HostNameT = Aws::String>
83 template <
typename AgentNetworkInfoListT = Aws::Vector<AgentNetworkInfo>>
85 m_agentNetworkInfoListHasBeenSet =
true;
86 m_agentNetworkInfoList = std::forward<AgentNetworkInfoListT>(value);
88 template <
typename AgentNetworkInfoListT = Aws::Vector<AgentNetworkInfo>>
93 template <
typename AgentNetworkInfoListT = AgentNetworkInfo>
95 m_agentNetworkInfoListHasBeenSet =
true;
96 m_agentNetworkInfoList.emplace_back(std::forward<AgentNetworkInfoListT>(value));
107 template <
typename ConnectorIdT = Aws::String>
109 m_connectorIdHasBeenSet =
true;
110 m_connectorId = std::forward<ConnectorIdT>(value);
112 template <
typename ConnectorIdT = Aws::String>
125 template <
typename VersionT = Aws::String>
127 m_versionHasBeenSet =
true;
128 m_version = std::forward<VersionT>(value);
130 template <
typename VersionT = Aws::String>
144 m_healthHasBeenSet =
true;
159 template <
typename LastHealthPingTimeT = Aws::String>
161 m_lastHealthPingTimeHasBeenSet =
true;
162 m_lastHealthPingTime = std::forward<LastHealthPingTimeT>(value);
164 template <
typename LastHealthPingTimeT = Aws::String>
177 template <
typename CollectionStatusT = Aws::String>
179 m_collectionStatusHasBeenSet =
true;
180 m_collectionStatus = std::forward<CollectionStatusT>(value);
182 template <
typename CollectionStatusT = Aws::String>
195 template <
typename AgentTypeT = Aws::String>
197 m_agentTypeHasBeenSet =
true;
198 m_agentType = std::forward<AgentTypeT>(value);
200 template <
typename AgentTypeT = Aws::String>
213 template <
typename RegisteredTimeT = Aws::String>
215 m_registeredTimeHasBeenSet =
true;
216 m_registeredTime = std::forward<RegisteredTimeT>(value);
218 template <
typename RegisteredTimeT = Aws::String>
244 bool m_agentIdHasBeenSet =
false;
245 bool m_hostNameHasBeenSet =
false;
246 bool m_agentNetworkInfoListHasBeenSet =
false;
247 bool m_connectorIdHasBeenSet =
false;
248 bool m_versionHasBeenSet =
false;
249 bool m_healthHasBeenSet =
false;
250 bool m_lastHealthPingTimeHasBeenSet =
false;
251 bool m_collectionStatusHasBeenSet =
false;
252 bool m_agentTypeHasBeenSet =
false;
253 bool m_registeredTimeHasBeenSet =
false;
bool LastHealthPingTimeHasBeenSet() const
const Aws::String & GetCollectionStatus() const
bool AgentTypeHasBeenSet() const
bool CollectionStatusHasBeenSet() const
bool RegisteredTimeHasBeenSet() const
void SetAgentType(AgentTypeT &&value)
const Aws::String & GetHostName() const
const Aws::String & GetLastHealthPingTime() const
AgentInfo & WithHostName(HostNameT &&value)
bool HealthHasBeenSet() const
bool ConnectorIdHasBeenSet() const
void SetHostName(HostNameT &&value)
AgentInfo & WithVersion(VersionT &&value)
void SetHealth(AgentStatus value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentInfo(Aws::Utils::Json::JsonView jsonValue)
void SetRegisteredTime(RegisteredTimeT &&value)
const Aws::String & GetAgentId() const
bool VersionHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API AgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentInfo & WithRegisteredTime(RegisteredTimeT &&value)
AgentInfo & WithAgentType(AgentTypeT &&value)
void SetConnectorId(ConnectorIdT &&value)
const Aws::String & GetVersion() const
const Aws::String & GetAgentType() const
AgentInfo & WithCollectionStatus(CollectionStatusT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentInfo()=default
bool HostNameHasBeenSet() const
void SetCollectionStatus(CollectionStatusT &&value)
const Aws::Vector< AgentNetworkInfo > & GetAgentNetworkInfoList() const
const Aws::String & GetConnectorId() const
void SetAgentId(AgentIdT &&value)
void SetVersion(VersionT &&value)
AgentInfo & WithAgentNetworkInfoList(AgentNetworkInfoListT &&value)
void SetAgentNetworkInfoList(AgentNetworkInfoListT &&value)
AgentInfo & WithConnectorId(ConnectorIdT &&value)
void SetLastHealthPingTime(LastHealthPingTimeT &&value)
bool AgentIdHasBeenSet() const
AgentInfo & WithLastHealthPingTime(LastHealthPingTimeT &&value)
AgentInfo & WithHealth(AgentStatus value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AgentInfo & AddAgentNetworkInfoList(AgentNetworkInfoListT &&value)
const Aws::String & GetRegisteredTime() const
AgentInfo & WithAgentId(AgentIdT &&value)
bool AgentNetworkInfoListHasBeenSet() const
AgentStatus GetHealth() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue