AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 EC2CreateRouteTableAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline EC2CreateRouteTableAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline EC2CreateRouteTableAction& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
60 inline const ActionTarget& GetVpcId() const{ return m_vpcId; }
61 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
62 inline void SetVpcId(const ActionTarget& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
63 inline void SetVpcId(ActionTarget&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
64 inline EC2CreateRouteTableAction& WithVpcId(const ActionTarget& value) { SetVpcId(value); return *this;}
65 inline EC2CreateRouteTableAction& WithVpcId(ActionTarget&& value) { SetVpcId(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_description;
70 bool m_descriptionHasBeenSet = false;
71
72 ActionTarget m_vpcId;
73 bool m_vpcIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace FMS
78} // namespace Aws
EC2CreateRouteTableAction & WithDescription(Aws::String &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2CreateRouteTableAction & WithVpcId(ActionTarget &&value)
AWS_FMS_API EC2CreateRouteTableAction & operator=(Aws::Utils::Json::JsonView jsonValue)
EC2CreateRouteTableAction & WithDescription(const char *value)
EC2CreateRouteTableAction & WithVpcId(const ActionTarget &value)
AWS_FMS_API EC2CreateRouteTableAction(Aws::Utils::Json::JsonView jsonValue)
EC2CreateRouteTableAction & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue