AWS SDK for C++  1.9.159
AWS SDK for C++
ListPipelinesResult.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 
43  inline const Aws::Vector<PipelineSummary>& GetPipelineSummaries() const{ return m_pipelineSummaries; }
44 
51  inline void SetPipelineSummaries(const Aws::Vector<PipelineSummary>& value) { m_pipelineSummaries = value; }
52 
59  inline void SetPipelineSummaries(Aws::Vector<PipelineSummary>&& value) { m_pipelineSummaries = std::move(value); }
60 
67  inline ListPipelinesResult& WithPipelineSummaries(const Aws::Vector<PipelineSummary>& value) { SetPipelineSummaries(value); return *this;}
68 
75  inline ListPipelinesResult& WithPipelineSummaries(Aws::Vector<PipelineSummary>&& value) { SetPipelineSummaries(std::move(value)); return *this;}
76 
83  inline ListPipelinesResult& AddPipelineSummaries(const PipelineSummary& value) { m_pipelineSummaries.push_back(value); return *this; }
84 
91  inline ListPipelinesResult& AddPipelineSummaries(PipelineSummary&& value) { m_pipelineSummaries.push_back(std::move(value)); return *this; }
92 
93 
99  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
100 
106  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
107 
113  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
114 
120  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
121 
127  inline ListPipelinesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
128 
134  inline ListPipelinesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
135 
141  inline ListPipelinesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<PipelineSummary> m_pipelineSummaries;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace SageMaker
152 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::PipelineSummary
Definition: PipelineSummary.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListPipelinesResult::WithPipelineSummaries
ListPipelinesResult & WithPipelineSummaries(const Aws::Vector< PipelineSummary > &value)
Definition: ListPipelinesResult.h:67
Aws::SageMaker::Model::ListPipelinesResult::ListPipelinesResult
ListPipelinesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListPipelinesResult::WithNextToken
ListPipelinesResult & WithNextToken(const Aws::String &value)
Definition: ListPipelinesResult.h:127
AWSVector.h
Aws::SageMaker::Model::ListPipelinesResult::ListPipelinesResult
ListPipelinesResult()
Aws::SageMaker::Model::ListPipelinesResult::WithPipelineSummaries
ListPipelinesResult & WithPipelineSummaries(Aws::Vector< PipelineSummary > &&value)
Definition: ListPipelinesResult.h:75
PipelineSummary.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListPipelinesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPipelinesResult.h:99
Aws::SageMaker::Model::ListPipelinesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPipelinesResult.h:113
AWSString.h
Aws::SageMaker::Model::ListPipelinesResult::WithNextToken
ListPipelinesResult & WithNextToken(const char *value)
Definition: ListPipelinesResult.h:141
Aws::SageMaker::Model::ListPipelinesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPipelinesResult.h:106
Aws::SageMaker::Model::ListPipelinesResult::AddPipelineSummaries
ListPipelinesResult & AddPipelineSummaries(const PipelineSummary &value)
Definition: ListPipelinesResult.h:83
Aws::SageMaker::Model::ListPipelinesResult::WithNextToken
ListPipelinesResult & WithNextToken(Aws::String &&value)
Definition: ListPipelinesResult.h:134
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListPipelinesResult::AddPipelineSummaries
ListPipelinesResult & AddPipelineSummaries(PipelineSummary &&value)
Definition: ListPipelinesResult.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListPipelinesResult::SetPipelineSummaries
void SetPipelineSummaries(const Aws::Vector< PipelineSummary > &value)
Definition: ListPipelinesResult.h:51
Aws::SageMaker::Model::ListPipelinesResult::GetPipelineSummaries
const Aws::Vector< PipelineSummary > & GetPipelineSummaries() const
Definition: ListPipelinesResult.h:43
Aws::SageMaker::Model::ListPipelinesResult::SetPipelineSummaries
void SetPipelineSummaries(Aws::Vector< PipelineSummary > &&value)
Definition: ListPipelinesResult.h:59
Aws::SageMaker::Model::ListPipelinesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPipelinesResult.h:120
Aws::SageMaker::Model::ListPipelinesResult
Definition: ListPipelinesResult.h:30
Aws::SageMaker::Model::ListPipelinesResult::operator=
ListPipelinesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)