AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EC2CopyRouteTableAction.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 EC2CopyRouteTableAction() = default;
40
41
43
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 EC2CopyRouteTableAction& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
60 inline const ActionTarget& GetVpcId() const { return m_vpcId; }
61 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
62 template<typename VpcIdT = ActionTarget>
63 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
64 template<typename VpcIdT = ActionTarget>
65 EC2CopyRouteTableAction& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
67
69
73 inline const ActionTarget& GetRouteTableId() const { return m_routeTableId; }
74 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
75 template<typename RouteTableIdT = ActionTarget>
76 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::forward<RouteTableIdT>(value); }
77 template<typename RouteTableIdT = ActionTarget>
78 EC2CopyRouteTableAction& WithRouteTableId(RouteTableIdT&& value) { SetRouteTableId(std::forward<RouteTableIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 ActionTarget m_vpcId;
86 bool m_vpcIdHasBeenSet = false;
87
88 ActionTarget m_routeTableId;
89 bool m_routeTableIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace FMS
94} // namespace Aws
AWS_FMS_API EC2CopyRouteTableAction()=default
EC2CopyRouteTableAction & WithDescription(DescriptionT &&value)
EC2CopyRouteTableAction & WithVpcId(VpcIdT &&value)
EC2CopyRouteTableAction & WithRouteTableId(RouteTableIdT &&value)
AWS_FMS_API EC2CopyRouteTableAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API EC2CopyRouteTableAction(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue