7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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/memory/stl/AWSVector.h>
14#include <aws/servicediscovery/model/ServiceTypeOption.h>
15#include <aws/servicediscovery/model/Tag.h>
17#include <aws/core/utils/UUID.h>
21namespace ServiceDiscovery
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
84 inline void SetNamespaceId(
const char* value) { m_namespaceIdHasBeenSet =
true; m_namespaceId.assign(value); }
101 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
115 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
203 bool m_nameHasBeenSet =
false;
206 bool m_namespaceIdHasBeenSet =
false;
209 bool m_creatorRequestIdHasBeenSet =
false;
212 bool m_descriptionHasBeenSet =
false;
215 bool m_dnsConfigHasBeenSet =
false;
218 bool m_healthCheckConfigHasBeenSet =
false;
221 bool m_healthCheckCustomConfigHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
227 bool m_typeHasBeenSet =
false;
bool HealthCheckConfigHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetDnsConfig(DnsConfig &&value)
const HealthCheckConfig & GetHealthCheckConfig() const
CreateServiceRequest & WithName(Aws::String &&value)
void SetNamespaceId(Aws::String &&value)
CreateServiceRequest & WithCreatorRequestId(Aws::String &&value)
bool TypeHasBeenSet() const
CreateServiceRequest & WithNamespaceId(Aws::String &&value)
CreateServiceRequest & WithHealthCheckCustomConfig(HealthCheckCustomConfig &&value)
CreateServiceRequest & WithNamespaceId(const Aws::String &value)
const Aws::String & GetNamespaceId() const
CreateServiceRequest & WithDescription(const Aws::String &value)
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateServiceRequest & WithDescription(const char *value)
CreateServiceRequest & WithTags(Aws::Vector< Tag > &&value)
void SetDescription(const Aws::String &value)
CreateServiceRequest & AddTags(const Tag &value)
void SetNamespaceId(const Aws::String &value)
bool NameHasBeenSet() const
void SetNamespaceId(const char *value)
bool CreatorRequestIdHasBeenSet() const
CreateServiceRequest & WithHealthCheckConfig(const HealthCheckConfig &value)
AWS_SERVICEDISCOVERY_API CreateServiceRequest()
void SetHealthCheckCustomConfig(const HealthCheckCustomConfig &value)
CreateServiceRequest & WithNamespaceId(const char *value)
CreateServiceRequest & WithName(const char *value)
bool HealthCheckCustomConfigHasBeenSet() const
CreateServiceRequest & WithDnsConfig(const DnsConfig &value)
CreateServiceRequest & WithCreatorRequestId(const Aws::String &value)
CreateServiceRequest & WithHealthCheckCustomConfig(const HealthCheckCustomConfig &value)
CreateServiceRequest & WithDnsConfig(DnsConfig &&value)
void SetHealthCheckCustomConfig(HealthCheckCustomConfig &&value)
bool DnsConfigHasBeenSet() const
const Aws::String & GetName() const
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
CreateServiceRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDescription(const char *value)
CreateServiceRequest & WithHealthCheckConfig(HealthCheckConfig &&value)
bool TagsHasBeenSet() const
void SetHealthCheckConfig(const HealthCheckConfig &value)
const HealthCheckCustomConfig & GetHealthCheckCustomConfig() const
const Aws::String & GetCreatorRequestId() const
bool DescriptionHasBeenSet() const
void SetCreatorRequestId(Aws::String &&value)
void SetCreatorRequestId(const Aws::String &value)
void SetType(const ServiceTypeOption &value)
void SetName(const char *value)
CreateServiceRequest & WithType(ServiceTypeOption &&value)
const ServiceTypeOption & GetType() const
CreateServiceRequest & AddTags(Tag &&value)
void SetCreatorRequestId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateServiceRequest & WithTags(const Aws::Vector< Tag > &value)
void SetDnsConfig(const DnsConfig &value)
const Aws::Vector< Tag > & GetTags() const
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
bool NamespaceIdHasBeenSet() const
void SetType(ServiceTypeOption &&value)
CreateServiceRequest & WithDescription(Aws::String &&value)
CreateServiceRequest & WithType(const ServiceTypeOption &value)
void SetHealthCheckConfig(HealthCheckConfig &&value)
const DnsConfig & GetDnsConfig() const
void SetName(const Aws::String &value)
CreateServiceRequest & WithCreatorRequestId(const char *value)
void SetName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector