AWS SDK for C++  1.9.160
AWS SDK for C++
ListCompilationJobsResult.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<CompilationJobSummary>& GetCompilationJobSummaries() const{ return m_compilationJobSummaries; }
42 
47  inline void SetCompilationJobSummaries(const Aws::Vector<CompilationJobSummary>& value) { m_compilationJobSummaries = value; }
48 
53  inline void SetCompilationJobSummaries(Aws::Vector<CompilationJobSummary>&& value) { m_compilationJobSummaries = std::move(value); }
54 
59  inline ListCompilationJobsResult& WithCompilationJobSummaries(const Aws::Vector<CompilationJobSummary>& value) { SetCompilationJobSummaries(value); return *this;}
60 
65  inline ListCompilationJobsResult& WithCompilationJobSummaries(Aws::Vector<CompilationJobSummary>&& value) { SetCompilationJobSummaries(std::move(value)); return *this;}
66 
71  inline ListCompilationJobsResult& AddCompilationJobSummaries(const CompilationJobSummary& value) { m_compilationJobSummaries.push_back(value); return *this; }
72 
77  inline ListCompilationJobsResult& AddCompilationJobSummaries(CompilationJobSummary&& value) { m_compilationJobSummaries.push_back(std::move(value)); return *this; }
78 
79 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
92  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 
99  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
100 
106  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 
113  inline ListCompilationJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
120  inline ListCompilationJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 
127  inline ListCompilationJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<CompilationJobSummary> m_compilationJobSummaries;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace SageMaker
138 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListCompilationJobsResult::AddCompilationJobSummaries
ListCompilationJobsResult & AddCompilationJobSummaries(CompilationJobSummary &&value)
Definition: ListCompilationJobsResult.h:77
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::ListCompilationJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListCompilationJobsResult.h:106
Aws::SageMaker::Model::ListCompilationJobsResult
Definition: ListCompilationJobsResult.h:30
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListCompilationJobsResult::WithNextToken
ListCompilationJobsResult & WithNextToken(const char *value)
Definition: ListCompilationJobsResult.h:127
Aws::SageMaker::Model::ListCompilationJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCompilationJobsResult.h:85
Aws::SageMaker::Model::CompilationJobSummary
Definition: CompilationJobSummary.h:38
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListCompilationJobsResult::ListCompilationJobsResult
ListCompilationJobsResult()
AWSVector.h
CompilationJobSummary.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListCompilationJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCompilationJobsResult.h:92
Aws::SageMaker::Model::ListCompilationJobsResult::SetCompilationJobSummaries
void SetCompilationJobSummaries(const Aws::Vector< CompilationJobSummary > &value)
Definition: ListCompilationJobsResult.h:47
Aws::SageMaker::Model::ListCompilationJobsResult::WithNextToken
ListCompilationJobsResult & WithNextToken(const Aws::String &value)
Definition: ListCompilationJobsResult.h:113
AWSString.h
Aws::SageMaker::Model::ListCompilationJobsResult::AddCompilationJobSummaries
ListCompilationJobsResult & AddCompilationJobSummaries(const CompilationJobSummary &value)
Definition: ListCompilationJobsResult.h:71
Aws::SageMaker::Model::ListCompilationJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCompilationJobsResult.h:99
Aws::SageMaker::Model::ListCompilationJobsResult::WithCompilationJobSummaries
ListCompilationJobsResult & WithCompilationJobSummaries(Aws::Vector< CompilationJobSummary > &&value)
Definition: ListCompilationJobsResult.h:65
Aws::SageMaker::Model::ListCompilationJobsResult::WithNextToken
ListCompilationJobsResult & WithNextToken(Aws::String &&value)
Definition: ListCompilationJobsResult.h:120
Aws::SageMaker::Model::ListCompilationJobsResult::operator=
ListCompilationJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListCompilationJobsResult::WithCompilationJobSummaries
ListCompilationJobsResult & WithCompilationJobSummaries(const Aws::Vector< CompilationJobSummary > &value)
Definition: ListCompilationJobsResult.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListCompilationJobsResult::GetCompilationJobSummaries
const Aws::Vector< CompilationJobSummary > & GetCompilationJobSummaries() const
Definition: ListCompilationJobsResult.h:41
Aws::SageMaker::Model::ListCompilationJobsResult::ListCompilationJobsResult
ListCompilationJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListCompilationJobsResult::SetCompilationJobSummaries
void SetCompilationJobSummaries(Aws::Vector< CompilationJobSummary > &&value)
Definition: ListCompilationJobsResult.h:53