AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateNetworkAclEntriesAction.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 CreateNetworkAclEntriesAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
55 inline CreateNetworkAclEntriesAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
56 inline CreateNetworkAclEntriesAction& 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 CreateNetworkAclEntriesAction& WithNetworkAclId(const ActionTarget& value) { SetNetworkAclId(value); return *this;}
68 inline CreateNetworkAclEntriesAction& WithNetworkAclId(ActionTarget&& value) { SetNetworkAclId(std::move(value)); return *this;}
70
72
75 inline const Aws::Vector<EntryDescription>& GetNetworkAclEntriesToBeCreated() const{ return m_networkAclEntriesToBeCreated; }
76 inline bool NetworkAclEntriesToBeCreatedHasBeenSet() const { return m_networkAclEntriesToBeCreatedHasBeenSet; }
77 inline void SetNetworkAclEntriesToBeCreated(const Aws::Vector<EntryDescription>& value) { m_networkAclEntriesToBeCreatedHasBeenSet = true; m_networkAclEntriesToBeCreated = value; }
78 inline void SetNetworkAclEntriesToBeCreated(Aws::Vector<EntryDescription>&& value) { m_networkAclEntriesToBeCreatedHasBeenSet = true; m_networkAclEntriesToBeCreated = std::move(value); }
81 inline CreateNetworkAclEntriesAction& AddNetworkAclEntriesToBeCreated(const EntryDescription& value) { m_networkAclEntriesToBeCreatedHasBeenSet = true; m_networkAclEntriesToBeCreated.push_back(value); return *this; }
82 inline CreateNetworkAclEntriesAction& AddNetworkAclEntriesToBeCreated(EntryDescription&& value) { m_networkAclEntriesToBeCreatedHasBeenSet = true; m_networkAclEntriesToBeCreated.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 CreateNetworkAclEntriesAction& 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_networkAclEntriesToBeCreated;
106 bool m_networkAclEntriesToBeCreatedHasBeenSet = false;
107
108 bool m_fMSCanRemediate;
109 bool m_fMSCanRemediateHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace FMS
114} // namespace Aws
CreateNetworkAclEntriesAction & WithNetworkAclEntriesToBeCreated(const Aws::Vector< EntryDescription > &value)
CreateNetworkAclEntriesAction & WithDescription(const Aws::String &value)
CreateNetworkAclEntriesAction & WithNetworkAclEntriesToBeCreated(Aws::Vector< EntryDescription > &&value)
CreateNetworkAclEntriesAction & AddNetworkAclEntriesToBeCreated(EntryDescription &&value)
AWS_FMS_API CreateNetworkAclEntriesAction(Aws::Utils::Json::JsonView jsonValue)
CreateNetworkAclEntriesAction & WithDescription(Aws::String &&value)
AWS_FMS_API CreateNetworkAclEntriesAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateNetworkAclEntriesAction & AddNetworkAclEntriesToBeCreated(const EntryDescription &value)
void SetNetworkAclEntriesToBeCreated(const Aws::Vector< EntryDescription > &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EntryDescription > & GetNetworkAclEntriesToBeCreated() const
void SetNetworkAclEntriesToBeCreated(Aws::Vector< EntryDescription > &&value)
CreateNetworkAclEntriesAction & WithFMSCanRemediate(bool value)
CreateNetworkAclEntriesAction & WithNetworkAclId(const ActionTarget &value)
CreateNetworkAclEntriesAction & WithDescription(const char *value)
CreateNetworkAclEntriesAction & WithNetworkAclId(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