7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancingv2/model/LoadBalancerSchemeEnum.h>
12#include <aws/elasticloadbalancingv2/model/LoadBalancerTypeEnum.h>
13#include <aws/elasticloadbalancingv2/model/IpAddressType.h>
14#include <aws/elasticloadbalancingv2/model/EnablePrefixForIpv6SourceNatEnum.h>
15#include <aws/elasticloadbalancingv2/model/SubnetMapping.h>
16#include <aws/elasticloadbalancingv2/model/Tag.h>
21namespace ElasticLoadBalancingv2
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
203 inline void SetCustomerOwnedIpv4Pool(
const char* value) { m_customerOwnedIpv4PoolHasBeenSet =
true; m_customerOwnedIpv4Pool.assign(value); }
225 bool m_nameHasBeenSet =
false;
228 bool m_subnetsHasBeenSet =
false;
231 bool m_subnetMappingsHasBeenSet =
false;
234 bool m_securityGroupsHasBeenSet =
false;
237 bool m_schemeHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
243 bool m_typeHasBeenSet =
false;
246 bool m_ipAddressTypeHasBeenSet =
false;
249 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
252 bool m_enablePrefixForIpv6SourceNatHasBeenSet =
false;
void SetName(const Aws::String &value)
CreateLoadBalancerRequest & WithType(LoadBalancerTypeEnum &&value)
CreateLoadBalancerRequest & WithIpAddressType(IpAddressType &&value)
void SetCustomerOwnedIpv4Pool(const char *value)
CreateLoadBalancerRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_ELASTICLOADBALANCINGV2_API CreateLoadBalancerRequest()
CreateLoadBalancerRequest & AddTags(Tag &&value)
CreateLoadBalancerRequest & WithSubnetMappings(Aws::Vector< SubnetMapping > &&value)
void SetScheme(LoadBalancerSchemeEnum &&value)
const EnablePrefixForIpv6SourceNatEnum & GetEnablePrefixForIpv6SourceNat() const
CreateLoadBalancerRequest & AddSubnets(const char *value)
CreateLoadBalancerRequest & WithScheme(const LoadBalancerSchemeEnum &value)
const Aws::String & GetCustomerOwnedIpv4Pool() const
bool EnablePrefixForIpv6SourceNatHasBeenSet() const
void SetCustomerOwnedIpv4Pool(const Aws::String &value)
CreateLoadBalancerRequest & WithName(const char *value)
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
bool TypeHasBeenSet() const
void SetType(const LoadBalancerTypeEnum &value)
CreateLoadBalancerRequest & AddSubnets(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
CreateLoadBalancerRequest & AddTags(const Tag &value)
CreateLoadBalancerRequest & WithSubnetMappings(const Aws::Vector< SubnetMapping > &value)
void SetIpAddressType(IpAddressType &&value)
CreateLoadBalancerRequest & AddSecurityGroups(const Aws::String &value)
const Aws::String & GetName() const
bool IpAddressTypeHasBeenSet() const
CreateLoadBalancerRequest & AddSubnets(const Aws::String &value)
CreateLoadBalancerRequest & WithSubnets(Aws::Vector< Aws::String > &&value)
void SetSubnets(const Aws::Vector< Aws::String > &value)
CreateLoadBalancerRequest & AddSecurityGroups(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateLoadBalancerRequest & AddSecurityGroups(Aws::String &&value)
CreateLoadBalancerRequest & WithSubnets(const Aws::Vector< Aws::String > &value)
bool SecurityGroupsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateLoadBalancerRequest & WithEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum &value)
CreateLoadBalancerRequest & WithTags(const Aws::Vector< Tag > &value)
void SetIpAddressType(const IpAddressType &value)
CreateLoadBalancerRequest & WithEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum &&value)
CreateLoadBalancerRequest & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetCustomerOwnedIpv4Pool(Aws::String &&value)
CreateLoadBalancerRequest & WithName(const Aws::String &value)
CreateLoadBalancerRequest & WithCustomerOwnedIpv4Pool(Aws::String &&value)
void SetSubnetMappings(Aws::Vector< SubnetMapping > &&value)
bool TagsHasBeenSet() const
bool SubnetMappingsHasBeenSet() const
CreateLoadBalancerRequest & WithCustomerOwnedIpv4Pool(const Aws::String &value)
bool CustomerOwnedIpv4PoolHasBeenSet() const
const LoadBalancerSchemeEnum & GetScheme() const
const IpAddressType & GetIpAddressType() const
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetScheme(const LoadBalancerSchemeEnum &value)
void SetSubnets(Aws::Vector< Aws::String > &&value)
const LoadBalancerTypeEnum & GetType() const
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateLoadBalancerRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateLoadBalancerRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetName(const char *value)
bool SubnetsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLoadBalancerRequest & WithType(const LoadBalancerTypeEnum &value)
void SetEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum &value)
bool SchemeHasBeenSet() const
CreateLoadBalancerRequest & AddSubnetMappings(SubnetMapping &&value)
void SetEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum &&value)
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
CreateLoadBalancerRequest & WithIpAddressType(const IpAddressType &value)
void SetType(LoadBalancerTypeEnum &&value)
const Aws::Vector< Tag > & GetTags() const
CreateLoadBalancerRequest & AddSubnetMappings(const SubnetMapping &value)
CreateLoadBalancerRequest & WithScheme(LoadBalancerSchemeEnum &&value)
bool NameHasBeenSet() const
void SetSubnetMappings(const Aws::Vector< SubnetMapping > &value)
CreateLoadBalancerRequest & WithCustomerOwnedIpv4Pool(const char *value)
EnablePrefixForIpv6SourceNatEnum
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector