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/core/utils/memory/stl/AWSVector.h>
11#include <aws/servicediscovery/model/PrivateDnsNamespaceProperties.h>
12#include <aws/servicediscovery/model/Tag.h>
14#include <aws/core/utils/UUID.h>
18namespace ServiceDiscovery
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
64 template<
typename CreatorRequestIdT = Aws::String>
65 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
66 template<
typename CreatorRequestIdT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
88 template<
typename VpcT = Aws::String>
89 void SetVpc(VpcT&& value) { m_vpcHasBeenSet =
true; m_vpc = std::forward<VpcT>(value); }
90 template<
typename VpcT = Aws::String>
102 template<
typename TagsT = Aws::Vector<Tag>>
103 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
104 template<
typename TagsT = Aws::Vector<Tag>>
106 template<
typename TagsT = Tag>
116 template<
typename PropertiesT = PrivateDnsNamespaceProperties>
117 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
118 template<
typename PropertiesT = PrivateDnsNamespaceProperties>
124 bool m_nameHasBeenSet =
false;
127 bool m_creatorRequestIdHasBeenSet =
true;
130 bool m_descriptionHasBeenSet =
false;
133 bool m_vpcHasBeenSet =
false;
136 bool m_tagsHasBeenSet =
false;
138 PrivateDnsNamespaceProperties m_properties;
139 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