7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/ResourceGatewayIpAddressType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
48 template<
typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<
typename ClientTokenT = Aws::String>
70 template<
typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
83 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
84 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
85 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
87 template<
typename SecurityGroupIdsT = Aws::String>
97 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
98 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
99 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
101 template<
typename SubnetIdsT = Aws::String>
111 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
113 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
117 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
127 template<
typename VpcIdentifierT = Aws::String>
128 void SetVpcIdentifier(VpcIdentifierT&& value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier = std::forward<VpcIdentifierT>(value); }
129 template<
typename VpcIdentifierT = Aws::String>
135 bool m_clientTokenHasBeenSet =
true;
138 bool m_ipAddressTypeHasBeenSet =
false;
141 bool m_nameHasBeenSet =
false;
144 bool m_securityGroupIdsHasBeenSet =
false;
147 bool m_subnetIdsHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
153 bool m_vpcIdentifierHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateResourceGatewayRequest & WithIpAddressType(ResourceGatewayIpAddressType value)
bool NameHasBeenSet() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
ResourceGatewayIpAddressType GetIpAddressType() const
void SetSubnetIds(SubnetIdsT &&value)
void SetTags(TagsT &&value)
CreateResourceGatewayRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateResourceGatewayRequest & AddSubnetIds(SubnetIdsT &&value)
void SetVpcIdentifier(VpcIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool VpcIdentifierHasBeenSet() const
CreateResourceGatewayRequest & WithName(NameT &&value)
const Aws::String & GetClientToken() const
CreateResourceGatewayRequest & WithSubnetIds(SubnetIdsT &&value)
const Aws::String & GetVpcIdentifier() const
CreateResourceGatewayRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateResourceGatewayRequest & WithClientToken(ClientTokenT &&value)
bool SubnetIdsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool TagsHasBeenSet() const
void SetIpAddressType(ResourceGatewayIpAddressType value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateResourceGatewayRequest & WithTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
bool SecurityGroupIdsHasBeenSet() const
bool IpAddressTypeHasBeenSet() const
CreateResourceGatewayRequest & WithVpcIdentifier(VpcIdentifierT &&value)
AWS_VPCLATTICE_API CreateResourceGatewayRequest()=default
void SetName(NameT &&value)
CreateResourceGatewayRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool ClientTokenHasBeenSet() const
ResourceGatewayIpAddressType
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