7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
11#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
12#include <aws/servicediscovery/model/DnsConfig.h>
13#include <aws/servicediscovery/model/HealthCheckConfig.h>
14#include <aws/servicediscovery/model/HealthCheckCustomConfig.h>
15#include <aws/servicediscovery/model/ServiceTypeOption.h>
16#include <aws/servicediscovery/model/Tag.h>
21namespace ServiceDiscovery {
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
84 template <
typename NamespaceIdT = Aws::String>
86 m_namespaceIdHasBeenSet =
true;
87 m_namespaceId = std::forward<NamespaceIdT>(value);
89 template <
typename NamespaceIdT = Aws::String>
105 template <
typename CreatorRequestIdT = Aws::String>
107 m_creatorRequestIdHasBeenSet =
true;
108 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
110 template <
typename CreatorRequestIdT = Aws::String>
123 template <
typename DescriptionT = Aws::String>
125 m_descriptionHasBeenSet =
true;
126 m_description = std::forward<DescriptionT>(value);
128 template <
typename DescriptionT = Aws::String>
142 template <
typename DnsConfigT = DnsConfig>
144 m_dnsConfigHasBeenSet =
true;
145 m_dnsConfig = std::forward<DnsConfigT>(value);
147 template <
typename DnsConfigT = DnsConfig>
168 template <
typename HealthCheckConfigT = HealthCheckConfig>
170 m_healthCheckConfigHasBeenSet =
true;
171 m_healthCheckConfig = std::forward<HealthCheckConfigT>(value);
173 template <
typename HealthCheckConfigT = HealthCheckConfig>
191 template <
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
193 m_healthCheckCustomConfigHasBeenSet =
true;
194 m_healthCheckCustomConfig = std::forward<HealthCheckCustomConfigT>(value);
196 template <
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
211 template <
typename TagsT = Aws::Vector<Tag>>
213 m_tagsHasBeenSet =
true;
214 m_tags = std::forward<TagsT>(value);
216 template <
typename TagsT = Aws::Vector<Tag>>
218 SetTags(std::forward<TagsT>(value));
221 template <
typename TagsT = Tag>
223 m_tagsHasBeenSet =
true;
224 m_tags.emplace_back(std::forward<TagsT>(value));
238 m_typeHasBeenSet =
true;
255 DnsConfig m_dnsConfig;
257 HealthCheckConfig m_healthCheckConfig;
259 HealthCheckCustomConfig m_healthCheckCustomConfig;
264 bool m_nameHasBeenSet =
false;
265 bool m_namespaceIdHasBeenSet =
false;
266 bool m_creatorRequestIdHasBeenSet =
true;
267 bool m_descriptionHasBeenSet =
false;
268 bool m_dnsConfigHasBeenSet =
false;
269 bool m_healthCheckConfigHasBeenSet =
false;
270 bool m_healthCheckCustomConfigHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
272 bool m_typeHasBeenSet =
false;
bool HealthCheckConfigHasBeenSet() const
CreateServiceRequest & WithType(ServiceTypeOption value)
const HealthCheckConfig & GetHealthCheckConfig() const
CreateServiceRequest & WithTags(TagsT &&value)
bool TypeHasBeenSet() const
void SetDnsConfig(DnsConfigT &&value)
CreateServiceRequest & WithNamespaceId(NamespaceIdT &&value)
const Aws::String & GetNamespaceId() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
ServiceTypeOption GetType() const
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateServiceRequest & AddTags(TagsT &&value)
bool NameHasBeenSet() const
CreateServiceRequest & WithDescription(DescriptionT &&value)
bool CreatorRequestIdHasBeenSet() const
void SetNamespaceId(NamespaceIdT &&value)
void SetType(ServiceTypeOption value)
CreateServiceRequest & WithName(NameT &&value)
AWS_SERVICEDISCOVERY_API CreateServiceRequest()=default
void SetHealthCheckConfig(HealthCheckConfigT &&value)
bool HealthCheckCustomConfigHasBeenSet() const
bool DnsConfigHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetDescription() const
void SetHealthCheckCustomConfig(HealthCheckCustomConfigT &&value)
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
const HealthCheckCustomConfig & GetHealthCheckCustomConfig() const
const Aws::String & GetCreatorRequestId() const
bool DescriptionHasBeenSet() const
CreateServiceRequest & WithHealthCheckConfig(HealthCheckConfigT &&value)
CreateServiceRequest & WithHealthCheckCustomConfig(HealthCheckCustomConfigT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
bool NamespaceIdHasBeenSet() const
const DnsConfig & GetDnsConfig() const
CreateServiceRequest & WithCreatorRequestId(CreatorRequestIdT &&value)
CreateServiceRequest & WithDnsConfig(DnsConfigT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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