7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/DnsConfig.h>
10#include <aws/servicediscovery/model/ServiceType.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); }
97 inline void SetNamespaceId(
const char* value) { m_namespaceIdHasBeenSet =
true; m_namespaceId.assign(value); }
111 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
126 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
220 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
228 bool m_idHasBeenSet =
false;
231 bool m_arnHasBeenSet =
false;
234 bool m_nameHasBeenSet =
false;
237 bool m_namespaceIdHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
243 bool m_instanceCountHasBeenSet =
false;
246 bool m_dnsConfigHasBeenSet =
false;
249 bool m_typeHasBeenSet =
false;
252 bool m_healthCheckConfigHasBeenSet =
false;
255 bool m_healthCheckCustomConfigHasBeenSet =
false;
258 bool m_createDateHasBeenSet =
false;
261 bool m_creatorRequestIdHasBeenSet =
false;
void SetDescription(const Aws::String &value)
AWS_SERVICEDISCOVERY_API Service(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
void SetInstanceCount(int value)
void SetDnsConfig(const DnsConfig &value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
void SetDescription(Aws::String &&value)
Service & WithArn(Aws::String &&value)
bool InstanceCountHasBeenSet() const
void SetHealthCheckCustomConfig(const HealthCheckCustomConfig &value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
void SetHealthCheckConfig(HealthCheckConfig &&value)
bool DnsConfigHasBeenSet() const
Service & WithDnsConfig(const DnsConfig &value)
void SetDescription(const char *value)
Service & WithName(const Aws::String &value)
bool HealthCheckConfigHasBeenSet() const
bool CreateDateHasBeenSet() const
void SetName(const char *value)
AWS_SERVICEDISCOVERY_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetHealthCheckConfig(const HealthCheckConfig &value)
const HealthCheckCustomConfig & GetHealthCheckCustomConfig() const
void SetDnsConfig(DnsConfig &&value)
Service & WithInstanceCount(int value)
void SetCreateDate(Aws::Utils::DateTime &&value)
int GetInstanceCount() const
Service & WithName(const char *value)
bool NameHasBeenSet() const
Service & WithCreatorRequestId(const Aws::String &value)
void SetArn(const Aws::String &value)
Service & WithType(ServiceType &&value)
void SetId(Aws::String &&value)
Service & WithDnsConfig(DnsConfig &&value)
Service & WithId(Aws::String &&value)
Service & WithNamespaceId(const Aws::String &value)
void SetType(ServiceType &&value)
const Aws::String & GetNamespaceId() const
bool HealthCheckCustomConfigHasBeenSet() const
bool CreatorRequestIdHasBeenSet() const
Service & WithCreateDate(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
Service & WithHealthCheckCustomConfig(HealthCheckCustomConfig &&value)
void SetName(const Aws::String &value)
Service & WithHealthCheckConfig(const HealthCheckConfig &value)
Service & WithCreatorRequestId(const char *value)
const Aws::Utils::DateTime & GetCreateDate() const
Service & WithCreateDate(Aws::Utils::DateTime &&value)
Service & WithArn(const Aws::String &value)
void SetNamespaceId(const Aws::String &value)
void SetHealthCheckCustomConfig(HealthCheckCustomConfig &&value)
void SetId(const char *value)
const Aws::String & GetCreatorRequestId() const
const ServiceType & GetType() const
void SetCreatorRequestId(const Aws::String &value)
Service & WithId(const Aws::String &value)
void SetCreatorRequestId(const char *value)
const DnsConfig & GetDnsConfig() const
bool NamespaceIdHasBeenSet() const
const HealthCheckConfig & GetHealthCheckConfig() const
void SetName(Aws::String &&value)
bool ArnHasBeenSet() const
Service & WithName(Aws::String &&value)
Service & WithType(const ServiceType &value)
void SetNamespaceId(Aws::String &&value)
Service & WithArn(const char *value)
Service & WithDescription(const Aws::String &value)
Service & WithNamespaceId(const char *value)
void SetArn(Aws::String &&value)
void SetCreatorRequestId(Aws::String &&value)
Service & WithHealthCheckConfig(HealthCheckConfig &&value)
Service & WithDescription(const char *value)
AWS_SERVICEDISCOVERY_API Service()
Service & WithNamespaceId(Aws::String &&value)
Service & WithCreatorRequestId(Aws::String &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
Service & WithHealthCheckCustomConfig(const HealthCheckCustomConfig &value)
Service & WithDescription(Aws::String &&value)
Service & WithId(const char *value)
void SetId(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetNamespaceId(const char *value)
void SetType(const ServiceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue