AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2DeleteRouteAction.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 EC2DeleteRouteAction();
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 EC2DeleteRouteAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline EC2DeleteRouteAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline EC2DeleteRouteAction& 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 EC2DeleteRouteAction& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
68 inline EC2DeleteRouteAction& 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 EC2DeleteRouteAction& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;}
84
86
90 inline const Aws::String& GetDestinationIpv6CidrBlock() const{ return m_destinationIpv6CidrBlock; }
91 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
92 inline void SetDestinationIpv6CidrBlock(const Aws::String& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = value; }
93 inline void SetDestinationIpv6CidrBlock(Aws::String&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::move(value); }
94 inline void SetDestinationIpv6CidrBlock(const char* value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock.assign(value); }
97 inline EC2DeleteRouteAction& WithDestinationIpv6CidrBlock(const char* value) { SetDestinationIpv6CidrBlock(value); return *this;}
99
101
104 inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; }
105 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
106 inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
107 inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
108 inline EC2DeleteRouteAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;}
109 inline EC2DeleteRouteAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 Aws::String m_destinationCidrBlock;
117 bool m_destinationCidrBlockHasBeenSet = false;
118
119 Aws::String m_destinationPrefixListId;
120 bool m_destinationPrefixListIdHasBeenSet = false;
121
122 Aws::String m_destinationIpv6CidrBlock;
123 bool m_destinationIpv6CidrBlockHasBeenSet = false;
124
125 ActionTarget m_routeTableId;
126 bool m_routeTableIdHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace FMS
131} // namespace Aws
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2DeleteRouteAction & WithDescription(const char *value)
EC2DeleteRouteAction & WithDescription(const Aws::String &value)
void SetDestinationCidrBlock(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const Aws::String &value)
const Aws::String & GetDestinationCidrBlock() const
EC2DeleteRouteAction & WithDestinationCidrBlock(const Aws::String &value)
void SetDescription(const Aws::String &value)
EC2DeleteRouteAction & WithRouteTableId(const ActionTarget &value)
void SetDestinationIpv6CidrBlock(const char *value)
EC2DeleteRouteAction & WithDestinationPrefixListId(const char *value)
const Aws::String & GetDestinationIpv6CidrBlock() const
AWS_FMS_API EC2DeleteRouteAction(Aws::Utils::Json::JsonView jsonValue)
EC2DeleteRouteAction & WithDescription(Aws::String &&value)
void SetDestinationPrefixListId(Aws::String &&value)
void SetRouteTableId(const ActionTarget &value)
EC2DeleteRouteAction & WithDestinationIpv6CidrBlock(const Aws::String &value)
EC2DeleteRouteAction & WithDestinationPrefixListId(Aws::String &&value)
const Aws::String & GetDestinationPrefixListId() const
const Aws::String & GetDescription() const
const ActionTarget & GetRouteTableId() const
EC2DeleteRouteAction & WithDestinationPrefixListId(const Aws::String &value)
EC2DeleteRouteAction & WithDestinationIpv6CidrBlock(Aws::String &&value)
void SetDestinationCidrBlock(const Aws::String &value)
EC2DeleteRouteAction & WithDestinationCidrBlock(Aws::String &&value)
EC2DeleteRouteAction & WithRouteTableId(ActionTarget &&value)
void SetDestinationPrefixListId(const Aws::String &value)
EC2DeleteRouteAction & WithDestinationIpv6CidrBlock(const char *value)
EC2DeleteRouteAction & WithDestinationCidrBlock(const char *value)
void SetDestinationCidrBlock(const char *value)
void SetDestinationPrefixListId(const char *value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
AWS_FMS_API EC2DeleteRouteAction & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue