AWS SDK for C++  1.9.108
AWS SDK for C++
ListPipelineExecutionsResult.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<PipelineExecutionSummary>& GetPipelineExecutionSummaries() const{ return m_pipelineExecutionSummaries; }
47 
51  inline void SetPipelineExecutionSummaries(const Aws::Vector<PipelineExecutionSummary>& value) { m_pipelineExecutionSummaries = value; }
52 
56  inline void SetPipelineExecutionSummaries(Aws::Vector<PipelineExecutionSummary>&& value) { m_pipelineExecutionSummaries = std::move(value); }
57 
61  inline ListPipelineExecutionsResult& WithPipelineExecutionSummaries(const Aws::Vector<PipelineExecutionSummary>& value) { SetPipelineExecutionSummaries(value); return *this;}
62 
66  inline ListPipelineExecutionsResult& WithPipelineExecutionSummaries(Aws::Vector<PipelineExecutionSummary>&& value) { SetPipelineExecutionSummaries(std::move(value)); return *this;}
67 
71  inline ListPipelineExecutionsResult& AddPipelineExecutionSummaries(const PipelineExecutionSummary& value) { m_pipelineExecutionSummaries.push_back(value); return *this; }
72 
76  inline ListPipelineExecutionsResult& AddPipelineExecutionSummaries(PipelineExecutionSummary&& value) { m_pipelineExecutionSummaries.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 ListPipelineExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline ListPipelineExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline ListPipelineExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
130  Aws::Vector<PipelineExecutionSummary> m_pipelineExecutionSummaries;
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::Model::ListPipelineExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPipelineExecutionsResult.h:98
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ListPipelineExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPipelineExecutionsResult.h:105
Aws::CodePipeline::Model::ListPipelineExecutionsResult::ListPipelineExecutionsResult
ListPipelineExecutionsResult()
Aws::CodePipeline::Model::ListPipelineExecutionsResult::AddPipelineExecutionSummaries
ListPipelineExecutionsResult & AddPipelineExecutionSummaries(PipelineExecutionSummary &&value)
Definition: ListPipelineExecutionsResult.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
PipelineExecutionSummary.h
AWSVector.h
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ListPipelineExecutionsResult::WithPipelineExecutionSummaries
ListPipelineExecutionsResult & WithPipelineExecutionSummaries(const Aws::Vector< PipelineExecutionSummary > &value)
Definition: ListPipelineExecutionsResult.h:61
Aws::CodePipeline::Model::ListPipelineExecutionsResult
Definition: ListPipelineExecutionsResult.h:36
Aws::CodePipeline::Model::PipelineExecutionSummary
Definition: PipelineExecutionSummary.h:38
Aws::CodePipeline::Model::ListPipelineExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPipelineExecutionsResult.h:91
Aws::CodePipeline::Model::ListPipelineExecutionsResult::ListPipelineExecutionsResult
ListPipelineExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::ListPipelineExecutionsResult::SetPipelineExecutionSummaries
void SetPipelineExecutionSummaries(Aws::Vector< PipelineExecutionSummary > &&value)
Definition: ListPipelineExecutionsResult.h:56
Aws::CodePipeline::Model::ListPipelineExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPipelineExecutionsResult.h:84
AWSString.h
Aws::CodePipeline::Model::ListPipelineExecutionsResult::WithNextToken
ListPipelineExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListPipelineExecutionsResult.h:119
Aws::CodePipeline::Model::ListPipelineExecutionsResult::AddPipelineExecutionSummaries
ListPipelineExecutionsResult & AddPipelineExecutionSummaries(const PipelineExecutionSummary &value)
Definition: ListPipelineExecutionsResult.h:71
Aws::CodePipeline::Model::ListPipelineExecutionsResult::operator=
ListPipelineExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ListPipelineExecutionsResult::WithNextToken
ListPipelineExecutionsResult & WithNextToken(const char *value)
Definition: ListPipelineExecutionsResult.h:126
Aws::CodePipeline::Model::ListPipelineExecutionsResult::WithNextToken
ListPipelineExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListPipelineExecutionsResult.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::ListPipelineExecutionsResult::GetPipelineExecutionSummaries
const Aws::Vector< PipelineExecutionSummary > & GetPipelineExecutionSummaries() const
Definition: ListPipelineExecutionsResult.h:46
Aws::CodePipeline::Model::ListPipelineExecutionsResult::SetPipelineExecutionSummaries
void SetPipelineExecutionSummaries(const Aws::Vector< PipelineExecutionSummary > &value)
Definition: ListPipelineExecutionsResult.h:51
Aws::CodePipeline::Model::ListPipelineExecutionsResult::WithPipelineExecutionSummaries
ListPipelineExecutionsResult & WithPipelineExecutionSummaries(Aws::Vector< PipelineExecutionSummary > &&value)
Definition: ListPipelineExecutionsResult.h:66