AWS SDK for C++  1.9.105
AWS SDK for C++
ListIPSetsResult.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 ListIPSetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
81 
89  inline ListIPSetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
90 
98  inline ListIPSetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
99 
100 
105  inline const Aws::Vector<IPSetSummary>& GetIPSets() const{ return m_iPSets; }
106 
111  inline void SetIPSets(const Aws::Vector<IPSetSummary>& value) { m_iPSets = value; }
112 
117  inline void SetIPSets(Aws::Vector<IPSetSummary>&& value) { m_iPSets = std::move(value); }
118 
123  inline ListIPSetsResult& WithIPSets(const Aws::Vector<IPSetSummary>& value) { SetIPSets(value); return *this;}
124 
129  inline ListIPSetsResult& WithIPSets(Aws::Vector<IPSetSummary>&& value) { SetIPSets(std::move(value)); return *this;}
130 
135  inline ListIPSetsResult& AddIPSets(const IPSetSummary& value) { m_iPSets.push_back(value); return *this; }
136 
141  inline ListIPSetsResult& AddIPSets(IPSetSummary&& value) { m_iPSets.push_back(std::move(value)); return *this; }
142 
143  private:
144 
145  Aws::String m_nextMarker;
146 
147  Aws::Vector<IPSetSummary> m_iPSets;
148  };
149 
150 } // namespace Model
151 } // namespace WAFV2
152 } // namespace Aws
Aws::WAFV2::Model::ListIPSetsResult::ListIPSetsResult
ListIPSetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::ListIPSetsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListIPSetsResult.h:62
Aws::WAFV2::Model::ListIPSetsResult::WithNextMarker
ListIPSetsResult & WithNextMarker(const Aws::String &value)
Definition: ListIPSetsResult.h:80
Aws::WAFV2::Model::ListIPSetsResult::operator=
ListIPSetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
Aws::WAFV2::Model::ListIPSetsResult::SetIPSets
void SetIPSets(Aws::Vector< IPSetSummary > &&value)
Definition: ListIPSetsResult.h:117
AWSVector.h
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListIPSetsResult
Definition: ListIPSetsResult.h:30
Aws::WAFV2::Model::ListIPSetsResult::WithIPSets
ListIPSetsResult & WithIPSets(const Aws::Vector< IPSetSummary > &value)
Definition: ListIPSetsResult.h:123
Aws::WAFV2::Model::ListIPSetsResult::ListIPSetsResult
ListIPSetsResult()
Aws::WAFV2::Model::ListIPSetsResult::WithIPSets
ListIPSetsResult & WithIPSets(Aws::Vector< IPSetSummary > &&value)
Definition: ListIPSetsResult.h:129
AWSString.h
Aws::WAFV2::Model::ListIPSetsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListIPSetsResult.h:53
Aws::WAFV2::Model::IPSetSummary
Definition: IPSetSummary.h:36
Aws::WAFV2::Model::ListIPSetsResult::WithNextMarker
ListIPSetsResult & WithNextMarker(const char *value)
Definition: ListIPSetsResult.h:98
IPSetSummary.h
Aws::WAFV2::Model::ListIPSetsResult::SetIPSets
void SetIPSets(const Aws::Vector< IPSetSummary > &value)
Definition: ListIPSetsResult.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListIPSetsResult::AddIPSets
ListIPSetsResult & AddIPSets(const IPSetSummary &value)
Definition: ListIPSetsResult.h:135
Aws::WAFV2::Model::ListIPSetsResult::GetIPSets
const Aws::Vector< IPSetSummary > & GetIPSets() const
Definition: ListIPSetsResult.h:105
Aws::WAFV2::Model::ListIPSetsResult::WithNextMarker
ListIPSetsResult & WithNextMarker(Aws::String &&value)
Definition: ListIPSetsResult.h:89
Aws::WAFV2::Model::ListIPSetsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListIPSetsResult.h:71
Aws::WAFV2::Model::ListIPSetsResult::AddIPSets
ListIPSetsResult & AddIPSets(IPSetSummary &&value)
Definition: ListIPSetsResult.h:141
Aws::WAFV2::Model::ListIPSetsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListIPSetsResult.h:44