AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteLocalGatewayRouteRequest.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 "DeleteLocalGatewayRoute"; }
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
44 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
45 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
46 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
47 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
48 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
51 inline DeleteLocalGatewayRouteRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
53
55
58 inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
59 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
60 inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
61 inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
62 inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
67
69
75 inline bool GetDryRun() const{ return m_dryRun; }
76 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
77 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
78 inline DeleteLocalGatewayRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
80
82
87 inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
88 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
89 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
90 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
91 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
96 private:
97
98 Aws::String m_destinationCidrBlock;
99 bool m_destinationCidrBlockHasBeenSet = false;
100
101 Aws::String m_localGatewayRouteTableId;
102 bool m_localGatewayRouteTableIdHasBeenSet = false;
103
104 bool m_dryRun;
105 bool m_dryRunHasBeenSet = false;
106
107 Aws::String m_destinationPrefixListId;
108 bool m_destinationPrefixListIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace EC2
113} // namespace Aws
DeleteLocalGatewayRouteRequest & WithDestinationPrefixListId(Aws::String &&value)
DeleteLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(Aws::String &&value)
DeleteLocalGatewayRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(const char *value)
DeleteLocalGatewayRouteRequest & WithDestinationPrefixListId(const char *value)
DeleteLocalGatewayRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
DeleteLocalGatewayRouteRequest & WithDestinationPrefixListId(const Aws::String &value)
DeleteLocalGatewayRouteRequest & WithDryRun(bool value)
DeleteLocalGatewayRouteRequest & WithDestinationCidrBlock(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String