AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplaceVpnTunnelRequest.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 <utility>
11
12namespace Aws
13{
14namespace EC2
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ReplaceVpnTunnel"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetVpnConnectionId() const{ return m_vpnConnectionId; }
44 inline bool VpnConnectionIdHasBeenSet() const { return m_vpnConnectionIdHasBeenSet; }
45 inline void SetVpnConnectionId(const Aws::String& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = value; }
46 inline void SetVpnConnectionId(Aws::String&& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = std::move(value); }
47 inline void SetVpnConnectionId(const char* value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId.assign(value); }
48 inline ReplaceVpnTunnelRequest& WithVpnConnectionId(const Aws::String& value) { SetVpnConnectionId(value); return *this;}
49 inline ReplaceVpnTunnelRequest& WithVpnConnectionId(Aws::String&& value) { SetVpnConnectionId(std::move(value)); return *this;}
50 inline ReplaceVpnTunnelRequest& WithVpnConnectionId(const char* value) { SetVpnConnectionId(value); return *this;}
52
54
57 inline const Aws::String& GetVpnTunnelOutsideIpAddress() const{ return m_vpnTunnelOutsideIpAddress; }
58 inline bool VpnTunnelOutsideIpAddressHasBeenSet() const { return m_vpnTunnelOutsideIpAddressHasBeenSet; }
59 inline void SetVpnTunnelOutsideIpAddress(const Aws::String& value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress = value; }
60 inline void SetVpnTunnelOutsideIpAddress(Aws::String&& value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress = std::move(value); }
61 inline void SetVpnTunnelOutsideIpAddress(const char* value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress.assign(value); }
66
68
71 inline bool GetApplyPendingMaintenance() const{ return m_applyPendingMaintenance; }
72 inline bool ApplyPendingMaintenanceHasBeenSet() const { return m_applyPendingMaintenanceHasBeenSet; }
73 inline void SetApplyPendingMaintenance(bool value) { m_applyPendingMaintenanceHasBeenSet = true; m_applyPendingMaintenance = value; }
76
78
84 inline bool GetDryRun() const{ return m_dryRun; }
85 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
86 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
87 inline ReplaceVpnTunnelRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
89 private:
90
91 Aws::String m_vpnConnectionId;
92 bool m_vpnConnectionIdHasBeenSet = false;
93
94 Aws::String m_vpnTunnelOutsideIpAddress;
95 bool m_vpnTunnelOutsideIpAddressHasBeenSet = false;
96
97 bool m_applyPendingMaintenance;
98 bool m_applyPendingMaintenanceHasBeenSet = false;
99
100 bool m_dryRun;
101 bool m_dryRunHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace EC2
106} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
void SetVpnTunnelOutsideIpAddress(const Aws::String &value)
ReplaceVpnTunnelRequest & WithVpnTunnelOutsideIpAddress(Aws::String &&value)
ReplaceVpnTunnelRequest & WithDryRun(bool value)
ReplaceVpnTunnelRequest & WithVpnConnectionId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ReplaceVpnTunnelRequest & WithVpnTunnelOutsideIpAddress(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ReplaceVpnTunnelRequest & WithVpnConnectionId(const Aws::String &value)
ReplaceVpnTunnelRequest & WithVpnTunnelOutsideIpAddress(const char *value)
const Aws::String & GetVpnTunnelOutsideIpAddress() const
void SetVpnConnectionId(const Aws::String &value)
ReplaceVpnTunnelRequest & WithApplyPendingMaintenance(bool value)
ReplaceVpnTunnelRequest & WithVpnConnectionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String