AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2CreateRouteAction.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/ActionTarget.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FMS_API EC2CreateRouteAction();
40
41
43
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline EC2CreateRouteAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline EC2CreateRouteAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline EC2CreateRouteAction& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
61 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
62 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
63 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
64 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
65 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
67 inline EC2CreateRouteAction& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
68 inline EC2CreateRouteAction& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
70
72
75 inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
76 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
77 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
78 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
79 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
82 inline EC2CreateRouteAction& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;}
84
86
89 inline const Aws::String& GetDestinationIpv6CidrBlock() const{ return m_destinationIpv6CidrBlock; }
90 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
91 inline void SetDestinationIpv6CidrBlock(const Aws::String& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = value; }
92 inline void SetDestinationIpv6CidrBlock(Aws::String&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::move(value); }
93 inline void SetDestinationIpv6CidrBlock(const char* value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock.assign(value); }
96 inline EC2CreateRouteAction& WithDestinationIpv6CidrBlock(const char* value) { SetDestinationIpv6CidrBlock(value); return *this;}
98
100
104 inline const ActionTarget& GetVpcEndpointId() const{ return m_vpcEndpointId; }
105 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
106 inline void SetVpcEndpointId(const ActionTarget& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
107 inline void SetVpcEndpointId(ActionTarget&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
108 inline EC2CreateRouteAction& WithVpcEndpointId(const ActionTarget& value) { SetVpcEndpointId(value); return *this;}
109 inline EC2CreateRouteAction& WithVpcEndpointId(ActionTarget&& value) { SetVpcEndpointId(std::move(value)); return *this;}
111
113
117 inline const ActionTarget& GetGatewayId() const{ return m_gatewayId; }
118 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
119 inline void SetGatewayId(const ActionTarget& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
120 inline void SetGatewayId(ActionTarget&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
121 inline EC2CreateRouteAction& WithGatewayId(const ActionTarget& value) { SetGatewayId(value); return *this;}
122 inline EC2CreateRouteAction& WithGatewayId(ActionTarget&& value) { SetGatewayId(std::move(value)); return *this;}
124
126
129 inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; }
130 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
131 inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
132 inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
133 inline EC2CreateRouteAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;}
134 inline EC2CreateRouteAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;}
136 private:
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::String m_destinationCidrBlock;
142 bool m_destinationCidrBlockHasBeenSet = false;
143
144 Aws::String m_destinationPrefixListId;
145 bool m_destinationPrefixListIdHasBeenSet = false;
146
147 Aws::String m_destinationIpv6CidrBlock;
148 bool m_destinationIpv6CidrBlockHasBeenSet = false;
149
150 ActionTarget m_vpcEndpointId;
151 bool m_vpcEndpointIdHasBeenSet = false;
152
153 ActionTarget m_gatewayId;
154 bool m_gatewayIdHasBeenSet = false;
155
156 ActionTarget m_routeTableId;
157 bool m_routeTableIdHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace FMS
162} // namespace Aws
EC2CreateRouteAction & WithDestinationIpv6CidrBlock(const char *value)
void SetVpcEndpointId(const ActionTarget &value)
void SetDestinationCidrBlock(const Aws::String &value)
EC2CreateRouteAction & WithDestinationCidrBlock(const char *value)
EC2CreateRouteAction & WithDescription(Aws::String &&value)
AWS_FMS_API EC2CreateRouteAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API EC2CreateRouteAction(Aws::Utils::Json::JsonView jsonValue)
const ActionTarget & GetGatewayId() const
EC2CreateRouteAction & WithDestinationIpv6CidrBlock(const Aws::String &value)
const ActionTarget & GetVpcEndpointId() const
const Aws::String & GetDescription() const
void SetRouteTableId(const ActionTarget &value)
EC2CreateRouteAction & WithDescription(const Aws::String &value)
const Aws::String & GetDestinationIpv6CidrBlock() const
void SetDestinationIpv6CidrBlock(const Aws::String &value)
const Aws::String & GetDestinationCidrBlock() const
void SetDescription(const Aws::String &value)
EC2CreateRouteAction & WithGatewayId(ActionTarget &&value)
void SetDestinationPrefixListId(const Aws::String &value)
EC2CreateRouteAction & WithDestinationPrefixListId(const char *value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
EC2CreateRouteAction & WithDestinationCidrBlock(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2CreateRouteAction & WithGatewayId(const ActionTarget &value)
void SetDestinationPrefixListId(const char *value)
const Aws::String & GetDestinationPrefixListId() const
EC2CreateRouteAction & WithVpcEndpointId(const ActionTarget &value)
void SetDestinationCidrBlock(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const char *value)
EC2CreateRouteAction & WithDestinationPrefixListId(Aws::String &&value)
void SetGatewayId(const ActionTarget &value)
EC2CreateRouteAction & WithDescription(const char *value)
const ActionTarget & GetRouteTableId() const
EC2CreateRouteAction & WithRouteTableId(ActionTarget &&value)
EC2CreateRouteAction & WithDestinationIpv6CidrBlock(Aws::String &&value)
void SetDestinationCidrBlock(const char *value)
void SetDestinationPrefixListId(Aws::String &&value)
EC2CreateRouteAction & WithDestinationPrefixListId(const Aws::String &value)
EC2CreateRouteAction & WithRouteTableId(const ActionTarget &value)
EC2CreateRouteAction & WithVpcEndpointId(ActionTarget &&value)
EC2CreateRouteAction & WithDestinationCidrBlock(Aws::String &&value)
void SetVpcEndpointId(ActionTarget &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue