7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/route53globalresolver/Route53GlobalResolverRequest.h>
12#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
13#include <aws/route53globalresolver/model/GlobalResolverIpAddressType.h>
18namespace Route53GlobalResolver {
43 template <
typename ClientTokenT = Aws::String>
45 m_clientTokenHasBeenSet =
true;
46 m_clientToken = std::forward<ClientTokenT>(value);
48 template <
typename ClientTokenT = Aws::String>
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
82 m_ipAddressTypeHasBeenSet =
true;
83 m_ipAddressType = value;
98 template <
typename NameT = Aws::String>
100 m_nameHasBeenSet =
true;
101 m_name = std::forward<NameT>(value);
103 template <
typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
117 template <
typename ObservabilityRegionT = Aws::String>
119 m_observabilityRegionHasBeenSet =
true;
120 m_observabilityRegion = std::forward<ObservabilityRegionT>(value);
122 template <
typename ObservabilityRegionT = Aws::String>
137 template <
typename RegionsT = Aws::Vector<Aws::String>>
139 m_regionsHasBeenSet =
true;
140 m_regions = std::forward<RegionsT>(value);
142 template <
typename RegionsT = Aws::Vector<Aws::String>>
147 template <
typename RegionsT = Aws::String>
149 m_regionsHasBeenSet =
true;
150 m_regions.emplace_back(std::forward<RegionsT>(value));
162 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 m_tagsHasBeenSet =
true;
165 m_tags = std::forward<TagsT>(value);
167 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 SetTags(std::forward<TagsT>(value));
172 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
174 m_tagsHasBeenSet =
true;
175 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
193 bool m_clientTokenHasBeenSet =
true;
194 bool m_descriptionHasBeenSet =
false;
195 bool m_ipAddressTypeHasBeenSet =
false;
196 bool m_nameHasBeenSet =
false;
197 bool m_observabilityRegionHasBeenSet =
false;
198 bool m_regionsHasBeenSet =
false;
199 bool m_tagsHasBeenSet =
false;
CreateGlobalResolverRequest & WithRegions(RegionsT &&value)
bool ClientTokenHasBeenSet() const
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
void SetName(NameT &&value)
CreateGlobalResolverRequest & WithClientToken(ClientTokenT &&value)
CreateGlobalResolverRequest & WithObservabilityRegion(ObservabilityRegionT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
bool ObservabilityRegionHasBeenSet() const
const Aws::String & GetDescription() const
void SetObservabilityRegion(ObservabilityRegionT &&value)
AWS_ROUTE53GLOBALRESOLVER_API CreateGlobalResolverRequest()=default
void SetDescription(DescriptionT &&value)
GlobalResolverIpAddressType GetIpAddressType() const
void SetIpAddressType(GlobalResolverIpAddressType value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
bool RegionsHasBeenSet() const
CreateGlobalResolverRequest & WithName(NameT &&value)
const Aws::String & GetObservabilityRegion() const
CreateGlobalResolverRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
CreateGlobalResolverRequest & WithIpAddressType(GlobalResolverIpAddressType value)
bool TagsHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
void SetRegions(RegionsT &&value)
bool IpAddressTypeHasBeenSet() const
CreateGlobalResolverRequest & WithTags(TagsT &&value)
CreateGlobalResolverRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateGlobalResolverRequest & AddRegions(RegionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetName() const
static Aws::Utils::UUID PseudoRandomUUID()
GlobalResolverIpAddressType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector