AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRuleExecutionsRequest.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/RuleExecutionFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodePipeline
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEPIPELINE_API ListRuleExecutionsRequest();
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 "ListRuleExecutions"; }
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 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
46 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
47 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
48 inline ListRuleExecutionsRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
49 inline ListRuleExecutionsRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
50 inline ListRuleExecutionsRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
52
54
57 inline const RuleExecutionFilter& GetFilter() const{ return m_filter; }
58 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
59 inline void SetFilter(const RuleExecutionFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
60 inline void SetFilter(RuleExecutionFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
61 inline ListRuleExecutionsRequest& WithFilter(const RuleExecutionFilter& value) { SetFilter(value); return *this;}
62 inline ListRuleExecutionsRequest& WithFilter(RuleExecutionFilter&& value) { SetFilter(std::move(value)); return *this;}
64
66
72 inline int GetMaxResults() const{ return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline ListRuleExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
89 inline ListRuleExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline ListRuleExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline ListRuleExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93 private:
94
95 Aws::String m_pipelineName;
96 bool m_pipelineNameHasBeenSet = false;
97
98 RuleExecutionFilter m_filter;
99 bool m_filterHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CodePipeline
110} // namespace Aws
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRuleExecutionsRequest & WithNextToken(Aws::String &&value)
ListRuleExecutionsRequest & WithNextToken(const Aws::String &value)
ListRuleExecutionsRequest & WithPipelineName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListRuleExecutionsRequest & WithNextToken(const char *value)
ListRuleExecutionsRequest & WithPipelineName(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
ListRuleExecutionsRequest & WithFilter(const RuleExecutionFilter &value)
ListRuleExecutionsRequest & WithFilter(RuleExecutionFilter &&value)
ListRuleExecutionsRequest & WithPipelineName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String