7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/HealthStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
23namespace ServiceDiscovery
55 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
71 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
86 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
127 bool m_instanceIdHasBeenSet =
false;
130 bool m_namespaceNameHasBeenSet =
false;
133 bool m_serviceNameHasBeenSet =
false;
136 bool m_healthStatusHasBeenSet =
false;
139 bool m_attributesHasBeenSet =
false;
HttpInstanceSummary & AddAttributes(const char *key, Aws::String &&value)
HttpInstanceSummary & WithNamespaceName(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
bool ServiceNameHasBeenSet() const
void SetNamespaceName(const Aws::String &value)
HttpInstanceSummary & WithHealthStatus(const HealthStatus &value)
bool HealthStatusHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
HttpInstanceSummary & WithServiceName(const Aws::String &value)
HttpInstanceSummary & WithNamespaceName(const char *value)
HttpInstanceSummary & AddAttributes(Aws::String &&key, Aws::String &&value)
HttpInstanceSummary & WithServiceName(const char *value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceId(const char *value)
HttpInstanceSummary & AddAttributes(Aws::String &&key, const Aws::String &value)
HttpInstanceSummary & WithInstanceId(Aws::String &&value)
void SetNamespaceName(const char *value)
HttpInstanceSummary & AddAttributes(const char *key, const char *value)
HttpInstanceSummary & WithNamespaceName(const Aws::String &value)
void SetServiceName(Aws::String &&value)
void SetHealthStatus(const HealthStatus &value)
HttpInstanceSummary & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetNamespaceName(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SERVICEDISCOVERY_API HttpInstanceSummary()
void SetServiceName(const Aws::String &value)
void SetServiceName(const char *value)
HttpInstanceSummary & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool AttributesHasBeenSet() const
const Aws::String & GetNamespaceName() const
const Aws::String & GetInstanceId() const
const Aws::String & GetServiceName() const
HttpInstanceSummary & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
bool NamespaceNameHasBeenSet() const
const HealthStatus & GetHealthStatus() const
void SetHealthStatus(HealthStatus &&value)
AWS_SERVICEDISCOVERY_API HttpInstanceSummary(Aws::Utils::Json::JsonView jsonValue)
HttpInstanceSummary & WithHealthStatus(HealthStatus &&value)
HttpInstanceSummary & AddAttributes(const Aws::String &key, const Aws::String &value)
HttpInstanceSummary & WithInstanceId(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
HttpInstanceSummary & WithInstanceId(const char *value)
HttpInstanceSummary & WithServiceName(Aws::String &&value)
bool InstanceIdHasBeenSet() const
HttpInstanceSummary & AddAttributes(Aws::String &&key, const char *value)
AWS_SERVICEDISCOVERY_API HttpInstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue