7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ModifyVpnTunnelOptionsSpecification.h>
46 template<
typename VpnConnectionIdT = Aws::String>
47 void SetVpnConnectionId(VpnConnectionIdT&& value) { m_vpnConnectionIdHasBeenSet =
true; m_vpnConnectionId = std::forward<VpnConnectionIdT>(value); }
48 template<
typename VpnConnectionIdT = Aws::String>
58 template<
typename VpnTunnelOuts
ideIpAddressT = Aws::String>
59 void SetVpnTunnelOutsideIpAddress(VpnTunnelOutsideIpAddressT&& value) { m_vpnTunnelOutsideIpAddressHasBeenSet =
true; m_vpnTunnelOutsideIpAddress = std::forward<VpnTunnelOutsideIpAddressT>(value); }
60 template<
typename VpnTunnelOuts
ideIpAddressT = Aws::String>
70 template<
typename TunnelOptionsT = ModifyVpnTunnelOptionsSpecification>
71 void SetTunnelOptions(TunnelOptionsT&& value) { m_tunnelOptionsHasBeenSet =
true; m_tunnelOptions = std::forward<TunnelOptionsT>(value); }
72 template<
typename TunnelOptionsT = ModifyVpnTunnelOptionsSpecification>
85 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
97 inline void SetSkipTunnelReplacement(
bool value) { m_skipTunnelReplacementHasBeenSet =
true; m_skipTunnelReplacement = value; }
109 template<
typename PreSharedKeyStorageT = Aws::String>
110 void SetPreSharedKeyStorage(PreSharedKeyStorageT&& value) { m_preSharedKeyStorageHasBeenSet =
true; m_preSharedKeyStorage = std::forward<PreSharedKeyStorageT>(value); }
111 template<
typename PreSharedKeyStorageT = Aws::String>
117 bool m_vpnConnectionIdHasBeenSet =
false;
120 bool m_vpnTunnelOutsideIpAddressHasBeenSet =
false;
123 bool m_tunnelOptionsHasBeenSet =
false;
125 bool m_dryRun{
false};
126 bool m_dryRunHasBeenSet =
false;
128 bool m_skipTunnelReplacement{
false};
129 bool m_skipTunnelReplacementHasBeenSet =
false;
132 bool m_preSharedKeyStorageHasBeenSet =
false;
ModifyVpnTunnelOptionsRequest & WithPreSharedKeyStorage(PreSharedKeyStorageT &&value)
bool SkipTunnelReplacementHasBeenSet() const
const Aws::String & GetVpnTunnelOutsideIpAddress() const
const Aws::String & GetPreSharedKeyStorage() const
ModifyVpnTunnelOptionsRequest & WithVpnConnectionId(VpnConnectionIdT &&value)
void SetVpnTunnelOutsideIpAddress(VpnTunnelOutsideIpAddressT &&value)
bool GetSkipTunnelReplacement() const
void SetPreSharedKeyStorage(PreSharedKeyStorageT &&value)
const Aws::String & GetVpnConnectionId() const
void SetSkipTunnelReplacement(bool value)
bool PreSharedKeyStorageHasBeenSet() const
bool VpnConnectionIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_EC2_API ModifyVpnTunnelOptionsRequest()=default
void SetTunnelOptions(TunnelOptionsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
bool DryRunHasBeenSet() const
ModifyVpnTunnelOptionsRequest & WithVpnTunnelOutsideIpAddress(VpnTunnelOutsideIpAddressT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool TunnelOptionsHasBeenSet() const
void SetVpnConnectionId(VpnConnectionIdT &&value)
ModifyVpnTunnelOptionsRequest & WithTunnelOptions(TunnelOptionsT &&value)
bool VpnTunnelOutsideIpAddressHasBeenSet() const
ModifyVpnTunnelOptionsRequest & WithSkipTunnelReplacement(bool value)
const ModifyVpnTunnelOptionsSpecification & GetTunnelOptions() const
void SetDryRun(bool value)
ModifyVpnTunnelOptionsRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String