AWS SDK for C++  1.9.153
AWS SDK for C++
ListTrainingJobsResult.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<TrainingJobSummary>& GetTrainingJobSummaries() const{ return m_trainingJobSummaries; }
42 
47  inline void SetTrainingJobSummaries(const Aws::Vector<TrainingJobSummary>& value) { m_trainingJobSummaries = value; }
48 
53  inline void SetTrainingJobSummaries(Aws::Vector<TrainingJobSummary>&& value) { m_trainingJobSummaries = std::move(value); }
54 
59  inline ListTrainingJobsResult& WithTrainingJobSummaries(const Aws::Vector<TrainingJobSummary>& value) { SetTrainingJobSummaries(value); return *this;}
60 
65  inline ListTrainingJobsResult& WithTrainingJobSummaries(Aws::Vector<TrainingJobSummary>&& value) { SetTrainingJobSummaries(std::move(value)); return *this;}
66 
71  inline ListTrainingJobsResult& AddTrainingJobSummaries(const TrainingJobSummary& value) { m_trainingJobSummaries.push_back(value); return *this; }
72 
77  inline ListTrainingJobsResult& AddTrainingJobSummaries(TrainingJobSummary&& value) { m_trainingJobSummaries.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 ListTrainingJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListTrainingJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListTrainingJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<TrainingJobSummary> m_trainingJobSummaries;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SageMaker::Model::ListTrainingJobsResult::WithTrainingJobSummaries
ListTrainingJobsResult & WithTrainingJobSummaries(const Aws::Vector< TrainingJobSummary > &value)
Definition: ListTrainingJobsResult.h:59
Aws::SageMaker::Model::ListTrainingJobsResult::GetTrainingJobSummaries
const Aws::Vector< TrainingJobSummary > & GetTrainingJobSummaries() const
Definition: ListTrainingJobsResult.h:41
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListTrainingJobsResult::ListTrainingJobsResult
ListTrainingJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListTrainingJobsResult::SetTrainingJobSummaries
void SetTrainingJobSummaries(const Aws::Vector< TrainingJobSummary > &value)
Definition: ListTrainingJobsResult.h:47
Aws::SageMaker::Model::ListTrainingJobsResult::operator=
ListTrainingJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::TrainingJobSummary
Definition: TrainingJobSummary.h:35
Aws::SageMaker::Model::ListTrainingJobsResult::ListTrainingJobsResult
ListTrainingJobsResult()
AWSVector.h
Aws::SageMaker::Model::ListTrainingJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTrainingJobsResult.h:84
Aws::SageMaker::Model::ListTrainingJobsResult::AddTrainingJobSummaries
ListTrainingJobsResult & AddTrainingJobSummaries(const TrainingJobSummary &value)
Definition: ListTrainingJobsResult.h:71
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
AWSString.h
Aws::SageMaker::Model::ListTrainingJobsResult::WithNextToken
ListTrainingJobsResult & WithNextToken(Aws::String &&value)
Definition: ListTrainingJobsResult.h:114
Aws::SageMaker::Model::ListTrainingJobsResult::SetTrainingJobSummaries
void SetTrainingJobSummaries(Aws::Vector< TrainingJobSummary > &&value)
Definition: ListTrainingJobsResult.h:53
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListTrainingJobsResult::WithTrainingJobSummaries
ListTrainingJobsResult & WithTrainingJobSummaries(Aws::Vector< TrainingJobSummary > &&value)
Definition: ListTrainingJobsResult.h:65
Aws::SageMaker::Model::ListTrainingJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTrainingJobsResult.h:96
Aws::SageMaker::Model::ListTrainingJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTrainingJobsResult.h:102
Aws::SageMaker::Model::ListTrainingJobsResult::AddTrainingJobSummaries
ListTrainingJobsResult & AddTrainingJobSummaries(TrainingJobSummary &&value)
Definition: ListTrainingJobsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListTrainingJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTrainingJobsResult.h:90
Aws::SageMaker::Model::ListTrainingJobsResult::WithNextToken
ListTrainingJobsResult & WithNextToken(const Aws::String &value)
Definition: ListTrainingJobsResult.h:108
Aws::SageMaker::Model::ListTrainingJobsResult
Definition: ListTrainingJobsResult.h:30
TrainingJobSummary.h
Aws::SageMaker::Model::ListTrainingJobsResult::WithNextToken
ListTrainingJobsResult & WithNextToken(const char *value)
Definition: ListTrainingJobsResult.h:120