AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
43
44
46
49 inline const Aws::String& GetDescription() const{ return m_description; }
50 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
51 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
52 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
53 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
54 inline DeleteNetworkAclEntriesAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
55 inline DeleteNetworkAclEntriesAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
56 inline DeleteNetworkAclEntriesAction& WithDescription(const char* value) { SetDescription(value); return *this;}
58
60
63 inline const ActionTarget& GetNetworkAclId() const{ return m_networkAclId; }
64 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
65 inline void SetNetworkAclId(const ActionTarget& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; }
66 inline void SetNetworkAclId(ActionTarget&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); }
67 inline DeleteNetworkAclEntriesAction& WithNetworkAclId(const ActionTarget& value) { SetNetworkAclId(value); return *this;}
68 inline DeleteNetworkAclEntriesAction& WithNetworkAclId(ActionTarget&& value) { SetNetworkAclId(std::move(value)); return *this;}
70
72
75 inline const Aws::Vector<EntryDescription>& GetNetworkAclEntriesToBeDeleted() const{ return m_networkAclEntriesToBeDeleted; }
76 inline bool NetworkAclEntriesToBeDeletedHasBeenSet() const { return m_networkAclEntriesToBeDeletedHasBeenSet; }
77 inline void SetNetworkAclEntriesToBeDeleted(const Aws::Vector<EntryDescription>& value) { m_networkAclEntriesToBeDeletedHasBeenSet = true; m_networkAclEntriesToBeDeleted = value; }
78 inline void SetNetworkAclEntriesToBeDeleted(Aws::Vector<EntryDescription>&& value) { m_networkAclEntriesToBeDeletedHasBeenSet = true; m_networkAclEntriesToBeDeleted = std::move(value); }
81 inline DeleteNetworkAclEntriesAction& AddNetworkAclEntriesToBeDeleted(const EntryDescription& value) { m_networkAclEntriesToBeDeletedHasBeenSet = true; m_networkAclEntriesToBeDeleted.push_back(value); return *this; }
82 inline DeleteNetworkAclEntriesAction& AddNetworkAclEntriesToBeDeleted(EntryDescription&& value) { m_networkAclEntriesToBeDeletedHasBeenSet = true; m_networkAclEntriesToBeDeleted.push_back(std::move(value)); return *this; }
84
86
92 inline bool GetFMSCanRemediate() const{ return m_fMSCanRemediate; }
93 inline bool FMSCanRemediateHasBeenSet() const { return m_fMSCanRemediateHasBeenSet; }
94 inline void SetFMSCanRemediate(bool value) { m_fMSCanRemediateHasBeenSet = true; m_fMSCanRemediate = value; }
95 inline DeleteNetworkAclEntriesAction& WithFMSCanRemediate(bool value) { SetFMSCanRemediate(value); return *this;}
97 private:
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 ActionTarget m_networkAclId;
103 bool m_networkAclIdHasBeenSet = false;
104
105 Aws::Vector<EntryDescription> m_networkAclEntriesToBeDeleted;
106 bool m_networkAclEntriesToBeDeletedHasBeenSet = false;
107
108 bool m_fMSCanRemediate;
109 bool m_fMSCanRemediateHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace FMS
114} // namespace Aws
DeleteNetworkAclEntriesAction & AddNetworkAclEntriesToBeDeleted(const EntryDescription &value)
DeleteNetworkAclEntriesAction & WithFMSCanRemediate(bool value)
void SetNetworkAclEntriesToBeDeleted(Aws::Vector< EntryDescription > &&value)
DeleteNetworkAclEntriesAction & WithDescription(const char *value)
DeleteNetworkAclEntriesAction & AddNetworkAclEntriesToBeDeleted(EntryDescription &&value)
DeleteNetworkAclEntriesAction & WithNetworkAclId(ActionTarget &&value)
DeleteNetworkAclEntriesAction & WithDescription(Aws::String &&value)
DeleteNetworkAclEntriesAction & WithNetworkAclEntriesToBeDeleted(const Aws::Vector< EntryDescription > &value)
AWS_FMS_API DeleteNetworkAclEntriesAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteNetworkAclEntriesAction & WithDescription(const Aws::String &value)
DeleteNetworkAclEntriesAction & WithNetworkAclEntriesToBeDeleted(Aws::Vector< EntryDescription > &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkAclEntriesToBeDeleted(const Aws::Vector< EntryDescription > &value)
const Aws::Vector< EntryDescription > & GetNetworkAclEntriesToBeDeleted() const
AWS_FMS_API DeleteNetworkAclEntriesAction(Aws::Utils::Json::JsonView jsonValue)
DeleteNetworkAclEntriesAction & WithNetworkAclId(const ActionTarget &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