AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteClientVpnRouteRequest.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 "DeleteClientVpnRoute"; }
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& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
44 inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
45 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
46 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
47 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
50 inline DeleteClientVpnRouteRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
52
54
57 inline const Aws::String& GetTargetVpcSubnetId() const{ return m_targetVpcSubnetId; }
58 inline bool TargetVpcSubnetIdHasBeenSet() const { return m_targetVpcSubnetIdHasBeenSet; }
59 inline void SetTargetVpcSubnetId(const Aws::String& value) { m_targetVpcSubnetIdHasBeenSet = true; m_targetVpcSubnetId = value; }
60 inline void SetTargetVpcSubnetId(Aws::String&& value) { m_targetVpcSubnetIdHasBeenSet = true; m_targetVpcSubnetId = std::move(value); }
61 inline void SetTargetVpcSubnetId(const char* value) { m_targetVpcSubnetIdHasBeenSet = true; m_targetVpcSubnetId.assign(value); }
63 inline DeleteClientVpnRouteRequest& WithTargetVpcSubnetId(Aws::String&& value) { SetTargetVpcSubnetId(std::move(value)); return *this;}
64 inline DeleteClientVpnRouteRequest& WithTargetVpcSubnetId(const char* value) { SetTargetVpcSubnetId(value); return *this;}
66
68
71 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
72 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
73 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
74 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
75 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
78 inline DeleteClientVpnRouteRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
80
82
88 inline bool GetDryRun() const{ return m_dryRun; }
89 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
90 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
91 inline DeleteClientVpnRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
93 private:
94
95 Aws::String m_clientVpnEndpointId;
96 bool m_clientVpnEndpointIdHasBeenSet = false;
97
98 Aws::String m_targetVpcSubnetId;
99 bool m_targetVpcSubnetIdHasBeenSet = false;
100
101 Aws::String m_destinationCidrBlock;
102 bool m_destinationCidrBlockHasBeenSet = false;
103
104 bool m_dryRun;
105 bool m_dryRunHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace EC2
110} // namespace Aws
DeleteClientVpnRouteRequest & WithTargetVpcSubnetId(const Aws::String &value)
DeleteClientVpnRouteRequest & WithTargetVpcSubnetId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteClientVpnRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
DeleteClientVpnRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
DeleteClientVpnRouteRequest & WithDestinationCidrBlock(const char *value)
DeleteClientVpnRouteRequest & WithTargetVpcSubnetId(const char *value)
DeleteClientVpnRouteRequest & WithClientVpnEndpointId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteClientVpnRouteRequest & WithDryRun(bool value)
DeleteClientVpnRouteRequest & WithClientVpnEndpointId(Aws::String &&value)
DeleteClientVpnRouteRequest & WithClientVpnEndpointId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String