AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
37 AWS_FMS_API ReplaceNetworkAclAssociationAction() = default;
41
42
44
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 ReplaceNetworkAclAssociationAction& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
57 inline const ActionTarget& GetAssociationId() const { return m_associationId; }
58 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
59 template<typename AssociationIdT = ActionTarget>
60 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
61 template<typename AssociationIdT = ActionTarget>
62 ReplaceNetworkAclAssociationAction& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
64
66
69 inline const ActionTarget& GetNetworkAclId() const { return m_networkAclId; }
70 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
71 template<typename NetworkAclIdT = ActionTarget>
72 void SetNetworkAclId(NetworkAclIdT&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::forward<NetworkAclIdT>(value); }
73 template<typename NetworkAclIdT = ActionTarget>
74 ReplaceNetworkAclAssociationAction& WithNetworkAclId(NetworkAclIdT&& value) { SetNetworkAclId(std::forward<NetworkAclIdT>(value)); return *this;}
76
78
84 inline bool GetFMSCanRemediate() const { return m_fMSCanRemediate; }
85 inline bool FMSCanRemediateHasBeenSet() const { return m_fMSCanRemediateHasBeenSet; }
86 inline void SetFMSCanRemediate(bool value) { m_fMSCanRemediateHasBeenSet = true; m_fMSCanRemediate = value; }
89 private:
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93
94 ActionTarget m_associationId;
95 bool m_associationIdHasBeenSet = false;
96
97 ActionTarget m_networkAclId;
98 bool m_networkAclIdHasBeenSet = false;
99
100 bool m_fMSCanRemediate{false};
101 bool m_fMSCanRemediateHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace FMS
106} // namespace Aws
ReplaceNetworkAclAssociationAction & WithAssociationId(AssociationIdT &&value)
AWS_FMS_API ReplaceNetworkAclAssociationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplaceNetworkAclAssociationAction & WithDescription(DescriptionT &&value)
ReplaceNetworkAclAssociationAction & WithNetworkAclId(NetworkAclIdT &&value)
ReplaceNetworkAclAssociationAction & WithFMSCanRemediate(bool 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