AWS SDK for C++  1.9.109
AWS SDK for C++
ListPipelineExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodePipeline
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListPipelineExecutions"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
46 
51  inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
52 
57  inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
58 
63  inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
64 
69  inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
70 
75  inline ListPipelineExecutionsRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
76 
81  inline ListPipelineExecutionsRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
82 
87  inline ListPipelineExecutionsRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
88 
89 
96  inline int GetMaxResults() const{ return m_maxResults; }
97 
104  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 
112  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
113 
120  inline ListPipelineExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121 
122 
128  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
129 
135  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
136 
142  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
143 
149  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
150 
156  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
157 
163  inline ListPipelineExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
164 
170  inline ListPipelineExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
171 
177  inline ListPipelineExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
178 
179  private:
180 
181  Aws::String m_pipelineName;
182  bool m_pipelineNameHasBeenSet;
183 
184  int m_maxResults;
185  bool m_maxResultsHasBeenSet;
186 
187  Aws::String m_nextToken;
188  bool m_nextTokenHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace CodePipeline
193 } // namespace Aws
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithNextToken
ListPipelineExecutionsRequest & WithNextToken(const char *value)
Definition: ListPipelineExecutionsRequest.h:177
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPipelineExecutionsRequest.h:34
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithPipelineName
ListPipelineExecutionsRequest & WithPipelineName(Aws::String &&value)
Definition: ListPipelineExecutionsRequest.h:81
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithPipelineName
ListPipelineExecutionsRequest & WithPipelineName(const Aws::String &value)
Definition: ListPipelineExecutionsRequest.h:75
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPipelineExecutionsRequest.h:96
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPipelineExecutionsRequest.h:104
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithPipelineName
ListPipelineExecutionsRequest & WithPipelineName(const char *value)
Definition: ListPipelineExecutionsRequest.h:87
CodePipelineRequest.h
Aws::CodePipeline::Model::ListPipelineExecutionsRequest
Definition: ListPipelineExecutionsRequest.h:26
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPipelineExecutionsRequest.h:112
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::GetPipelineName
const Aws::String & GetPipelineName() const
Definition: ListPipelineExecutionsRequest.h:45
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::ListPipelineExecutionsRequest
ListPipelineExecutionsRequest()
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPipelineExecutionsRequest.h:142
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::PipelineNameHasBeenSet
bool PipelineNameHasBeenSet() const
Definition: ListPipelineExecutionsRequest.h:51
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPipelineExecutionsRequest.h:135
AWSString.h
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetPipelineName
void SetPipelineName(const char *value)
Definition: ListPipelineExecutionsRequest.h:69
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithMaxResults
ListPipelineExecutionsRequest & WithMaxResults(int value)
Definition: ListPipelineExecutionsRequest.h:120
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetPipelineName
void SetPipelineName(const Aws::String &value)
Definition: ListPipelineExecutionsRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPipelineExecutionsRequest.h:156
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetPipelineName
void SetPipelineName(Aws::String &&value)
Definition: ListPipelineExecutionsRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::CodePipelineRequest
Definition: CodePipelineRequest.h:17
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPipelineExecutionsRequest.h:149
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithNextToken
ListPipelineExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: ListPipelineExecutionsRequest.h:163
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPipelineExecutionsRequest.h:128
Aws::CodePipeline::Model::ListPipelineExecutionsRequest::WithNextToken
ListPipelineExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: ListPipelineExecutionsRequest.h:170