AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPipelineExecutionsRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/CodePipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codepipeline/model/PipelineExecutionFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodePipeline
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODEPIPELINE_API ListPipelineExecutionsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListPipelineExecutions"; }
36
37 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
38
39 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
48 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
49 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
50 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
51 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
52 inline ListPipelineExecutionsRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
53 inline ListPipelineExecutionsRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
54 inline ListPipelineExecutionsRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
56
58
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListPipelineExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
74 inline const PipelineExecutionFilter& GetFilter() const{ return m_filter; }
75 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
76 inline void SetFilter(const PipelineExecutionFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
77 inline void SetFilter(PipelineExecutionFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
78 inline ListPipelineExecutionsRequest& WithFilter(const PipelineExecutionFilter& value) { SetFilter(value); return *this;}
79 inline ListPipelineExecutionsRequest& WithFilter(PipelineExecutionFilter&& value) { SetFilter(std::move(value)); return *this;}
81
83
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
93 inline ListPipelineExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline ListPipelineExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline ListPipelineExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97 private:
98
99 Aws::String m_pipelineName;
100 bool m_pipelineNameHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104
106 bool m_filterHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CodePipeline
114} // namespace Aws
ListPipelineExecutionsRequest & WithPipelineName(const Aws::String &value)
ListPipelineExecutionsRequest & WithNextToken(Aws::String &&value)
ListPipelineExecutionsRequest & WithPipelineName(Aws::String &&value)
ListPipelineExecutionsRequest & WithPipelineName(const char *value)
ListPipelineExecutionsRequest & WithNextToken(const char *value)
ListPipelineExecutionsRequest & WithFilter(const PipelineExecutionFilter &value)
ListPipelineExecutionsRequest & WithFilter(PipelineExecutionFilter &&value)
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPipelineExecutionsRequest & WithNextToken(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String