AWS SDK for C++  1.9.104
AWS SDK for C++
ListRuleGroupsResult.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 ListRuleGroupsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
81 
89  inline ListRuleGroupsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
90 
98  inline ListRuleGroupsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
99 
100 
104  inline const Aws::Vector<RuleGroupSummary>& GetRuleGroups() const{ return m_ruleGroups; }
105 
109  inline void SetRuleGroups(const Aws::Vector<RuleGroupSummary>& value) { m_ruleGroups = value; }
110 
114  inline void SetRuleGroups(Aws::Vector<RuleGroupSummary>&& value) { m_ruleGroups = std::move(value); }
115 
119  inline ListRuleGroupsResult& WithRuleGroups(const Aws::Vector<RuleGroupSummary>& value) { SetRuleGroups(value); return *this;}
120 
124  inline ListRuleGroupsResult& WithRuleGroups(Aws::Vector<RuleGroupSummary>&& value) { SetRuleGroups(std::move(value)); return *this;}
125 
129  inline ListRuleGroupsResult& AddRuleGroups(const RuleGroupSummary& value) { m_ruleGroups.push_back(value); return *this; }
130 
134  inline ListRuleGroupsResult& AddRuleGroups(RuleGroupSummary&& value) { m_ruleGroups.push_back(std::move(value)); return *this; }
135 
136  private:
137 
138  Aws::String m_nextMarker;
139 
140  Aws::Vector<RuleGroupSummary> m_ruleGroups;
141  };
142 
143 } // namespace Model
144 } // namespace WAFV2
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::ListRuleGroupsResult::WithNextMarker
ListRuleGroupsResult & WithNextMarker(const char *value)
Definition: ListRuleGroupsResult.h:98
Aws::WAFV2::Model::ListRuleGroupsResult::WithRuleGroups
ListRuleGroupsResult & WithRuleGroups(Aws::Vector< RuleGroupSummary > &&value)
Definition: ListRuleGroupsResult.h:124
Aws::WAFV2::Model::ListRuleGroupsResult::WithRuleGroups
ListRuleGroupsResult & WithRuleGroups(const Aws::Vector< RuleGroupSummary > &value)
Definition: ListRuleGroupsResult.h:119
Aws::WAFV2::Model::RuleGroupSummary
Definition: RuleGroupSummary.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WAFV2::Model::ListRuleGroupsResult::ListRuleGroupsResult
ListRuleGroupsResult()
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ListRuleGroupsResult
Definition: ListRuleGroupsResult.h:30
AWSVector.h
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListRuleGroupsResult::AddRuleGroups
ListRuleGroupsResult & AddRuleGroups(const RuleGroupSummary &value)
Definition: ListRuleGroupsResult.h:129
Aws::WAFV2::Model::ListRuleGroupsResult::GetRuleGroups
const Aws::Vector< RuleGroupSummary > & GetRuleGroups() const
Definition: ListRuleGroupsResult.h:104
RuleGroupSummary.h
Aws::WAFV2::Model::ListRuleGroupsResult::operator=
ListRuleGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::WAFV2::Model::ListRuleGroupsResult::SetRuleGroups
void SetRuleGroups(const Aws::Vector< RuleGroupSummary > &value)
Definition: ListRuleGroupsResult.h:109
Aws::WAFV2::Model::ListRuleGroupsResult::WithNextMarker
ListRuleGroupsResult & WithNextMarker(Aws::String &&value)
Definition: ListRuleGroupsResult.h:89
Aws::WAFV2::Model::ListRuleGroupsResult::ListRuleGroupsResult
ListRuleGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::ListRuleGroupsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListRuleGroupsResult.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::ListRuleGroupsResult::AddRuleGroups
ListRuleGroupsResult & AddRuleGroups(RuleGroupSummary &&value)
Definition: ListRuleGroupsResult.h:134
Aws::WAFV2::Model::ListRuleGroupsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListRuleGroupsResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListRuleGroupsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListRuleGroupsResult.h:53
Aws::WAFV2::Model::ListRuleGroupsResult::WithNextMarker
ListRuleGroupsResult & WithNextMarker(const Aws::String &value)
Definition: ListRuleGroupsResult.h:80
Aws::WAFV2::Model::ListRuleGroupsResult::SetRuleGroups
void SetRuleGroups(Aws::Vector< RuleGroupSummary > &&value)
Definition: ListRuleGroupsResult.h:114
Aws::WAFV2::Model::ListRuleGroupsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListRuleGroupsResult.h:71