AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteClientVpnRouteRequest.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 "DeleteClientVpnRoute"; }
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& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
43 
47  inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
48 
52  inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
53 
57  inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
58 
62  inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
63 
67  inline DeleteClientVpnRouteRequest& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
68 
72  inline DeleteClientVpnRouteRequest& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
73 
77  inline DeleteClientVpnRouteRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
78 
79 
83  inline const Aws::String& GetTargetVpcSubnetId() const{ return m_targetVpcSubnetId; }
84 
88  inline bool TargetVpcSubnetIdHasBeenSet() const { return m_targetVpcSubnetIdHasBeenSet; }
89 
93  inline void SetTargetVpcSubnetId(const Aws::String& value) { m_targetVpcSubnetIdHasBeenSet = true; m_targetVpcSubnetId = value; }
94 
98  inline void SetTargetVpcSubnetId(Aws::String&& value) { m_targetVpcSubnetIdHasBeenSet = true; m_targetVpcSubnetId = std::move(value); }
99 
103  inline void SetTargetVpcSubnetId(const char* value) { m_targetVpcSubnetIdHasBeenSet = true; m_targetVpcSubnetId.assign(value); }
104 
108  inline DeleteClientVpnRouteRequest& WithTargetVpcSubnetId(const Aws::String& value) { SetTargetVpcSubnetId(value); return *this;}
109 
113  inline DeleteClientVpnRouteRequest& WithTargetVpcSubnetId(Aws::String&& value) { SetTargetVpcSubnetId(std::move(value)); return *this;}
114 
118  inline DeleteClientVpnRouteRequest& WithTargetVpcSubnetId(const char* value) { SetTargetVpcSubnetId(value); return *this;}
119 
120 
124  inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
125 
129  inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
130 
134  inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
135 
139  inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
140 
144  inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
145 
149  inline DeleteClientVpnRouteRequest& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
150 
154  inline DeleteClientVpnRouteRequest& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
155 
159  inline DeleteClientVpnRouteRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
160 
161 
168  inline bool GetDryRun() const{ return m_dryRun; }
169 
176  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
177 
184  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
185 
192  inline DeleteClientVpnRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
193 
194  private:
195 
196  Aws::String m_clientVpnEndpointId;
197  bool m_clientVpnEndpointIdHasBeenSet;
198 
199  Aws::String m_targetVpcSubnetId;
200  bool m_targetVpcSubnetIdHasBeenSet;
201 
202  Aws::String m_destinationCidrBlock;
203  bool m_destinationCidrBlockHasBeenSet;
204 
205  bool m_dryRun;
206  bool m_dryRunHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace EC2
211 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DeleteClientVpnRouteRequest::DestinationCidrBlockHasBeenSet
bool DestinationCidrBlockHasBeenSet() const
Definition: DeleteClientVpnRouteRequest.h:129
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithDestinationCidrBlock
DeleteClientVpnRouteRequest & WithDestinationCidrBlock(const char *value)
Definition: DeleteClientVpnRouteRequest.h:159
Aws::EC2::Model::DeleteClientVpnRouteRequest::DeleteClientVpnRouteRequest
DeleteClientVpnRouteRequest()
Aws::EC2::Model::DeleteClientVpnRouteRequest
Definition: DeleteClientVpnRouteRequest.h:22
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithDestinationCidrBlock
DeleteClientVpnRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
Definition: DeleteClientVpnRouteRequest.h:154
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithTargetVpcSubnetId
DeleteClientVpnRouteRequest & WithTargetVpcSubnetId(Aws::String &&value)
Definition: DeleteClientVpnRouteRequest.h:113
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithDestinationCidrBlock
DeleteClientVpnRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
Definition: DeleteClientVpnRouteRequest.h:149
Aws::EC2::Model::DeleteClientVpnRouteRequest::TargetVpcSubnetIdHasBeenSet
bool TargetVpcSubnetIdHasBeenSet() const
Definition: DeleteClientVpnRouteRequest.h:88
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: DeleteClientVpnRouteRequest.h:62
Aws::EC2::Model::DeleteClientVpnRouteRequest::ClientVpnEndpointIdHasBeenSet
bool ClientVpnEndpointIdHasBeenSet() const
Definition: DeleteClientVpnRouteRequest.h:47
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const Aws::String &value)
Definition: DeleteClientVpnRouteRequest.h:134
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithTargetVpcSubnetId
DeleteClientVpnRouteRequest & WithTargetVpcSubnetId(const char *value)
Definition: DeleteClientVpnRouteRequest.h:118
Aws::EC2::Model::DeleteClientVpnRouteRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const char *value)
Definition: DeleteClientVpnRouteRequest.h:144
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithTargetVpcSubnetId
DeleteClientVpnRouteRequest & WithTargetVpcSubnetId(const Aws::String &value)
Definition: DeleteClientVpnRouteRequest.h:108
Aws::EC2::Model::DeleteClientVpnRouteRequest::GetDryRun
bool GetDryRun() const
Definition: DeleteClientVpnRouteRequest.h:168
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetTargetVpcSubnetId
void SetTargetVpcSubnetId(const char *value)
Definition: DeleteClientVpnRouteRequest.h:103
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithClientVpnEndpointId
DeleteClientVpnRouteRequest & WithClientVpnEndpointId(Aws::String &&value)
Definition: DeleteClientVpnRouteRequest.h:72
EC2Request.h
Aws::EC2::Model::DeleteClientVpnRouteRequest::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: DeleteClientVpnRouteRequest.h:42
AWSString.h
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: DeleteClientVpnRouteRequest.h:52
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetDryRun
void SetDryRun(bool value)
Definition: DeleteClientVpnRouteRequest.h:184
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithDryRun
DeleteClientVpnRouteRequest & WithDryRun(bool value)
Definition: DeleteClientVpnRouteRequest.h:192
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(Aws::String &&value)
Definition: DeleteClientVpnRouteRequest.h:139
Aws::EC2::Model::DeleteClientVpnRouteRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetTargetVpcSubnetId
void SetTargetVpcSubnetId(const Aws::String &value)
Definition: DeleteClientVpnRouteRequest.h:93
Aws::EC2::Model::DeleteClientVpnRouteRequest::GetDestinationCidrBlock
const Aws::String & GetDestinationCidrBlock() const
Definition: DeleteClientVpnRouteRequest.h:124
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithClientVpnEndpointId
DeleteClientVpnRouteRequest & WithClientVpnEndpointId(const char *value)
Definition: DeleteClientVpnRouteRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DeleteClientVpnRouteRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteClientVpnRouteRequest.h:30
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DeleteClientVpnRouteRequest::GetTargetVpcSubnetId
const Aws::String & GetTargetVpcSubnetId() const
Definition: DeleteClientVpnRouteRequest.h:83
Aws::EC2::Model::DeleteClientVpnRouteRequest::WithClientVpnEndpointId
DeleteClientVpnRouteRequest & WithClientVpnEndpointId(const Aws::String &value)
Definition: DeleteClientVpnRouteRequest.h:67
EC2_EXPORTS.h
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: DeleteClientVpnRouteRequest.h:57
Aws::EC2::Model::DeleteClientVpnRouteRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DeleteClientVpnRouteRequest.h:176
Aws::EC2::Model::DeleteClientVpnRouteRequest::SetTargetVpcSubnetId
void SetTargetVpcSubnetId(Aws::String &&value)
Definition: DeleteClientVpnRouteRequest.h:98