AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLocalGatewayRouteRequest.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 "CreateLocalGatewayRoute"; }
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 CreateLocalGatewayRouteRequest& 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
89 inline bool GetDryRun() const{ return m_dryRun; }
90 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
91 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
92 inline CreateLocalGatewayRouteRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
94
96
99 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
100 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
101 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
102 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
103 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
106 inline CreateLocalGatewayRouteRequest& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(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 bool m_dryRun;
137 bool m_dryRunHasBeenSet = false;
138
139 Aws::String m_networkInterfaceId;
140 bool m_networkInterfaceIdHasBeenSet = false;
141
142 Aws::String m_destinationPrefixListId;
143 bool m_destinationPrefixListIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace EC2
148} // namespace Aws
CreateLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
CreateLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(Aws::String &&value)
CreateLocalGatewayRouteRequest & WithNetworkInterfaceId(const char *value)
CreateLocalGatewayRouteRequest & WithDestinationPrefixListId(const char *value)
CreateLocalGatewayRouteRequest & WithNetworkInterfaceId(const Aws::String &value)
CreateLocalGatewayRouteRequest & WithDestinationPrefixListId(const Aws::String &value)
CreateLocalGatewayRouteRequest & WithDestinationCidrBlock(const char *value)
CreateLocalGatewayRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
CreateLocalGatewayRouteRequest & WithLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
CreateLocalGatewayRouteRequest & WithNetworkInterfaceId(Aws::String &&value)
CreateLocalGatewayRouteRequest & WithDryRun(bool value)
CreateLocalGatewayRouteRequest & WithDestinationPrefixListId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateLocalGatewayRouteRequest & WithLocalGatewayRouteTableId(const char *value)
CreateLocalGatewayRouteRequest & WithLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
CreateLocalGatewayRouteRequest & WithLocalGatewayVirtualInterfaceGroupId(const char *value)
CreateLocalGatewayRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String