AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRuleGroupsResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/RuleGroupSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace WAFV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_WAFV2_API ListRuleGroupsResult();
35
36
38
45 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
46 inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
47 inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
48 inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
49 inline ListRuleGroupsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
50 inline ListRuleGroupsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
51 inline ListRuleGroupsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
53
55
59 inline const Aws::Vector<RuleGroupSummary>& GetRuleGroups() const{ return m_ruleGroups; }
60 inline void SetRuleGroups(const Aws::Vector<RuleGroupSummary>& value) { m_ruleGroups = value; }
61 inline void SetRuleGroups(Aws::Vector<RuleGroupSummary>&& value) { m_ruleGroups = std::move(value); }
63 inline ListRuleGroupsResult& WithRuleGroups(Aws::Vector<RuleGroupSummary>&& value) { SetRuleGroups(std::move(value)); return *this;}
64 inline ListRuleGroupsResult& AddRuleGroups(const RuleGroupSummary& value) { m_ruleGroups.push_back(value); return *this; }
65 inline ListRuleGroupsResult& AddRuleGroups(RuleGroupSummary&& value) { m_ruleGroups.push_back(std::move(value)); return *this; }
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline ListRuleGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline ListRuleGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline ListRuleGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_nextMarker;
81
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace WAFV2
89} // namespace Aws
void SetNextMarker(const Aws::String &value)
ListRuleGroupsResult & WithRuleGroups(Aws::Vector< RuleGroupSummary > &&value)
ListRuleGroupsResult & WithRequestId(const char *value)
AWS_WAFV2_API ListRuleGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
void SetRuleGroups(const Aws::Vector< RuleGroupSummary > &value)
ListRuleGroupsResult & WithNextMarker(const Aws::String &value)
ListRuleGroupsResult & AddRuleGroups(const RuleGroupSummary &value)
ListRuleGroupsResult & WithNextMarker(const char *value)
const Aws::Vector< RuleGroupSummary > & GetRuleGroups() const
ListRuleGroupsResult & WithRuleGroups(const Aws::Vector< RuleGroupSummary > &value)
AWS_WAFV2_API ListRuleGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListRuleGroupsResult & WithRequestId(Aws::String &&value)
ListRuleGroupsResult & AddRuleGroups(RuleGroupSummary &&value)
void SetRuleGroups(Aws::Vector< RuleGroupSummary > &&value)
ListRuleGroupsResult & WithRequestId(const Aws::String &value)
ListRuleGroupsResult & WithNextMarker(Aws::String &&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