AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteNetworkAclEntriesAction.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fms/model/EntryDescription.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FMS
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_FMS_API DeleteNetworkAclEntriesAction() = default;
43
44
46
49 inline const Aws::String& GetDescription() const { return m_description; }
50 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
51 template<typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
53 template<typename DescriptionT = Aws::String>
54 DeleteNetworkAclEntriesAction& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
56
58
61 inline const ActionTarget& GetNetworkAclId() const { return m_networkAclId; }
62 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
63 template<typename NetworkAclIdT = ActionTarget>
64 void SetNetworkAclId(NetworkAclIdT&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::forward<NetworkAclIdT>(value); }
65 template<typename NetworkAclIdT = ActionTarget>
66 DeleteNetworkAclEntriesAction& WithNetworkAclId(NetworkAclIdT&& value) { SetNetworkAclId(std::forward<NetworkAclIdT>(value)); return *this;}
68
70
73 inline const Aws::Vector<EntryDescription>& GetNetworkAclEntriesToBeDeleted() const { return m_networkAclEntriesToBeDeleted; }
74 inline bool NetworkAclEntriesToBeDeletedHasBeenSet() const { return m_networkAclEntriesToBeDeletedHasBeenSet; }
75 template<typename NetworkAclEntriesToBeDeletedT = Aws::Vector<EntryDescription>>
76 void SetNetworkAclEntriesToBeDeleted(NetworkAclEntriesToBeDeletedT&& value) { m_networkAclEntriesToBeDeletedHasBeenSet = true; m_networkAclEntriesToBeDeleted = std::forward<NetworkAclEntriesToBeDeletedT>(value); }
77 template<typename NetworkAclEntriesToBeDeletedT = Aws::Vector<EntryDescription>>
78 DeleteNetworkAclEntriesAction& WithNetworkAclEntriesToBeDeleted(NetworkAclEntriesToBeDeletedT&& value) { SetNetworkAclEntriesToBeDeleted(std::forward<NetworkAclEntriesToBeDeletedT>(value)); return *this;}
79 template<typename NetworkAclEntriesToBeDeletedT = EntryDescription>
80 DeleteNetworkAclEntriesAction& AddNetworkAclEntriesToBeDeleted(NetworkAclEntriesToBeDeletedT&& value) { m_networkAclEntriesToBeDeletedHasBeenSet = true; m_networkAclEntriesToBeDeleted.emplace_back(std::forward<NetworkAclEntriesToBeDeletedT>(value)); return *this; }
82
84
90 inline bool GetFMSCanRemediate() const { return m_fMSCanRemediate; }
91 inline bool FMSCanRemediateHasBeenSet() const { return m_fMSCanRemediateHasBeenSet; }
92 inline void SetFMSCanRemediate(bool value) { m_fMSCanRemediateHasBeenSet = true; m_fMSCanRemediate = value; }
93 inline DeleteNetworkAclEntriesAction& WithFMSCanRemediate(bool value) { SetFMSCanRemediate(value); return *this;}
95 private:
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 ActionTarget m_networkAclId;
101 bool m_networkAclIdHasBeenSet = false;
102
103 Aws::Vector<EntryDescription> m_networkAclEntriesToBeDeleted;
104 bool m_networkAclEntriesToBeDeletedHasBeenSet = false;
105
106 bool m_fMSCanRemediate{false};
107 bool m_fMSCanRemediateHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace FMS
112} // namespace Aws
void SetNetworkAclEntriesToBeDeleted(NetworkAclEntriesToBeDeletedT &&value)
DeleteNetworkAclEntriesAction & WithDescription(DescriptionT &&value)
DeleteNetworkAclEntriesAction & WithFMSCanRemediate(bool value)
DeleteNetworkAclEntriesAction & WithNetworkAclEntriesToBeDeleted(NetworkAclEntriesToBeDeletedT &&value)
DeleteNetworkAclEntriesAction & WithNetworkAclId(NetworkAclIdT &&value)
AWS_FMS_API DeleteNetworkAclEntriesAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EntryDescription > & GetNetworkAclEntriesToBeDeleted() const
AWS_FMS_API DeleteNetworkAclEntriesAction(Aws::Utils::Json::JsonView jsonValue)
DeleteNetworkAclEntriesAction & AddNetworkAclEntriesToBeDeleted(NetworkAclEntriesToBeDeletedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue