7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/discovery/model/AgentStatus.h>
11#include <aws/discovery/model/AgentNetworkInfo.h>
24namespace ApplicationDiscoveryService
54 inline void SetAgentId(
const char* value) { m_agentIdHasBeenSet =
true; m_agentId.assign(value); }
69 inline void SetHostName(
const char* value) { m_hostNameHasBeenSet =
true; m_hostName.assign(value); }
97 inline void SetConnectorId(
const char* value) { m_connectorIdHasBeenSet =
true; m_connectorId.assign(value); }
111 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
137 inline void SetLastHealthPingTime(
const char* value) { m_lastHealthPingTimeHasBeenSet =
true; m_lastHealthPingTime.assign(value); }
151 inline void SetCollectionStatus(
const char* value) { m_collectionStatusHasBeenSet =
true; m_collectionStatus.assign(value); }
165 inline void SetAgentType(
const char* value) { m_agentTypeHasBeenSet =
true; m_agentType.assign(value); }
179 inline void SetRegisteredTime(
const char* value) { m_registeredTimeHasBeenSet =
true; m_registeredTime.assign(value); }
187 bool m_agentIdHasBeenSet =
false;
190 bool m_hostNameHasBeenSet =
false;
193 bool m_agentNetworkInfoListHasBeenSet =
false;
196 bool m_connectorIdHasBeenSet =
false;
199 bool m_versionHasBeenSet =
false;
202 bool m_healthHasBeenSet =
false;
205 bool m_lastHealthPingTimeHasBeenSet =
false;
208 bool m_collectionStatusHasBeenSet =
false;
211 bool m_agentTypeHasBeenSet =
false;
214 bool m_registeredTimeHasBeenSet =
false;
AgentInfo & WithCollectionStatus(Aws::String &&value)
void SetConnectorId(const Aws::String &value)
bool LastHealthPingTimeHasBeenSet() const
void SetAgentNetworkInfoList(const Aws::Vector< AgentNetworkInfo > &value)
const Aws::String & GetCollectionStatus() const
bool AgentTypeHasBeenSet() const
bool CollectionStatusHasBeenSet() const
void SetVersion(const Aws::String &value)
AgentInfo & WithLastHealthPingTime(const Aws::String &value)
AgentInfo & WithVersion(const char *value)
bool RegisteredTimeHasBeenSet() const
AgentInfo & WithAgentId(Aws::String &&value)
AgentInfo & WithRegisteredTime(const Aws::String &value)
void SetHealth(const AgentStatus &value)
const Aws::String & GetHostName() const
AgentInfo & WithHostName(Aws::String &&value)
AgentInfo & WithAgentId(const char *value)
AgentInfo & WithAgentNetworkInfoList(Aws::Vector< AgentNetworkInfo > &&value)
void SetAgentNetworkInfoList(Aws::Vector< AgentNetworkInfo > &&value)
void SetAgentType(const Aws::String &value)
AgentInfo & WithLastHealthPingTime(Aws::String &&value)
void SetLastHealthPingTime(const char *value)
void SetAgentId(const Aws::String &value)
const Aws::String & GetLastHealthPingTime() const
AgentInfo & WithConnectorId(Aws::String &&value)
void SetRegisteredTime(Aws::String &&value)
bool HealthHasBeenSet() const
bool ConnectorIdHasBeenSet() const
AgentInfo & WithVersion(Aws::String &&value)
AgentInfo & WithAgentType(const Aws::String &value)
void SetConnectorId(const char *value)
void SetHealth(AgentStatus &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentInfo(Aws::Utils::Json::JsonView jsonValue)
void SetLastHealthPingTime(const Aws::String &value)
AgentInfo & WithAgentType(Aws::String &&value)
AgentInfo & AddAgentNetworkInfoList(AgentNetworkInfo &&value)
AgentInfo & WithRegisteredTime(Aws::String &&value)
const Aws::String & GetAgentId() const
bool VersionHasBeenSet() const
AgentInfo & WithAgentType(const char *value)
AgentInfo & WithHostName(const Aws::String &value)
AgentInfo & WithConnectorId(const Aws::String &value)
AgentInfo & WithLastHealthPingTime(const char *value)
AgentInfo & WithCollectionStatus(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentInfo & WithRegisteredTime(const char *value)
AgentInfo & WithAgentNetworkInfoList(const Aws::Vector< AgentNetworkInfo > &value)
void SetLastHealthPingTime(Aws::String &&value)
void SetRegisteredTime(const char *value)
const Aws::String & GetVersion() const
const Aws::String & GetAgentType() const
AgentInfo & WithConnectorId(const char *value)
void SetAgentId(Aws::String &&value)
AgentInfo & WithHostName(const char *value)
AgentInfo & WithHealth(AgentStatus &&value)
void SetCollectionStatus(Aws::String &&value)
AgentInfo & WithCollectionStatus(const char *value)
AgentInfo & WithAgentId(const Aws::String &value)
bool HostNameHasBeenSet() const
void SetVersion(Aws::String &&value)
const Aws::Vector< AgentNetworkInfo > & GetAgentNetworkInfoList() const
void SetHostName(Aws::String &&value)
void SetAgentType(Aws::String &&value)
void SetRegisteredTime(const Aws::String &value)
const Aws::String & GetConnectorId() const
void SetHostName(const Aws::String &value)
AgentInfo & WithVersion(const Aws::String &value)
void SetCollectionStatus(const Aws::String &value)
bool AgentIdHasBeenSet() const
void SetVersion(const char *value)
void SetHostName(const char *value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const AgentStatus & GetHealth() const
void SetConnectorId(Aws::String &&value)
void SetCollectionStatus(const char *value)
const Aws::String & GetRegisteredTime() const
AgentInfo & AddAgentNetworkInfoList(const AgentNetworkInfo &value)
void SetAgentType(const char *value)
bool AgentNetworkInfoListHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API AgentInfo()
void SetAgentId(const char *value)
AgentInfo & WithHealth(const AgentStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue