AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2AssociateRouteTableAction.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:
40
41
43
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline EC2AssociateRouteTableAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline EC2AssociateRouteTableAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline EC2AssociateRouteTableAction& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
62 inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; }
63 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
64 inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
65 inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
66 inline EC2AssociateRouteTableAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;}
67 inline EC2AssociateRouteTableAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;}
69
71
75 inline const ActionTarget& GetSubnetId() const{ return m_subnetId; }
76 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
77 inline void SetSubnetId(const ActionTarget& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
78 inline void SetSubnetId(ActionTarget&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
79 inline EC2AssociateRouteTableAction& WithSubnetId(const ActionTarget& value) { SetSubnetId(value); return *this;}
80 inline EC2AssociateRouteTableAction& WithSubnetId(ActionTarget&& value) { SetSubnetId(std::move(value)); return *this;}
82
84
88 inline const ActionTarget& GetGatewayId() const{ return m_gatewayId; }
89 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
90 inline void SetGatewayId(const ActionTarget& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
91 inline void SetGatewayId(ActionTarget&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
92 inline EC2AssociateRouteTableAction& WithGatewayId(const ActionTarget& value) { SetGatewayId(value); return *this;}
93 inline EC2AssociateRouteTableAction& WithGatewayId(ActionTarget&& value) { SetGatewayId(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 ActionTarget m_routeTableId;
101 bool m_routeTableIdHasBeenSet = false;
102
103 ActionTarget m_subnetId;
104 bool m_subnetIdHasBeenSet = false;
105
106 ActionTarget m_gatewayId;
107 bool m_gatewayIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace FMS
112} // namespace Aws
EC2AssociateRouteTableAction & WithDescription(const Aws::String &value)
EC2AssociateRouteTableAction & WithGatewayId(ActionTarget &&value)
EC2AssociateRouteTableAction & WithSubnetId(ActionTarget &&value)
AWS_FMS_API EC2AssociateRouteTableAction(Aws::Utils::Json::JsonView jsonValue)
EC2AssociateRouteTableAction & WithRouteTableId(const ActionTarget &value)
EC2AssociateRouteTableAction & WithRouteTableId(ActionTarget &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2AssociateRouteTableAction & WithDescription(const char *value)
AWS_FMS_API EC2AssociateRouteTableAction & operator=(Aws::Utils::Json::JsonView jsonValue)
EC2AssociateRouteTableAction & WithDescription(Aws::String &&value)
EC2AssociateRouteTableAction & WithGatewayId(const ActionTarget &value)
EC2AssociateRouteTableAction & WithSubnetId(const ActionTarget &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue