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/PrivateDnsNamespaceProperties.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>
102 template <
typename VpcT = Aws::String>
104 m_vpcHasBeenSet =
true;
105 m_vpc = std::forward<VpcT>(value);
107 template <
typename VpcT = Aws::String>
109 SetVpc(std::forward<VpcT>(value));
122 template <
typename TagsT = Aws::Vector<Tag>>
124 m_tagsHasBeenSet =
true;
125 m_tags = std::forward<TagsT>(value);
127 template <
typename TagsT = Aws::Vector<Tag>>
129 SetTags(std::forward<TagsT>(value));
132 template <
typename TagsT = Tag>
134 m_tagsHasBeenSet =
true;
135 m_tags.emplace_back(std::forward<TagsT>(value));
146 template <
typename PropertiesT = PrivateDnsNamespaceProperties>
148 m_propertiesHasBeenSet =
true;
149 m_properties = std::forward<PropertiesT>(value);
151 template <
typename PropertiesT = PrivateDnsNamespaceProperties>
159 bool m_nameHasBeenSet =
false;
162 bool m_creatorRequestIdHasBeenSet =
true;
165 bool m_descriptionHasBeenSet =
false;
168 bool m_vpcHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
173 PrivateDnsNamespaceProperties m_properties;
174 bool m_propertiesHasBeenSet =
false;
CreatePrivateDnsNamespaceRequest & WithDescription(DescriptionT &&value)
bool PropertiesHasBeenSet() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
CreatePrivateDnsNamespaceRequest & WithCreatorRequestId(CreatorRequestIdT &&value)
const Aws::String & GetVpc() const
void SetProperties(PropertiesT &&value)
const Aws::String & GetCreatorRequestId() const
void SetTags(TagsT &&value)
CreatePrivateDnsNamespaceRequest & AddTags(TagsT &&value)
CreatePrivateDnsNamespaceRequest & WithProperties(PropertiesT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CreatorRequestIdHasBeenSet() const
bool TagsHasBeenSet() const
void SetName(NameT &&value)
AWS_SERVICEDISCOVERY_API CreatePrivateDnsNamespaceRequest()=default
void SetVpc(VpcT &&value)
bool VpcHasBeenSet() const
CreatePrivateDnsNamespaceRequest & WithTags(TagsT &&value)
const PrivateDnsNamespaceProperties & GetProperties() const
virtual const char * GetServiceRequestName() const override
CreatePrivateDnsNamespaceRequest & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
CreatePrivateDnsNamespaceRequest & WithVpc(VpcT &&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