AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyLocalGatewayRouteRequest.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 "ModifyLocalGatewayRoute"; }
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 ModifyLocalGatewayRouteRequest& 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
72 inline const Aws::String& GetLocalGatewayVirtualInterfaceGroupId() const{ return m_localGatewayVirtualInterfaceGroupId; }
73 inline bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const { return m_localGatewayVirtualInterfaceGroupIdHasBeenSet; }
74 inline void SetLocalGatewayVirtualInterfaceGroupId(const Aws::String& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId = value; }
75 inline void SetLocalGatewayVirtualInterfaceGroupId(Aws::String&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId = std::move(value); }
76 inline void SetLocalGatewayVirtualInterfaceGroupId(const char* value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId.assign(value); }
81
83
86 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
87 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
88 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
89 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
90 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
93 inline ModifyLocalGatewayRouteRequest& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
95
97
103 inline bool GetDryRun() const{ return m_dryRun; }
104 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
105 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
106 inline ModifyLocalGatewayRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
108
110
116 inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
117 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
118 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
119 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
120 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
125 private:
126
127 Aws::String m_destinationCidrBlock;
128 bool m_destinationCidrBlockHasBeenSet = false;
129
130 Aws::String m_localGatewayRouteTableId;
131 bool m_localGatewayRouteTableIdHasBeenSet = false;
132
133 Aws::String m_localGatewayVirtualInterfaceGroupId;
134 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet = false;
135
136 Aws::String m_networkInterfaceId;
137 bool m_networkInterfaceIdHasBeenSet = false;
138
139 bool m_dryRun;
140 bool m_dryRunHasBeenSet = false;
141
142 Aws::String m_destinationPrefixListId;
143 bool m_destinationPrefixListIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace EC2
148} // namespace Aws
ModifyLocalGatewayRouteRequest & WithLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
ModifyLocalGatewayRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
ModifyLocalGatewayRouteRequest & WithDestinationCidrBlock(const char *value)
ModifyLocalGatewayRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
ModifyLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(const char *value)
ModifyLocalGatewayRouteRequest & WithLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
ModifyLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(const Aws::String &value)
ModifyLocalGatewayRouteRequest & WithNetworkInterfaceId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
ModifyLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ModifyLocalGatewayRouteRequest & WithNetworkInterfaceId(const Aws::String &value)
ModifyLocalGatewayRouteRequest & WithDestinationPrefixListId(const char *value)
ModifyLocalGatewayRouteRequest & WithDestinationPrefixListId(Aws::String &&value)
ModifyLocalGatewayRouteRequest & WithNetworkInterfaceId(Aws::String &&value)
ModifyLocalGatewayRouteRequest & WithDestinationPrefixListId(const Aws::String &value)
ModifyLocalGatewayRouteRequest & WithLocalGatewayVirtualInterfaceGroupId(const char *value)
ModifyLocalGatewayRouteRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String