AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 EC2CopyRouteTableAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline EC2CopyRouteTableAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline EC2CopyRouteTableAction& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
62 inline const ActionTarget& GetVpcId() const{ return m_vpcId; }
63 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
64 inline void SetVpcId(const ActionTarget& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
65 inline void SetVpcId(ActionTarget&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
66 inline EC2CopyRouteTableAction& WithVpcId(const ActionTarget& value) { SetVpcId(value); return *this;}
67 inline EC2CopyRouteTableAction& WithVpcId(ActionTarget&& value) { SetVpcId(std::move(value)); return *this;}
69
71
75 inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; }
76 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
77 inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
78 inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
79 inline EC2CopyRouteTableAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;}
80 inline EC2CopyRouteTableAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86
87 ActionTarget m_vpcId;
88 bool m_vpcIdHasBeenSet = false;
89
90 ActionTarget m_routeTableId;
91 bool m_routeTableIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FMS
96} // namespace Aws
void SetRouteTableId(const ActionTarget &value)
EC2CopyRouteTableAction & WithRouteTableId(ActionTarget &&value)
EC2CopyRouteTableAction & WithVpcId(const ActionTarget &value)
EC2CopyRouteTableAction & WithVpcId(ActionTarget &&value)
EC2CopyRouteTableAction & WithDescription(Aws::String &&value)
EC2CopyRouteTableAction & WithRouteTableId(const ActionTarget &value)
EC2CopyRouteTableAction & WithDescription(const char *value)
AWS_FMS_API EC2CopyRouteTableAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
AWS_FMS_API EC2CopyRouteTableAction(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2CopyRouteTableAction & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue