AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRouteRequest.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:
24 AWS_EC2_API DeleteRouteRequest();
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 "DeleteRoute"; }
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& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
44 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
45 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
46 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
47 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
49 inline DeleteRouteRequest& WithDestinationPrefixListId(Aws::String&& value) { SetDestinationPrefixListId(std::move(value)); return *this;}
50 inline DeleteRouteRequest& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;}
52
54
60 inline bool GetDryRun() const{ return m_dryRun; }
61 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
62 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
63 inline DeleteRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
65
67
70 inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
71 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
72 inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
73 inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
74 inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
75 inline DeleteRouteRequest& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;}
76 inline DeleteRouteRequest& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
77 inline DeleteRouteRequest& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
79
81
85 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
86 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
87 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
88 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
89 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
91 inline DeleteRouteRequest& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
92 inline DeleteRouteRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
94
96
100 inline const Aws::String& GetDestinationIpv6CidrBlock() const{ return m_destinationIpv6CidrBlock; }
101 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
102 inline void SetDestinationIpv6CidrBlock(const Aws::String& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = value; }
103 inline void SetDestinationIpv6CidrBlock(Aws::String&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::move(value); }
104 inline void SetDestinationIpv6CidrBlock(const char* value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock.assign(value); }
107 inline DeleteRouteRequest& WithDestinationIpv6CidrBlock(const char* value) { SetDestinationIpv6CidrBlock(value); return *this;}
109 private:
110
111 Aws::String m_destinationPrefixListId;
112 bool m_destinationPrefixListIdHasBeenSet = false;
113
114 bool m_dryRun;
115 bool m_dryRunHasBeenSet = false;
116
117 Aws::String m_routeTableId;
118 bool m_routeTableIdHasBeenSet = false;
119
120 Aws::String m_destinationCidrBlock;
121 bool m_destinationCidrBlockHasBeenSet = false;
122
123 Aws::String m_destinationIpv6CidrBlock;
124 bool m_destinationIpv6CidrBlockHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace EC2
129} // namespace Aws
const Aws::String & GetRouteTableId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteRouteRequest & WithDestinationPrefixListId(const char *value)
DeleteRouteRequest & WithRouteTableId(const char *value)
void SetRouteTableId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetRouteTableId(const Aws::String &value)
void SetDestinationPrefixListId(const Aws::String &value)
void SetDestinationPrefixListId(const char *value)
void SetDestinationCidrBlock(Aws::String &&value)
DeleteRouteRequest & WithRouteTableId(const Aws::String &value)
void SetDestinationPrefixListId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDestinationIpv6CidrBlock(const Aws::String &value)
const Aws::String & GetDestinationPrefixListId() const
void SetRouteTableId(const char *value)
DeleteRouteRequest & WithDestinationPrefixListId(Aws::String &&value)
DeleteRouteRequest & WithRouteTableId(Aws::String &&value)
DeleteRouteRequest & WithDestinationIpv6CidrBlock(const char *value)
const Aws::String & GetDestinationIpv6CidrBlock() const
DeleteRouteRequest & WithDestinationIpv6CidrBlock(const Aws::String &value)
DeleteRouteRequest & WithDestinationPrefixListId(const Aws::String &value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const char *value)
const Aws::String & GetDestinationCidrBlock() const
DeleteRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
void SetDestinationCidrBlock(const char *value)
DeleteRouteRequest & WithDestinationCidrBlock(const char *value)
DeleteRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
DeleteRouteRequest & WithDestinationIpv6CidrBlock(Aws::String &&value)
void SetDestinationCidrBlock(const Aws::String &value)
DeleteRouteRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String