AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkAclEntrySet.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fms/model/NetworkAclEntry.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
34 {
35 public:
36 AWS_FMS_API NetworkAclEntrySet();
40
41
43
50 inline const Aws::Vector<NetworkAclEntry>& GetFirstEntries() const{ return m_firstEntries; }
51 inline bool FirstEntriesHasBeenSet() const { return m_firstEntriesHasBeenSet; }
52 inline void SetFirstEntries(const Aws::Vector<NetworkAclEntry>& value) { m_firstEntriesHasBeenSet = true; m_firstEntries = value; }
53 inline void SetFirstEntries(Aws::Vector<NetworkAclEntry>&& value) { m_firstEntriesHasBeenSet = true; m_firstEntries = std::move(value); }
55 inline NetworkAclEntrySet& WithFirstEntries(Aws::Vector<NetworkAclEntry>&& value) { SetFirstEntries(std::move(value)); return *this;}
56 inline NetworkAclEntrySet& AddFirstEntries(const NetworkAclEntry& value) { m_firstEntriesHasBeenSet = true; m_firstEntries.push_back(value); return *this; }
57 inline NetworkAclEntrySet& AddFirstEntries(NetworkAclEntry&& value) { m_firstEntriesHasBeenSet = true; m_firstEntries.push_back(std::move(value)); return *this; }
59
61
70 inline bool GetForceRemediateForFirstEntries() const{ return m_forceRemediateForFirstEntries; }
71 inline bool ForceRemediateForFirstEntriesHasBeenSet() const { return m_forceRemediateForFirstEntriesHasBeenSet; }
72 inline void SetForceRemediateForFirstEntries(bool value) { m_forceRemediateForFirstEntriesHasBeenSet = true; m_forceRemediateForFirstEntries = value; }
75
77
84 inline const Aws::Vector<NetworkAclEntry>& GetLastEntries() const{ return m_lastEntries; }
85 inline bool LastEntriesHasBeenSet() const { return m_lastEntriesHasBeenSet; }
86 inline void SetLastEntries(const Aws::Vector<NetworkAclEntry>& value) { m_lastEntriesHasBeenSet = true; m_lastEntries = value; }
87 inline void SetLastEntries(Aws::Vector<NetworkAclEntry>&& value) { m_lastEntriesHasBeenSet = true; m_lastEntries = std::move(value); }
89 inline NetworkAclEntrySet& WithLastEntries(Aws::Vector<NetworkAclEntry>&& value) { SetLastEntries(std::move(value)); return *this;}
90 inline NetworkAclEntrySet& AddLastEntries(const NetworkAclEntry& value) { m_lastEntriesHasBeenSet = true; m_lastEntries.push_back(value); return *this; }
91 inline NetworkAclEntrySet& AddLastEntries(NetworkAclEntry&& value) { m_lastEntriesHasBeenSet = true; m_lastEntries.push_back(std::move(value)); return *this; }
93
95
104 inline bool GetForceRemediateForLastEntries() const{ return m_forceRemediateForLastEntries; }
105 inline bool ForceRemediateForLastEntriesHasBeenSet() const { return m_forceRemediateForLastEntriesHasBeenSet; }
106 inline void SetForceRemediateForLastEntries(bool value) { m_forceRemediateForLastEntriesHasBeenSet = true; m_forceRemediateForLastEntries = value; }
109 private:
110
111 Aws::Vector<NetworkAclEntry> m_firstEntries;
112 bool m_firstEntriesHasBeenSet = false;
113
114 bool m_forceRemediateForFirstEntries;
115 bool m_forceRemediateForFirstEntriesHasBeenSet = false;
116
117 Aws::Vector<NetworkAclEntry> m_lastEntries;
118 bool m_lastEntriesHasBeenSet = false;
119
120 bool m_forceRemediateForLastEntries;
121 bool m_forceRemediateForLastEntriesHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace FMS
126} // namespace Aws
NetworkAclEntrySet & WithLastEntries(const Aws::Vector< NetworkAclEntry > &value)
bool LastEntriesHasBeenSet() const
void SetForceRemediateForFirstEntries(bool value)
bool FirstEntriesHasBeenSet() const
AWS_FMS_API NetworkAclEntrySet()
AWS_FMS_API NetworkAclEntrySet & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkAclEntrySet & AddFirstEntries(NetworkAclEntry &&value)
AWS_FMS_API NetworkAclEntrySet(Aws::Utils::Json::JsonView jsonValue)
void SetLastEntries(Aws::Vector< NetworkAclEntry > &&value)
NetworkAclEntrySet & WithForceRemediateForLastEntries(bool value)
void SetFirstEntries(Aws::Vector< NetworkAclEntry > &&value)
NetworkAclEntrySet & WithLastEntries(Aws::Vector< NetworkAclEntry > &&value)
bool GetForceRemediateForFirstEntries() const
bool ForceRemediateForFirstEntriesHasBeenSet() const
NetworkAclEntrySet & AddFirstEntries(const NetworkAclEntry &value)
NetworkAclEntrySet & AddLastEntries(const NetworkAclEntry &value)
NetworkAclEntrySet & AddLastEntries(NetworkAclEntry &&value)
void SetForceRemediateForLastEntries(bool value)
const Aws::Vector< NetworkAclEntry > & GetFirstEntries() const
NetworkAclEntrySet & WithForceRemediateForFirstEntries(bool value)
bool ForceRemediateForLastEntriesHasBeenSet() const
bool GetForceRemediateForLastEntries() const
void SetLastEntries(const Aws::Vector< NetworkAclEntry > &value)
NetworkAclEntrySet & WithFirstEntries(const Aws::Vector< NetworkAclEntry > &value)
const Aws::Vector< NetworkAclEntry > & GetLastEntries() const
void SetFirstEntries(const Aws::Vector< NetworkAclEntry > &value)
NetworkAclEntrySet & WithFirstEntries(Aws::Vector< NetworkAclEntry > &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue