AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplaceNetworkAclAssociationAction.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); }
53 inline ReplaceNetworkAclAssociationAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline ReplaceNetworkAclAssociationAction& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
59 inline const ActionTarget& GetAssociationId() const{ return m_associationId; }
60 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
61 inline void SetAssociationId(const ActionTarget& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
62 inline void SetAssociationId(ActionTarget&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
64 inline ReplaceNetworkAclAssociationAction& WithAssociationId(ActionTarget&& value) { SetAssociationId(std::move(value)); return *this;}
66
68
71 inline const ActionTarget& GetNetworkAclId() const{ return m_networkAclId; }
72 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
73 inline void SetNetworkAclId(const ActionTarget& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; }
74 inline void SetNetworkAclId(ActionTarget&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); }
76 inline ReplaceNetworkAclAssociationAction& WithNetworkAclId(ActionTarget&& value) { SetNetworkAclId(std::move(value)); return *this;}
78
80
86 inline bool GetFMSCanRemediate() const{ return m_fMSCanRemediate; }
87 inline bool FMSCanRemediateHasBeenSet() const { return m_fMSCanRemediateHasBeenSet; }
88 inline void SetFMSCanRemediate(bool value) { m_fMSCanRemediateHasBeenSet = true; m_fMSCanRemediate = value; }
91 private:
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 ActionTarget m_associationId;
97 bool m_associationIdHasBeenSet = false;
98
99 ActionTarget m_networkAclId;
100 bool m_networkAclIdHasBeenSet = false;
101
102 bool m_fMSCanRemediate;
103 bool m_fMSCanRemediateHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace FMS
108} // namespace Aws
ReplaceNetworkAclAssociationAction & WithDescription(Aws::String &&value)
ReplaceNetworkAclAssociationAction & WithNetworkAclId(ActionTarget &&value)
ReplaceNetworkAclAssociationAction & WithAssociationId(ActionTarget &&value)
ReplaceNetworkAclAssociationAction & WithAssociationId(const ActionTarget &value)
ReplaceNetworkAclAssociationAction & WithNetworkAclId(const ActionTarget &value)
AWS_FMS_API ReplaceNetworkAclAssociationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplaceNetworkAclAssociationAction & WithDescription(const char *value)
ReplaceNetworkAclAssociationAction & WithFMSCanRemediate(bool value)
ReplaceNetworkAclAssociationAction & WithDescription(const Aws::String &value)
AWS_FMS_API ReplaceNetworkAclAssociationAction(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue