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