AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_EC2_API DeleteLocalGatewayRouteRequest() = default;
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 template<typename DestinationCidrBlockT = Aws::String>
47 void SetDestinationCidrBlock(DestinationCidrBlockT&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value); }
48 template<typename DestinationCidrBlockT = Aws::String>
49 DeleteLocalGatewayRouteRequest& WithDestinationCidrBlock(DestinationCidrBlockT&& value) { SetDestinationCidrBlock(std::forward<DestinationCidrBlockT>(value)); return *this;}
51
53
56 inline const Aws::String& GetLocalGatewayRouteTableId() const { return m_localGatewayRouteTableId; }
57 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
58 template<typename LocalGatewayRouteTableIdT = Aws::String>
59 void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::forward<LocalGatewayRouteTableIdT>(value); }
60 template<typename LocalGatewayRouteTableIdT = Aws::String>
61 DeleteLocalGatewayRouteRequest& WithLocalGatewayRouteTableId(LocalGatewayRouteTableIdT&& value) { SetLocalGatewayRouteTableId(std::forward<LocalGatewayRouteTableIdT>(value)); return *this;}
63
65
71 inline bool GetDryRun() const { return m_dryRun; }
72 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
73 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
74 inline DeleteLocalGatewayRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
76
78
83 inline const Aws::String& GetDestinationPrefixListId() const { return m_destinationPrefixListId; }
84 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
85 template<typename DestinationPrefixListIdT = Aws::String>
86 void SetDestinationPrefixListId(DestinationPrefixListIdT&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value); }
87 template<typename DestinationPrefixListIdT = Aws::String>
88 DeleteLocalGatewayRouteRequest& WithDestinationPrefixListId(DestinationPrefixListIdT&& value) { SetDestinationPrefixListId(std::forward<DestinationPrefixListIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_destinationCidrBlock;
93 bool m_destinationCidrBlockHasBeenSet = false;
94
95 Aws::String m_localGatewayRouteTableId;
96 bool m_localGatewayRouteTableIdHasBeenSet = false;
97
98 bool m_dryRun{false};
99 bool m_dryRunHasBeenSet = false;
100
101 Aws::String m_destinationPrefixListId;
102 bool m_destinationPrefixListIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
void SetDestinationPrefixListId(DestinationPrefixListIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
DeleteLocalGatewayRouteRequest & WithDryRun(bool value)
DeleteLocalGatewayRouteRequest & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
DeleteLocalGatewayRouteRequest & WithDestinationPrefixListId(DestinationPrefixListIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String