AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateNetworkAclAction.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
35 {
36 public:
41
42
44
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 CreateNetworkAclAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline CreateNetworkAclAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline CreateNetworkAclAction& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const ActionTarget& GetVpc() const{ return m_vpc; }
62 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
63 inline void SetVpc(const ActionTarget& value) { m_vpcHasBeenSet = true; m_vpc = value; }
64 inline void SetVpc(ActionTarget&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
65 inline CreateNetworkAclAction& WithVpc(const ActionTarget& value) { SetVpc(value); return *this;}
66 inline CreateNetworkAclAction& WithVpc(ActionTarget&& value) { SetVpc(std::move(value)); return *this;}
68
70
76 inline bool GetFMSCanRemediate() const{ return m_fMSCanRemediate; }
77 inline bool FMSCanRemediateHasBeenSet() const { return m_fMSCanRemediateHasBeenSet; }
78 inline void SetFMSCanRemediate(bool value) { m_fMSCanRemediateHasBeenSet = true; m_fMSCanRemediate = value; }
79 inline CreateNetworkAclAction& WithFMSCanRemediate(bool value) { SetFMSCanRemediate(value); return *this;}
81 private:
82
83 Aws::String m_description;
84 bool m_descriptionHasBeenSet = false;
85
86 ActionTarget m_vpc;
87 bool m_vpcHasBeenSet = false;
88
89 bool m_fMSCanRemediate;
90 bool m_fMSCanRemediateHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FMS
95} // namespace Aws
CreateNetworkAclAction & WithDescription(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
CreateNetworkAclAction & WithFMSCanRemediate(bool value)
CreateNetworkAclAction & WithDescription(const char *value)
AWS_FMS_API CreateNetworkAclAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateNetworkAclAction & WithVpc(ActionTarget &&value)
AWS_FMS_API CreateNetworkAclAction(Aws::Utils::Json::JsonView jsonValue)
CreateNetworkAclAction & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateNetworkAclAction & WithVpc(const ActionTarget &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue