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/PublicDnsNamespaceProperties.h>
13#include <aws/servicediscovery/model/Tag.h>
18namespace ServiceDiscovery {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
66 template <
typename CreatorRequestIdT = Aws::String>
68 m_creatorRequestIdHasBeenSet =
true;
69 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
71 template <
typename CreatorRequestIdT = Aws::String>
84 template <
typename DescriptionT = Aws::String>
86 m_descriptionHasBeenSet =
true;
87 m_description = std::forward<DescriptionT>(value);
89 template <
typename DescriptionT = Aws::String>
104 template <
typename TagsT = Aws::Vector<Tag>>
106 m_tagsHasBeenSet =
true;
107 m_tags = std::forward<TagsT>(value);
109 template <
typename TagsT = Aws::Vector<Tag>>
111 SetTags(std::forward<TagsT>(value));
114 template <
typename TagsT = Tag>
116 m_tagsHasBeenSet =
true;
117 m_tags.emplace_back(std::forward<TagsT>(value));
128 template <
typename PropertiesT = PublicDnsNamespaceProperties>
130 m_propertiesHasBeenSet =
true;
131 m_properties = std::forward<PropertiesT>(value);
133 template <
typename PropertiesT = PublicDnsNamespaceProperties>
148 PublicDnsNamespaceProperties m_properties;
149 bool m_nameHasBeenSet =
false;
150 bool m_creatorRequestIdHasBeenSet =
true;
151 bool m_descriptionHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
153 bool m_propertiesHasBeenSet =
false;
void SetName(NameT &&value)
CreatePublicDnsNamespaceRequest & WithName(NameT &&value)
bool CreatorRequestIdHasBeenSet() const
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetName() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
const PublicDnsNamespaceProperties & GetProperties() const
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
CreatePublicDnsNamespaceRequest & WithProperties(PropertiesT &&value)
const Aws::String & GetCreatorRequestId() const
CreatePublicDnsNamespaceRequest & AddTags(TagsT &&value)
bool PropertiesHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreatePublicDnsNamespaceRequest & WithTags(TagsT &&value)
void SetProperties(PropertiesT &&value)
CreatePublicDnsNamespaceRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SERVICEDISCOVERY_API CreatePublicDnsNamespaceRequest()=default
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreatePublicDnsNamespaceRequest & WithCreatorRequestId(CreatorRequestIdT &&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