AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListActionExecutionsRequest.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/ActionExecutionFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodePipeline
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEPIPELINE_API ListActionExecutionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListActionExecutions"; }
32
33 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
34
35 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
44 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
45 template<typename PipelineNameT = Aws::String>
46 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
47 template<typename PipelineNameT = Aws::String>
48 ListActionExecutionsRequest& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(value)); return *this;}
50
52
55 inline const ActionExecutionFilter& GetFilter() const { return m_filter; }
56 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
57 template<typename FilterT = ActionExecutionFilter>
58 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
59 template<typename FilterT = ActionExecutionFilter>
60 ListActionExecutionsRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
62
64
70 inline int GetMaxResults() const { return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline ListActionExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 ListActionExecutionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89 private:
90
91 Aws::String m_pipelineName;
92 bool m_pipelineNameHasBeenSet = false;
93
94 ActionExecutionFilter m_filter;
95 bool m_filterHasBeenSet = false;
96
97 int m_maxResults{0};
98 bool m_maxResultsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CodePipeline
106} // namespace Aws
ListActionExecutionsRequest & WithFilter(FilterT &&value)
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
ListActionExecutionsRequest & WithNextToken(NextTokenT &&value)
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEPIPELINE_API ListActionExecutionsRequest()=default
ListActionExecutionsRequest & WithPipelineName(PipelineNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String