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