AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2ReplaceRouteAction.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 EC2ReplaceRouteAction();
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 EC2ReplaceRouteAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline EC2ReplaceRouteAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline EC2ReplaceRouteAction& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
62 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
63 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
64 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
65 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
66 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
68 inline EC2ReplaceRouteAction& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
69 inline EC2ReplaceRouteAction& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
71
73
76 inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
77 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
78 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
79 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
80 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
83 inline EC2ReplaceRouteAction& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;}
85
87
92 inline const Aws::String& GetDestinationIpv6CidrBlock() const{ return m_destinationIpv6CidrBlock; }
93 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
94 inline void SetDestinationIpv6CidrBlock(const Aws::String& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = value; }
95 inline void SetDestinationIpv6CidrBlock(Aws::String&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::move(value); }
96 inline void SetDestinationIpv6CidrBlock(const char* value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock.assign(value); }
99 inline EC2ReplaceRouteAction& WithDestinationIpv6CidrBlock(const char* value) { SetDestinationIpv6CidrBlock(value); return *this;}
101
103
107 inline const ActionTarget& GetGatewayId() const{ return m_gatewayId; }
108 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
109 inline void SetGatewayId(const ActionTarget& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
110 inline void SetGatewayId(ActionTarget&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
111 inline EC2ReplaceRouteAction& WithGatewayId(const ActionTarget& value) { SetGatewayId(value); return *this;}
112 inline EC2ReplaceRouteAction& WithGatewayId(ActionTarget&& value) { SetGatewayId(std::move(value)); return *this;}
114
116
119 inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; }
120 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
121 inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
122 inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
123 inline EC2ReplaceRouteAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;}
124 inline EC2ReplaceRouteAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;}
126 private:
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_destinationCidrBlock;
132 bool m_destinationCidrBlockHasBeenSet = false;
133
134 Aws::String m_destinationPrefixListId;
135 bool m_destinationPrefixListIdHasBeenSet = false;
136
137 Aws::String m_destinationIpv6CidrBlock;
138 bool m_destinationIpv6CidrBlockHasBeenSet = false;
139
140 ActionTarget m_gatewayId;
141 bool m_gatewayIdHasBeenSet = false;
142
143 ActionTarget m_routeTableId;
144 bool m_routeTableIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace FMS
149} // namespace Aws
AWS_FMS_API EC2ReplaceRouteAction(Aws::Utils::Json::JsonView jsonValue)
EC2ReplaceRouteAction & WithRouteTableId(ActionTarget &&value)
EC2ReplaceRouteAction & WithDescription(Aws::String &&value)
EC2ReplaceRouteAction & WithGatewayId(ActionTarget &&value)
EC2ReplaceRouteAction & WithDestinationCidrBlock(Aws::String &&value)
EC2ReplaceRouteAction & WithDestinationPrefixListId(const char *value)
void SetRouteTableId(const ActionTarget &value)
EC2ReplaceRouteAction & WithDestinationPrefixListId(const Aws::String &value)
void SetDestinationIpv6CidrBlock(const Aws::String &value)
void SetDestinationPrefixListId(Aws::String &&value)
const Aws::String & GetDestinationPrefixListId() const
EC2ReplaceRouteAction & WithDestinationIpv6CidrBlock(const char *value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationCidrBlock() const
EC2ReplaceRouteAction & WithDescription(const Aws::String &value)
EC2ReplaceRouteAction & WithDestinationCidrBlock(const Aws::String &value)
void SetGatewayId(const ActionTarget &value)
void SetDestinationCidrBlock(Aws::String &&value)
void SetDestinationPrefixListId(const Aws::String &value)
void SetDestinationIpv6CidrBlock(const char *value)
EC2ReplaceRouteAction & WithDestinationPrefixListId(Aws::String &&value)
EC2ReplaceRouteAction & WithDestinationIpv6CidrBlock(const Aws::String &value)
void SetDestinationCidrBlock(const Aws::String &value)
AWS_FMS_API EC2ReplaceRouteAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const ActionTarget & GetRouteTableId() const
EC2ReplaceRouteAction & WithDestinationIpv6CidrBlock(Aws::String &&value)
const Aws::String & GetDestinationIpv6CidrBlock() const
EC2ReplaceRouteAction & WithDestinationCidrBlock(const char *value)
EC2ReplaceRouteAction & WithGatewayId(const ActionTarget &value)
EC2ReplaceRouteAction & WithRouteTableId(const ActionTarget &value)
void SetDescription(const Aws::String &value)
EC2ReplaceRouteAction & WithDescription(const char *value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue