AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EC2CreateRouteTableAction.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 EC2CreateRouteTableAction() = default;
40
41
43
46 inline const Aws::String& GetDescription() const { return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 template<typename DescriptionT = Aws::String>
49 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
50 template<typename DescriptionT = Aws::String>
51 EC2CreateRouteTableAction& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
53
55
58 inline const ActionTarget& GetVpcId() const { return m_vpcId; }
59 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
60 template<typename VpcIdT = ActionTarget>
61 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
62 template<typename VpcIdT = ActionTarget>
63 EC2CreateRouteTableAction& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
65 private:
66
67 Aws::String m_description;
68 bool m_descriptionHasBeenSet = false;
69
70 ActionTarget m_vpcId;
71 bool m_vpcIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace FMS
76} // namespace Aws
EC2CreateRouteTableAction & WithVpcId(VpcIdT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API EC2CreateRouteTableAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API EC2CreateRouteTableAction(Aws::Utils::Json::JsonView jsonValue)
EC2CreateRouteTableAction & WithDescription(DescriptionT &&value)
AWS_FMS_API EC2CreateRouteTableAction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue