7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/ServiceType.h>
10#include <aws/servicediscovery/model/DnsConfig.h>
11#include <aws/servicediscovery/model/HealthCheckConfig.h>
12#include <aws/servicediscovery/model/HealthCheckCustomConfig.h>
13#include <aws/core/utils/DateTime.h>
26namespace ServiceDiscovery
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
69 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
83 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
114 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
129 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
197 bool m_idHasBeenSet =
false;
200 bool m_arnHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
206 bool m_typeHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
212 bool m_instanceCountHasBeenSet =
false;
215 bool m_dnsConfigHasBeenSet =
false;
218 bool m_healthCheckConfigHasBeenSet =
false;
221 bool m_healthCheckCustomConfigHasBeenSet =
false;
224 bool m_createDateHasBeenSet =
false;
void SetArn(const Aws::String &value)
ServiceSummary & WithDnsConfig(const DnsConfig &value)
void SetType(ServiceType &&value)
ServiceSummary & WithDescription(Aws::String &&value)
void SetName(const Aws::String &value)
void SetCreateDate(Aws::Utils::DateTime &&value)
ServiceSummary & WithCreateDate(const Aws::Utils::DateTime &value)
ServiceSummary & WithId(const Aws::String &value)
int GetInstanceCount() const
void SetDescription(Aws::String &&value)
bool TypeHasBeenSet() const
bool NameHasBeenSet() const
const HealthCheckConfig & GetHealthCheckConfig() const
ServiceSummary & WithCreateDate(Aws::Utils::DateTime &&value)
void SetDnsConfig(const DnsConfig &value)
ServiceSummary & WithType(ServiceType &&value)
void SetName(const char *value)
ServiceSummary & WithHealthCheckConfig(const HealthCheckConfig &value)
bool HealthCheckCustomConfigHasBeenSet() const
ServiceSummary & WithArn(const char *value)
void SetDescription(const Aws::String &value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
void SetHealthCheckConfig(const HealthCheckConfig &value)
const HealthCheckCustomConfig & GetHealthCheckCustomConfig() const
void SetInstanceCount(int value)
void SetDnsConfig(DnsConfig &&value)
void SetHealthCheckConfig(HealthCheckConfig &&value)
const Aws::Utils::DateTime & GetCreateDate() const
AWS_SERVICEDISCOVERY_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEDISCOVERY_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & WithName(const Aws::String &value)
ServiceSummary & WithName(Aws::String &&value)
ServiceSummary & WithArn(const Aws::String &value)
void SetName(Aws::String &&value)
bool CreateDateHasBeenSet() const
bool IdHasBeenSet() const
void SetCreateDate(const Aws::Utils::DateTime &value)
void SetId(const char *value)
const Aws::String & GetId() const
ServiceSummary & WithId(const char *value)
AWS_SERVICEDISCOVERY_API ServiceSummary()
ServiceSummary & WithArn(Aws::String &&value)
ServiceSummary & WithId(Aws::String &&value)
ServiceSummary & WithDescription(const char *value)
bool ArnHasBeenSet() const
void SetId(Aws::String &&value)
const DnsConfig & GetDnsConfig() const
bool InstanceCountHasBeenSet() const
ServiceSummary & WithName(const char *value)
const ServiceType & GetType() const
ServiceSummary & WithHealthCheckConfig(HealthCheckConfig &&value)
void SetArn(const char *value)
ServiceSummary & WithHealthCheckCustomConfig(const HealthCheckCustomConfig &value)
void SetType(const ServiceType &value)
const Aws::String & GetArn() const
ServiceSummary & WithType(const ServiceType &value)
bool HealthCheckConfigHasBeenSet() const
void SetArn(Aws::String &&value)
void SetHealthCheckCustomConfig(const HealthCheckCustomConfig &value)
void SetId(const Aws::String &value)
bool DnsConfigHasBeenSet() const
ServiceSummary & WithDnsConfig(DnsConfig &&value)
void SetHealthCheckCustomConfig(HealthCheckCustomConfig &&value)
ServiceSummary & WithDescription(const Aws::String &value)
ServiceSummary & WithHealthCheckCustomConfig(HealthCheckCustomConfig &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
ServiceSummary & WithInstanceCount(int value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue