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