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/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/IpAddressType.h>
13#include <aws/ec2/model/TagSpecification.h>
49 m_dryRunHasBeenSet =
true;
65 template <
typename SubnetIdT = Aws::String>
67 m_subnetIdHasBeenSet =
true;
68 m_subnetId = std::forward<SubnetIdT>(value);
70 template <
typename SubnetIdT = Aws::String>
85 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
87 m_securityGroupIdsHasBeenSet =
true;
88 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
90 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
95 template <
typename SecurityGroupIdsT = Aws::String>
97 m_securityGroupIdsHasBeenSet =
true;
98 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
117 m_preserveClientIpHasBeenSet =
true;
118 m_preserveClientIp = value;
133 template <
typename ClientTokenT = Aws::String>
135 m_clientTokenHasBeenSet =
true;
136 m_clientToken = std::forward<ClientTokenT>(value);
138 template <
typename ClientTokenT = Aws::String>
151 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
153 m_tagSpecificationsHasBeenSet =
true;
154 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
156 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
161 template <
typename TagSpecificationsT = TagSpecification>
163 m_tagSpecificationsHasBeenSet =
true;
164 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
183 m_ipAddressTypeHasBeenSet =
true;
184 m_ipAddressType = value;
192 bool m_dryRun{
false};
198 bool m_preserveClientIp{
false};
205 bool m_dryRunHasBeenSet =
false;
206 bool m_subnetIdHasBeenSet =
false;
207 bool m_securityGroupIdsHasBeenSet =
false;
208 bool m_preserveClientIpHasBeenSet =
false;
209 bool m_clientTokenHasBeenSet =
true;
210 bool m_tagSpecificationsHasBeenSet =
false;
211 bool m_ipAddressTypeHasBeenSet =
false;
void SetIpAddressType(IpAddressType value)
bool PreserveClientIpHasBeenSet() const
void SetSubnetId(SubnetIdT &&value)
void SetClientToken(ClientTokenT &&value)
bool GetPreserveClientIp() const
CreateInstanceConnectEndpointRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool DryRunHasBeenSet() const
CreateInstanceConnectEndpointRequest & WithPreserveClientIp(bool value)
CreateInstanceConnectEndpointRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateInstanceConnectEndpointRequest & AddTagSpecifications(TagSpecificationsT &&value)
CreateInstanceConnectEndpointRequest & WithClientToken(ClientTokenT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetDryRun(bool value)
CreateInstanceConnectEndpointRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_EC2_API CreateInstanceConnectEndpointRequest()=default
bool ClientTokenHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
CreateInstanceConnectEndpointRequest & WithSubnetId(SubnetIdT &&value)
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
bool IpAddressTypeHasBeenSet() const
void SetPreserveClientIp(bool value)
bool SubnetIdHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::String & GetSubnetId() const
CreateInstanceConnectEndpointRequest & WithIpAddressType(IpAddressType value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
IpAddressType GetIpAddressType() const
bool SecurityGroupIdsHasBeenSet() const
CreateInstanceConnectEndpointRequest & WithDryRun(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector