AWS SDK for C++  1.9.108
AWS SDK for C++
ListSolutionsResult.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<SolutionSummary>& GetSolutions() const{ return m_solutions; }
41 
45  inline void SetSolutions(const Aws::Vector<SolutionSummary>& value) { m_solutions = value; }
46 
50  inline void SetSolutions(Aws::Vector<SolutionSummary>&& value) { m_solutions = std::move(value); }
51 
55  inline ListSolutionsResult& WithSolutions(const Aws::Vector<SolutionSummary>& value) { SetSolutions(value); return *this;}
56 
60  inline ListSolutionsResult& WithSolutions(Aws::Vector<SolutionSummary>&& value) { SetSolutions(std::move(value)); return *this;}
61 
65  inline ListSolutionsResult& AddSolutions(const SolutionSummary& value) { m_solutions.push_back(value); return *this; }
66 
70  inline ListSolutionsResult& AddSolutions(SolutionSummary&& value) { m_solutions.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 ListSolutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListSolutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListSolutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<SolutionSummary> m_solutions;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace Personalize
117 } // namespace Aws
SolutionSummary.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::ListSolutionsResult::WithNextToken
ListSolutionsResult & WithNextToken(Aws::String &&value)
Definition: ListSolutionsResult.h:101
Aws::Personalize::Model::ListSolutionsResult::SetSolutions
void SetSolutions(Aws::Vector< SolutionSummary > &&value)
Definition: ListSolutionsResult.h:50
Aws::Personalize::Model::ListSolutionsResult::AddSolutions
ListSolutionsResult & AddSolutions(const SolutionSummary &value)
Definition: ListSolutionsResult.h:65
Aws::Personalize::Model::ListSolutionsResult::ListSolutionsResult
ListSolutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::ListSolutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSolutionsResult.h:81
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
Aws::Personalize::Model::SolutionSummary
Definition: SolutionSummary.h:34
Aws::Personalize::Model::ListSolutionsResult
Definition: ListSolutionsResult.h:30
AWSVector.h
Aws::Personalize::Model::ListSolutionsResult::GetSolutions
const Aws::Vector< SolutionSummary > & GetSolutions() const
Definition: ListSolutionsResult.h:40
Aws::Personalize::Model::ListSolutionsResult::AddSolutions
ListSolutionsResult & AddSolutions(SolutionSummary &&value)
Definition: ListSolutionsResult.h:70
AWSString.h
Aws::Personalize::Model::ListSolutionsResult::WithNextToken
ListSolutionsResult & WithNextToken(const Aws::String &value)
Definition: ListSolutionsResult.h:96
Aws::Personalize::Model::ListSolutionsResult::operator=
ListSolutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::ListSolutionsResult::SetSolutions
void SetSolutions(const Aws::Vector< SolutionSummary > &value)
Definition: ListSolutionsResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::ListSolutionsResult::WithSolutions
ListSolutionsResult & WithSolutions(Aws::Vector< SolutionSummary > &&value)
Definition: ListSolutionsResult.h:60
Aws::Personalize::Model::ListSolutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSolutionsResult.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::ListSolutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSolutionsResult.h:86
Aws::Personalize::Model::ListSolutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSolutionsResult.h:91
Personalize_EXPORTS.h
Aws::Personalize::Model::ListSolutionsResult::WithNextToken
ListSolutionsResult & WithNextToken(const char *value)
Definition: ListSolutionsResult.h:106
Aws::Personalize::Model::ListSolutionsResult::ListSolutionsResult
ListSolutionsResult()
Aws::Personalize::Model::ListSolutionsResult::WithSolutions
ListSolutionsResult & WithSolutions(const Aws::Vector< SolutionSummary > &value)
Definition: ListSolutionsResult.h:55