AWS SDK for C++  1.9.108
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 CodePipeline
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<PipelineSummary>& GetPipelines() const{ return m_pipelines; }
47 
51  inline void SetPipelines(const Aws::Vector<PipelineSummary>& value) { m_pipelines = value; }
52 
56  inline void SetPipelines(Aws::Vector<PipelineSummary>&& value) { m_pipelines = std::move(value); }
57 
61  inline ListPipelinesResult& WithPipelines(const Aws::Vector<PipelineSummary>& value) { SetPipelines(value); return *this;}
62 
66  inline ListPipelinesResult& WithPipelines(Aws::Vector<PipelineSummary>&& value) { SetPipelines(std::move(value)); return *this;}
67 
71  inline ListPipelinesResult& AddPipelines(const PipelineSummary& value) { m_pipelines.push_back(value); return *this; }
72 
76  inline ListPipelinesResult& AddPipelines(PipelineSummary&& value) { m_pipelines.push_back(std::move(value)); return *this; }
77 
78 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
105  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
106 
112  inline ListPipelinesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline ListPipelinesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline ListPipelinesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
130  Aws::Vector<PipelineSummary> m_pipelines;
131 
132  Aws::String m_nextToken;
133  };
134 
135 } // namespace Model
136 } // namespace CodePipeline
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ListPipelinesResult::operator=
ListPipelinesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::ListPipelinesResult::GetPipelines
const Aws::Vector< PipelineSummary > & GetPipelines() const
Definition: ListPipelinesResult.h:46
Aws::CodePipeline::Model::PipelineSummary
Definition: PipelineSummary.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodePipeline::Model::ListPipelinesResult::WithNextToken
ListPipelinesResult & WithNextToken(const Aws::String &value)
Definition: ListPipelinesResult.h:112
Aws::CodePipeline::Model::ListPipelinesResult::WithPipelines
ListPipelinesResult & WithPipelines(Aws::Vector< PipelineSummary > &&value)
Definition: ListPipelinesResult.h:66
AWSVector.h
PipelineSummary.h
Aws::CodePipeline::Model::ListPipelinesResult::WithNextToken
ListPipelinesResult & WithNextToken(const char *value)
Definition: ListPipelinesResult.h:126
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ListPipelinesResult::WithNextToken
ListPipelinesResult & WithNextToken(Aws::String &&value)
Definition: ListPipelinesResult.h:119
Aws::CodePipeline::Model::ListPipelinesResult::ListPipelinesResult
ListPipelinesResult()
Aws::CodePipeline::Model::ListPipelinesResult::WithPipelines
ListPipelinesResult & WithPipelines(const Aws::Vector< PipelineSummary > &value)
Definition: ListPipelinesResult.h:61
Aws::CodePipeline::Model::ListPipelinesResult::AddPipelines
ListPipelinesResult & AddPipelines(PipelineSummary &&value)
Definition: ListPipelinesResult.h:76
Aws::CodePipeline::Model::ListPipelinesResult::SetPipelines
void SetPipelines(const Aws::Vector< PipelineSummary > &value)
Definition: ListPipelinesResult.h:51
Aws::CodePipeline::Model::ListPipelinesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPipelinesResult.h:105
AWSString.h
Aws::CodePipeline::Model::ListPipelinesResult
Definition: ListPipelinesResult.h:36
Aws::CodePipeline::Model::ListPipelinesResult::SetPipelines
void SetPipelines(Aws::Vector< PipelineSummary > &&value)
Definition: ListPipelinesResult.h:56
Aws::CodePipeline::Model::ListPipelinesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPipelinesResult.h:84
Aws::CodePipeline::Model::ListPipelinesResult::ListPipelinesResult
ListPipelinesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::ListPipelinesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPipelinesResult.h:91
Aws::CodePipeline::Model::ListPipelinesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPipelinesResult.h:98
Aws::CodePipeline::Model::ListPipelinesResult::AddPipelines
ListPipelinesResult & AddPipelines(const PipelineSummary &value)
Definition: ListPipelinesResult.h:71