7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/globalaccelerator/model/IpAddressType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/globalaccelerator/model/Tag.h>
14#include <aws/core/utils/UUID.h>
18namespace GlobalAccelerator
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>
88 template<
typename IpAddressesT = Aws::Vector<Aws::String>>
89 void SetIpAddresses(IpAddressesT&& value) { m_ipAddressesHasBeenSet =
true; m_ipAddresses = std::forward<IpAddressesT>(value); }
90 template<
typename IpAddressesT = Aws::Vector<Aws::String>>
92 template<
typename IpAddressesT = Aws::String>
104 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
115 template<
typename IdempotencyTokenT = Aws::String>
116 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
117 template<
typename IdempotencyTokenT = Aws::String>
129 template<
typename TagsT = Aws::Vector<Tag>>
130 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
131 template<
typename TagsT = Aws::Vector<Tag>>
133 template<
typename TagsT = Tag>
139 bool m_nameHasBeenSet =
false;
142 bool m_ipAddressTypeHasBeenSet =
false;
145 bool m_ipAddressesHasBeenSet =
false;
147 bool m_enabled{
false};
148 bool m_enabledHasBeenSet =
false;
151 bool m_idempotencyTokenHasBeenSet =
true;
154 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