AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListRulesResult.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf-regional/model/RuleSummary.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 WAFRegional
26{
27namespace Model
28{
30 {
31 public:
32 AWS_WAFREGIONAL_API ListRulesResult() = default;
35
36
38
45 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
46 template<typename NextMarkerT = Aws::String>
47 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
48 template<typename NextMarkerT = Aws::String>
49 ListRulesResult& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
51
53
56 inline const Aws::Vector<RuleSummary>& GetRules() const { return m_rules; }
57 template<typename RulesT = Aws::Vector<RuleSummary>>
58 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
59 template<typename RulesT = Aws::Vector<RuleSummary>>
60 ListRulesResult& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
61 template<typename RulesT = RuleSummary>
62 ListRulesResult& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 ListRulesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_nextMarker;
76 bool m_nextMarkerHasBeenSet = false;
77
79 bool m_rulesHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace WAFRegional
87} // namespace Aws
void SetNextMarker(NextMarkerT &&value)
ListRulesResult & WithRequestId(RequestIdT &&value)
ListRulesResult & AddRules(RulesT &&value)
ListRulesResult & WithRules(RulesT &&value)
ListRulesResult & WithNextMarker(NextMarkerT &&value)
AWS_WAFREGIONAL_API ListRulesResult()=default
const Aws::Vector< RuleSummary > & GetRules() const
AWS_WAFREGIONAL_API ListRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_WAFREGIONAL_API ListRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextMarker() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue