AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVpnConnectionOptionsRequest.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 "ModifyVpnConnectionOptions"; }
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); }
49 inline ModifyVpnConnectionOptionsRequest& WithVpnConnectionId(Aws::String&& value) { SetVpnConnectionId(std::move(value)); return *this;}
50 inline ModifyVpnConnectionOptionsRequest& WithVpnConnectionId(const char* value) { SetVpnConnectionId(value); return *this;}
52
54
58 inline const Aws::String& GetLocalIpv4NetworkCidr() const{ return m_localIpv4NetworkCidr; }
59 inline bool LocalIpv4NetworkCidrHasBeenSet() const { return m_localIpv4NetworkCidrHasBeenSet; }
60 inline void SetLocalIpv4NetworkCidr(const Aws::String& value) { m_localIpv4NetworkCidrHasBeenSet = true; m_localIpv4NetworkCidr = value; }
61 inline void SetLocalIpv4NetworkCidr(Aws::String&& value) { m_localIpv4NetworkCidrHasBeenSet = true; m_localIpv4NetworkCidr = std::move(value); }
62 inline void SetLocalIpv4NetworkCidr(const char* value) { m_localIpv4NetworkCidrHasBeenSet = true; m_localIpv4NetworkCidr.assign(value); }
67
69
73 inline const Aws::String& GetRemoteIpv4NetworkCidr() const{ return m_remoteIpv4NetworkCidr; }
74 inline bool RemoteIpv4NetworkCidrHasBeenSet() const { return m_remoteIpv4NetworkCidrHasBeenSet; }
75 inline void SetRemoteIpv4NetworkCidr(const Aws::String& value) { m_remoteIpv4NetworkCidrHasBeenSet = true; m_remoteIpv4NetworkCidr = value; }
76 inline void SetRemoteIpv4NetworkCidr(Aws::String&& value) { m_remoteIpv4NetworkCidrHasBeenSet = true; m_remoteIpv4NetworkCidr = std::move(value); }
77 inline void SetRemoteIpv4NetworkCidr(const char* value) { m_remoteIpv4NetworkCidrHasBeenSet = true; m_remoteIpv4NetworkCidr.assign(value); }
82
84
88 inline const Aws::String& GetLocalIpv6NetworkCidr() const{ return m_localIpv6NetworkCidr; }
89 inline bool LocalIpv6NetworkCidrHasBeenSet() const { return m_localIpv6NetworkCidrHasBeenSet; }
90 inline void SetLocalIpv6NetworkCidr(const Aws::String& value) { m_localIpv6NetworkCidrHasBeenSet = true; m_localIpv6NetworkCidr = value; }
91 inline void SetLocalIpv6NetworkCidr(Aws::String&& value) { m_localIpv6NetworkCidrHasBeenSet = true; m_localIpv6NetworkCidr = std::move(value); }
92 inline void SetLocalIpv6NetworkCidr(const char* value) { m_localIpv6NetworkCidrHasBeenSet = true; m_localIpv6NetworkCidr.assign(value); }
97
99
103 inline const Aws::String& GetRemoteIpv6NetworkCidr() const{ return m_remoteIpv6NetworkCidr; }
104 inline bool RemoteIpv6NetworkCidrHasBeenSet() const { return m_remoteIpv6NetworkCidrHasBeenSet; }
105 inline void SetRemoteIpv6NetworkCidr(const Aws::String& value) { m_remoteIpv6NetworkCidrHasBeenSet = true; m_remoteIpv6NetworkCidr = value; }
106 inline void SetRemoteIpv6NetworkCidr(Aws::String&& value) { m_remoteIpv6NetworkCidrHasBeenSet = true; m_remoteIpv6NetworkCidr = std::move(value); }
107 inline void SetRemoteIpv6NetworkCidr(const char* value) { m_remoteIpv6NetworkCidrHasBeenSet = true; m_remoteIpv6NetworkCidr.assign(value); }
112
114
120 inline bool GetDryRun() const{ return m_dryRun; }
121 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
122 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
123 inline ModifyVpnConnectionOptionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
125 private:
126
127 Aws::String m_vpnConnectionId;
128 bool m_vpnConnectionIdHasBeenSet = false;
129
130 Aws::String m_localIpv4NetworkCidr;
131 bool m_localIpv4NetworkCidrHasBeenSet = false;
132
133 Aws::String m_remoteIpv4NetworkCidr;
134 bool m_remoteIpv4NetworkCidrHasBeenSet = false;
135
136 Aws::String m_localIpv6NetworkCidr;
137 bool m_localIpv6NetworkCidrHasBeenSet = false;
138
139 Aws::String m_remoteIpv6NetworkCidr;
140 bool m_remoteIpv6NetworkCidrHasBeenSet = false;
141
142 bool m_dryRun;
143 bool m_dryRunHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace EC2
148} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpnConnectionOptionsRequest & WithRemoteIpv4NetworkCidr(const Aws::String &value)
ModifyVpnConnectionOptionsRequest & WithRemoteIpv4NetworkCidr(Aws::String &&value)
ModifyVpnConnectionOptionsRequest & WithLocalIpv4NetworkCidr(const Aws::String &value)
ModifyVpnConnectionOptionsRequest & WithLocalIpv4NetworkCidr(const char *value)
ModifyVpnConnectionOptionsRequest & WithVpnConnectionId(const char *value)
ModifyVpnConnectionOptionsRequest & WithDryRun(bool value)
ModifyVpnConnectionOptionsRequest & WithLocalIpv6NetworkCidr(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVpnConnectionOptionsRequest & WithVpnConnectionId(const Aws::String &value)
ModifyVpnConnectionOptionsRequest & WithRemoteIpv6NetworkCidr(const Aws::String &value)
ModifyVpnConnectionOptionsRequest & WithLocalIpv6NetworkCidr(Aws::String &&value)
ModifyVpnConnectionOptionsRequest & WithRemoteIpv4NetworkCidr(const char *value)
ModifyVpnConnectionOptionsRequest & WithRemoteIpv6NetworkCidr(const char *value)
ModifyVpnConnectionOptionsRequest & WithLocalIpv6NetworkCidr(const Aws::String &value)
ModifyVpnConnectionOptionsRequest & WithRemoteIpv6NetworkCidr(Aws::String &&value)
ModifyVpnConnectionOptionsRequest & WithVpnConnectionId(Aws::String &&value)
ModifyVpnConnectionOptionsRequest & WithLocalIpv4NetworkCidr(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String