AWS SDK for C++  1.9.104
AWS SDK for C++
ListAvailableManagedRuleGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace WAFV2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
44  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
45 
53  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
54 
62  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
63 
71  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
72 
80  inline ListAvailableManagedRuleGroupsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
81 
89  inline ListAvailableManagedRuleGroupsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
90 
98  inline ListAvailableManagedRuleGroupsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
99 
100 
104  inline const Aws::Vector<ManagedRuleGroupSummary>& GetManagedRuleGroups() const{ return m_managedRuleGroups; }
105 
109  inline void SetManagedRuleGroups(const Aws::Vector<ManagedRuleGroupSummary>& value) { m_managedRuleGroups = value; }
110 
114  inline void SetManagedRuleGroups(Aws::Vector<ManagedRuleGroupSummary>&& value) { m_managedRuleGroups = std::move(value); }
115 
119  inline ListAvailableManagedRuleGroupsResult& WithManagedRuleGroups(const Aws::Vector<ManagedRuleGroupSummary>& value) { SetManagedRuleGroups(value); return *this;}
120 
124  inline ListAvailableManagedRuleGroupsResult& WithManagedRuleGroups(Aws::Vector<ManagedRuleGroupSummary>&& value) { SetManagedRuleGroups(std::move(value)); return *this;}
125 
129  inline ListAvailableManagedRuleGroupsResult& AddManagedRuleGroups(const ManagedRuleGroupSummary& value) { m_managedRuleGroups.push_back(value); return *this; }
130 
134  inline ListAvailableManagedRuleGroupsResult& AddManagedRuleGroups(ManagedRuleGroupSummary&& value) { m_managedRuleGroups.push_back(std::move(value)); return *this; }
135 
136  private:
137 
138  Aws::String m_nextMarker;
139 
140  Aws::Vector<ManagedRuleGroupSummary> m_managedRuleGroups;
141  };
142 
143 } // namespace Model
144 } // namespace WAFV2
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::WithNextMarker
ListAvailableManagedRuleGroupsResult & WithNextMarker(Aws::String &&value)
Definition: ListAvailableManagedRuleGroupsResult.h:89
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListAvailableManagedRuleGroupsResult.h:53
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::AddManagedRuleGroups
ListAvailableManagedRuleGroupsResult & AddManagedRuleGroups(const ManagedRuleGroupSummary &value)
Definition: ListAvailableManagedRuleGroupsResult.h:129
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListAvailableManagedRuleGroupsResult.h:71
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::ListAvailableManagedRuleGroupsResult
ListAvailableManagedRuleGroupsResult()
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::WithNextMarker
ListAvailableManagedRuleGroupsResult & WithNextMarker(const Aws::String &value)
Definition: ListAvailableManagedRuleGroupsResult.h:80
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::WithManagedRuleGroups
ListAvailableManagedRuleGroupsResult & WithManagedRuleGroups(Aws::Vector< ManagedRuleGroupSummary > &&value)
Definition: ListAvailableManagedRuleGroupsResult.h:124
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::AddManagedRuleGroups
ListAvailableManagedRuleGroupsResult & AddManagedRuleGroups(ManagedRuleGroupSummary &&value)
Definition: ListAvailableManagedRuleGroupsResult.h:134
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult
Definition: ListAvailableManagedRuleGroupsResult.h:30
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::WithNextMarker
ListAvailableManagedRuleGroupsResult & WithNextMarker(const char *value)
Definition: ListAvailableManagedRuleGroupsResult.h:98
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListAvailableManagedRuleGroupsResult.h:62
AWSVector.h
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::SetManagedRuleGroups
void SetManagedRuleGroups(Aws::Vector< ManagedRuleGroupSummary > &&value)
Definition: ListAvailableManagedRuleGroupsResult.h:114
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::GetManagedRuleGroups
const Aws::Vector< ManagedRuleGroupSummary > & GetManagedRuleGroups() const
Definition: ListAvailableManagedRuleGroupsResult.h:104
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::WithManagedRuleGroups
ListAvailableManagedRuleGroupsResult & WithManagedRuleGroups(const Aws::Vector< ManagedRuleGroupSummary > &value)
Definition: ListAvailableManagedRuleGroupsResult.h:119
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::operator=
ListAvailableManagedRuleGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::ListAvailableManagedRuleGroupsResult
ListAvailableManagedRuleGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListAvailableManagedRuleGroupsResult.h:44
Aws::WAFV2::Model::ListAvailableManagedRuleGroupsResult::SetManagedRuleGroups
void SetManagedRuleGroups(const Aws::Vector< ManagedRuleGroupSummary > &value)
Definition: ListAvailableManagedRuleGroupsResult.h:109
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ManagedRuleGroupSummary
Definition: ManagedRuleGroupSummary.h:39
ManagedRuleGroupSummary.h