AWS SDK for C++  1.9.71
AWS SDK for C++
ListAlgorithmsResult.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 SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<AlgorithmSummary>& GetAlgorithmSummaryList() const{ return m_algorithmSummaryList; }
42 
47  inline void SetAlgorithmSummaryList(const Aws::Vector<AlgorithmSummary>& value) { m_algorithmSummaryList = value; }
48 
53  inline void SetAlgorithmSummaryList(Aws::Vector<AlgorithmSummary>&& value) { m_algorithmSummaryList = std::move(value); }
54 
59  inline ListAlgorithmsResult& WithAlgorithmSummaryList(const Aws::Vector<AlgorithmSummary>& value) { SetAlgorithmSummaryList(value); return *this;}
60 
65  inline ListAlgorithmsResult& WithAlgorithmSummaryList(Aws::Vector<AlgorithmSummary>&& value) { SetAlgorithmSummaryList(std::move(value)); return *this;}
66 
71  inline ListAlgorithmsResult& AddAlgorithmSummaryList(const AlgorithmSummary& value) { m_algorithmSummaryList.push_back(value); return *this; }
72 
77  inline ListAlgorithmsResult& AddAlgorithmSummaryList(AlgorithmSummary&& value) { m_algorithmSummaryList.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListAlgorithmsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListAlgorithmsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListAlgorithmsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<AlgorithmSummary> m_algorithmSummaryList;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SageMaker::Model::ListAlgorithmsResult::GetAlgorithmSummaryList
const Aws::Vector< AlgorithmSummary > & GetAlgorithmSummaryList() const
Definition: ListAlgorithmsResult.h:41
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::ListAlgorithmsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAlgorithmsResult.h:90
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListAlgorithmsResult::AddAlgorithmSummaryList
ListAlgorithmsResult & AddAlgorithmSummaryList(AlgorithmSummary &&value)
Definition: ListAlgorithmsResult.h:77
Aws::SageMaker::Model::ListAlgorithmsResult::WithNextToken
ListAlgorithmsResult & WithNextToken(const Aws::String &value)
Definition: ListAlgorithmsResult.h:108
Aws::SageMaker::Model::ListAlgorithmsResult::SetAlgorithmSummaryList
void SetAlgorithmSummaryList(const Aws::Vector< AlgorithmSummary > &value)
Definition: ListAlgorithmsResult.h:47
Aws::SageMaker::Model::ListAlgorithmsResult::WithNextToken
ListAlgorithmsResult & WithNextToken(const char *value)
Definition: ListAlgorithmsResult.h:120
Aws::SageMaker::Model::ListAlgorithmsResult
Definition: ListAlgorithmsResult.h:30
Aws::SageMaker::Model::ListAlgorithmsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAlgorithmsResult.h:84
Aws::SageMaker::Model::AlgorithmSummary
Definition: AlgorithmSummary.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ListAlgorithmsResult::WithNextToken
ListAlgorithmsResult & WithNextToken(Aws::String &&value)
Definition: ListAlgorithmsResult.h:114
Aws::SageMaker::Model::ListAlgorithmsResult::WithAlgorithmSummaryList
ListAlgorithmsResult & WithAlgorithmSummaryList(Aws::Vector< AlgorithmSummary > &&value)
Definition: ListAlgorithmsResult.h:65
Aws::SageMaker::Model::ListAlgorithmsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAlgorithmsResult.h:96
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListAlgorithmsResult::WithAlgorithmSummaryList
ListAlgorithmsResult & WithAlgorithmSummaryList(const Aws::Vector< AlgorithmSummary > &value)
Definition: ListAlgorithmsResult.h:59
Aws::SageMaker::Model::ListAlgorithmsResult::ListAlgorithmsResult
ListAlgorithmsResult()
AlgorithmSummary.h
AWSString.h
Aws::SageMaker::Model::ListAlgorithmsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAlgorithmsResult.h:102
Aws::SageMaker::Model::ListAlgorithmsResult::AddAlgorithmSummaryList
ListAlgorithmsResult & AddAlgorithmSummaryList(const AlgorithmSummary &value)
Definition: ListAlgorithmsResult.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListAlgorithmsResult::operator=
ListAlgorithmsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListAlgorithmsResult::SetAlgorithmSummaryList
void SetAlgorithmSummaryList(Aws::Vector< AlgorithmSummary > &&value)
Definition: ListAlgorithmsResult.h:53
Aws::SageMaker::Model::ListAlgorithmsResult::ListAlgorithmsResult
ListAlgorithmsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)