AWS SDK for C++  1.9.72
AWS SDK for C++
ModifyVpnTunnelCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EC2
15 {
16 namespace 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 "ModifyVpnTunnelCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetVpnConnectionId() const{ return m_vpnConnectionId; }
43 
47  inline bool VpnConnectionIdHasBeenSet() const { return m_vpnConnectionIdHasBeenSet; }
48 
52  inline void SetVpnConnectionId(const Aws::String& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = value; }
53 
57  inline void SetVpnConnectionId(Aws::String&& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = std::move(value); }
58 
62  inline void SetVpnConnectionId(const char* value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId.assign(value); }
63 
67  inline ModifyVpnTunnelCertificateRequest& WithVpnConnectionId(const Aws::String& value) { SetVpnConnectionId(value); return *this;}
68 
72  inline ModifyVpnTunnelCertificateRequest& WithVpnConnectionId(Aws::String&& value) { SetVpnConnectionId(std::move(value)); return *this;}
73 
77  inline ModifyVpnTunnelCertificateRequest& WithVpnConnectionId(const char* value) { SetVpnConnectionId(value); return *this;}
78 
79 
83  inline const Aws::String& GetVpnTunnelOutsideIpAddress() const{ return m_vpnTunnelOutsideIpAddress; }
84 
88  inline bool VpnTunnelOutsideIpAddressHasBeenSet() const { return m_vpnTunnelOutsideIpAddressHasBeenSet; }
89 
93  inline void SetVpnTunnelOutsideIpAddress(const Aws::String& value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress = value; }
94 
98  inline void SetVpnTunnelOutsideIpAddress(Aws::String&& value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress = std::move(value); }
99 
103  inline void SetVpnTunnelOutsideIpAddress(const char* value) { m_vpnTunnelOutsideIpAddressHasBeenSet = true; m_vpnTunnelOutsideIpAddress.assign(value); }
104 
108  inline ModifyVpnTunnelCertificateRequest& WithVpnTunnelOutsideIpAddress(const Aws::String& value) { SetVpnTunnelOutsideIpAddress(value); return *this;}
109 
113  inline ModifyVpnTunnelCertificateRequest& WithVpnTunnelOutsideIpAddress(Aws::String&& value) { SetVpnTunnelOutsideIpAddress(std::move(value)); return *this;}
114 
118  inline ModifyVpnTunnelCertificateRequest& WithVpnTunnelOutsideIpAddress(const char* value) { SetVpnTunnelOutsideIpAddress(value); return *this;}
119 
120 
127  inline bool GetDryRun() const{ return m_dryRun; }
128 
135  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
136 
143  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
144 
151  inline ModifyVpnTunnelCertificateRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
152 
153  private:
154 
155  Aws::String m_vpnConnectionId;
156  bool m_vpnConnectionIdHasBeenSet;
157 
158  Aws::String m_vpnTunnelOutsideIpAddress;
159  bool m_vpnTunnelOutsideIpAddressHasBeenSet;
160 
161  bool m_dryRun;
162  bool m_dryRunHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace EC2
167 } // namespace Aws
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetVpnTunnelOutsideIpAddress
void SetVpnTunnelOutsideIpAddress(const Aws::String &value)
Definition: ModifyVpnTunnelCertificateRequest.h:93
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::VpnTunnelOutsideIpAddressHasBeenSet
bool VpnTunnelOutsideIpAddressHasBeenSet() const
Definition: ModifyVpnTunnelCertificateRequest.h:88
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetVpnTunnelOutsideIpAddress
void SetVpnTunnelOutsideIpAddress(Aws::String &&value)
Definition: ModifyVpnTunnelCertificateRequest.h:98
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetVpnTunnelOutsideIpAddress
void SetVpnTunnelOutsideIpAddress(const char *value)
Definition: ModifyVpnTunnelCertificateRequest.h:103
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetVpnConnectionId
void SetVpnConnectionId(const Aws::String &value)
Definition: ModifyVpnTunnelCertificateRequest.h:52
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ModifyVpnTunnelCertificateRequest.h:135
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::ModifyVpnTunnelCertificateRequest
ModifyVpnTunnelCertificateRequest()
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::VpnConnectionIdHasBeenSet
bool VpnConnectionIdHasBeenSet() const
Definition: ModifyVpnTunnelCertificateRequest.h:47
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithVpnTunnelOutsideIpAddress
ModifyVpnTunnelCertificateRequest & WithVpnTunnelOutsideIpAddress(Aws::String &&value)
Definition: ModifyVpnTunnelCertificateRequest.h:113
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::GetVpnConnectionId
const Aws::String & GetVpnConnectionId() const
Definition: ModifyVpnTunnelCertificateRequest.h:42
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetDryRun
void SetDryRun(bool value)
Definition: ModifyVpnTunnelCertificateRequest.h:143
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest
Definition: ModifyVpnTunnelCertificateRequest.h:22
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::GetVpnTunnelOutsideIpAddress
const Aws::String & GetVpnTunnelOutsideIpAddress() const
Definition: ModifyVpnTunnelCertificateRequest.h:83
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithVpnTunnelOutsideIpAddress
ModifyVpnTunnelCertificateRequest & WithVpnTunnelOutsideIpAddress(const Aws::String &value)
Definition: ModifyVpnTunnelCertificateRequest.h:108
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithVpnConnectionId
ModifyVpnTunnelCertificateRequest & WithVpnConnectionId(Aws::String &&value)
Definition: ModifyVpnTunnelCertificateRequest.h:72
EC2Request.h
AWSString.h
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithVpnTunnelOutsideIpAddress
ModifyVpnTunnelCertificateRequest & WithVpnTunnelOutsideIpAddress(const char *value)
Definition: ModifyVpnTunnelCertificateRequest.h:118
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetVpnConnectionId
void SetVpnConnectionId(const char *value)
Definition: ModifyVpnTunnelCertificateRequest.h:62
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::GetDryRun
bool GetDryRun() const
Definition: ModifyVpnTunnelCertificateRequest.h:127
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyVpnTunnelCertificateRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithDryRun
ModifyVpnTunnelCertificateRequest & WithDryRun(bool value)
Definition: ModifyVpnTunnelCertificateRequest.h:151
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithVpnConnectionId
ModifyVpnTunnelCertificateRequest & WithVpnConnectionId(const Aws::String &value)
Definition: ModifyVpnTunnelCertificateRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::SetVpnConnectionId
void SetVpnConnectionId(Aws::String &&value)
Definition: ModifyVpnTunnelCertificateRequest.h:57
EC2_EXPORTS.h
Aws::EC2::Model::ModifyVpnTunnelCertificateRequest::WithVpnConnectionId
ModifyVpnTunnelCertificateRequest & WithVpnConnectionId(const char *value)
Definition: ModifyVpnTunnelCertificateRequest.h:77