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/globalaccelerator/GlobalAcceleratorRequest.h>
11#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
12#include <aws/globalaccelerator/model/IpAddressType.h>
13#include <aws/globalaccelerator/model/Tag.h>
18namespace GlobalAccelerator {
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));
65 m_ipAddressTypeHasBeenSet =
true;
66 m_ipAddressType = value;
100 template <
typename IpAddressesT = Aws::Vector<Aws::String>>
102 m_ipAddressesHasBeenSet =
true;
103 m_ipAddresses = std::forward<IpAddressesT>(value);
105 template <
typename IpAddressesT = Aws::Vector<Aws::String>>
110 template <
typename IpAddressesT = Aws::String>
112 m_ipAddressesHasBeenSet =
true;
113 m_ipAddresses.emplace_back(std::forward<IpAddressesT>(value));
127 m_enabledHasBeenSet =
true;
143 template <
typename IdempotencyTokenT = Aws::String>
145 m_idempotencyTokenHasBeenSet =
true;
146 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
148 template <
typename IdempotencyTokenT = Aws::String>
163 template <
typename TagsT = Aws::Vector<Tag>>
165 m_tagsHasBeenSet =
true;
166 m_tags = std::forward<TagsT>(value);
168 template <
typename TagsT = Aws::Vector<Tag>>
170 SetTags(std::forward<TagsT>(value));
173 template <
typename TagsT = Tag>
175 m_tagsHasBeenSet =
true;
176 m_tags.emplace_back(std::forward<TagsT>(value));
187 bool m_enabled{
false};
192 bool m_nameHasBeenSet =
false;
193 bool m_ipAddressTypeHasBeenSet =
false;
194 bool m_ipAddressesHasBeenSet =
false;
195 bool m_enabledHasBeenSet =
false;
196 bool m_idempotencyTokenHasBeenSet =
true;
197 bool m_tagsHasBeenSet =
false;
bool IpAddressesHasBeenSet() const
CreateAcceleratorRequest & AddIpAddresses(IpAddressesT &&value)
void SetTags(TagsT &&value)
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAcceleratorRequest & AddTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetIpAddresses() const
bool IdempotencyTokenHasBeenSet() const
CreateAcceleratorRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateAcceleratorRequest & WithTags(TagsT &&value)
CreateAcceleratorRequest & WithIpAddresses(IpAddressesT &&value)
const Aws::String & GetIdempotencyToken() const
bool IpAddressTypeHasBeenSet() const
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetIpAddressType(IpAddressType value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
void SetIdempotencyToken(IdempotencyTokenT &&value)
CreateAcceleratorRequest & WithName(NameT &&value)
bool EnabledHasBeenSet() const
CreateAcceleratorRequest & WithIpAddressType(IpAddressType value)
const Aws::String & GetName() const
CreateAcceleratorRequest & WithEnabled(bool value)
void SetName(NameT &&value)
AWS_GLOBALACCELERATOR_API CreateAcceleratorRequest()=default
IpAddressType GetIpAddressType() const
bool NameHasBeenSet() const
void SetIpAddresses(IpAddressesT &&value)
void SetEnabled(bool 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