AWS SDK for C++  1.9.108
AWS SDK for C++
ListFiltersResult.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 Personalize
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<FilterSummary>& GetFilters() const{ return m_filters; }
41 
45  inline void SetFilters(const Aws::Vector<FilterSummary>& value) { m_filters = value; }
46 
50  inline void SetFilters(Aws::Vector<FilterSummary>&& value) { m_filters = std::move(value); }
51 
55  inline ListFiltersResult& WithFilters(const Aws::Vector<FilterSummary>& value) { SetFilters(value); return *this;}
56 
60  inline ListFiltersResult& WithFilters(Aws::Vector<FilterSummary>&& value) { SetFilters(std::move(value)); return *this;}
61 
65  inline ListFiltersResult& AddFilters(const FilterSummary& value) { m_filters.push_back(value); return *this; }
66 
70  inline ListFiltersResult& AddFilters(FilterSummary&& value) { m_filters.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListFiltersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListFiltersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListFiltersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<FilterSummary> m_filters;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace Personalize
117 } // namespace Aws
Aws::Personalize::Model::ListFiltersResult::operator=
ListFiltersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::ListFiltersResult::WithFilters
ListFiltersResult & WithFilters(const Aws::Vector< FilterSummary > &value)
Definition: ListFiltersResult.h:55
Aws::Personalize::Model::ListFiltersResult::WithNextToken
ListFiltersResult & WithNextToken(Aws::String &&value)
Definition: ListFiltersResult.h:101
Aws::Personalize::Model::ListFiltersResult::WithFilters
ListFiltersResult & WithFilters(Aws::Vector< FilterSummary > &&value)
Definition: ListFiltersResult.h:60
Aws::Personalize::Model::ListFiltersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFiltersResult.h:86
Aws::Personalize::Model::ListFiltersResult::SetFilters
void SetFilters(const Aws::Vector< FilterSummary > &value)
Definition: ListFiltersResult.h:45
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Personalize::Model::ListFiltersResult::WithNextToken
ListFiltersResult & WithNextToken(const Aws::String &value)
Definition: ListFiltersResult.h:96
Aws::Personalize::Model::ListFiltersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFiltersResult.h:76
Aws::Personalize::Model::ListFiltersResult::ListFiltersResult
ListFiltersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::ListFiltersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFiltersResult.h:81
Aws::Personalize::Model::ListFiltersResult::ListFiltersResult
ListFiltersResult()
Aws::Personalize::Model::ListFiltersResult::SetFilters
void SetFilters(Aws::Vector< FilterSummary > &&value)
Definition: ListFiltersResult.h:50
AWSString.h
Aws::Personalize::Model::ListFiltersResult::AddFilters
ListFiltersResult & AddFilters(FilterSummary &&value)
Definition: ListFiltersResult.h:70
Aws::Personalize::Model::ListFiltersResult
Definition: ListFiltersResult.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::ListFiltersResult::WithNextToken
ListFiltersResult & WithNextToken(const char *value)
Definition: ListFiltersResult.h:106
FilterSummary.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::ListFiltersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFiltersResult.h:91
Personalize_EXPORTS.h
Aws::Personalize::Model::ListFiltersResult::GetFilters
const Aws::Vector< FilterSummary > & GetFilters() const
Definition: ListFiltersResult.h:40
Aws::Personalize::Model::FilterSummary
Definition: FilterSummary.h:33
Aws::Personalize::Model::ListFiltersResult::AddFilters
ListFiltersResult & AddFilters(const FilterSummary &value)
Definition: ListFiltersResult.h:65