AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVpnTunnelOptionsRequest.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyVpnTunnelOptions"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetVpnConnectionId() const{ return m_vpnConnectionId; }
45 inline bool VpnConnectionIdHasBeenSet() const { return m_vpnConnectionIdHasBeenSet; }
46 inline void SetVpnConnectionId(const Aws::String& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = value; }
47 inline void SetVpnConnectionId(Aws::String&& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = std::move(value); }
48 inline void SetVpnConnectionId(const char* value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId.assign(value); }
50 inline ModifyVpnTunnelOptionsRequest& WithVpnConnectionId(Aws::String&& value) { SetVpnConnectionId(std::move(value)); return *this;}
51 inline ModifyVpnTunnelOptionsRequest& WithVpnConnectionId(const char* value) { SetVpnConnectionId(value); return *this;}
53
55
58 inline const Aws::String& GetVpnTunnelOutsideIpAddress() const{ return m_vpnTunnelOutsideIpAddress; }
59 inline bool VpnTunnelOutsideIpAddressHasBeenSet() const { return m_vpnTunnelOutsideIpAddressHasBeenSet; }
60 inline void SetVpnTunnelOutsideIpAddress(const Aws::String& value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress = value; }
61 inline void SetVpnTunnelOutsideIpAddress(Aws::String&& value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress = std::move(value); }
62 inline void SetVpnTunnelOutsideIpAddress(const char* value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress.assign(value); }
67
69
72 inline const ModifyVpnTunnelOptionsSpecification& GetTunnelOptions() const{ return m_tunnelOptions; }
73 inline bool TunnelOptionsHasBeenSet() const { return m_tunnelOptionsHasBeenSet; }
74 inline void SetTunnelOptions(const ModifyVpnTunnelOptionsSpecification& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions = value; }
75 inline void SetTunnelOptions(ModifyVpnTunnelOptionsSpecification&& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions = std::move(value); }
79
81
87 inline bool GetDryRun() const{ return m_dryRun; }
88 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
89 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
90 inline ModifyVpnTunnelOptionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
92
94
99 inline bool GetSkipTunnelReplacement() const{ return m_skipTunnelReplacement; }
100 inline bool SkipTunnelReplacementHasBeenSet() const { return m_skipTunnelReplacementHasBeenSet; }
101 inline void SetSkipTunnelReplacement(bool value) { m_skipTunnelReplacementHasBeenSet = true; m_skipTunnelReplacement = value; }
104 private:
105
106 Aws::String m_vpnConnectionId;
107 bool m_vpnConnectionIdHasBeenSet = false;
108
109 Aws::String m_vpnTunnelOutsideIpAddress;
110 bool m_vpnTunnelOutsideIpAddressHasBeenSet = false;
111
113 bool m_tunnelOptionsHasBeenSet = false;
114
115 bool m_dryRun;
116 bool m_dryRunHasBeenSet = false;
117
118 bool m_skipTunnelReplacement;
119 bool m_skipTunnelReplacementHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace EC2
124} // namespace Aws
ModifyVpnTunnelOptionsRequest & WithVpnTunnelOutsideIpAddress(const Aws::String &value)
ModifyVpnTunnelOptionsRequest & WithVpnConnectionId(Aws::String &&value)
void SetTunnelOptions(ModifyVpnTunnelOptionsSpecification &&value)
virtual const char * GetServiceRequestName() const override
ModifyVpnTunnelOptionsRequest & WithTunnelOptions(const ModifyVpnTunnelOptionsSpecification &value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpnTunnelOptionsRequest & WithVpnConnectionId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVpnTunnelOptionsRequest & WithVpnConnectionId(const Aws::String &value)
ModifyVpnTunnelOptionsRequest & WithVpnTunnelOutsideIpAddress(Aws::String &&value)
ModifyVpnTunnelOptionsRequest & WithTunnelOptions(ModifyVpnTunnelOptionsSpecification &&value)
ModifyVpnTunnelOptionsRequest & WithVpnTunnelOutsideIpAddress(const char *value)
void SetTunnelOptions(const ModifyVpnTunnelOptionsSpecification &value)
ModifyVpnTunnelOptionsRequest & WithSkipTunnelReplacement(bool value)
const ModifyVpnTunnelOptionsSpecification & GetTunnelOptions() const
ModifyVpnTunnelOptionsRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String