AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ListExecutionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgentRequest.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DevOpsAgent {
15namespace Model {
16
23 public:
24 AWS_DEVOPSAGENT_API ListExecutionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListExecutions"; }
31
32 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
39 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
40 template <typename AgentSpaceIdT = Aws::String>
41 void SetAgentSpaceId(AgentSpaceIdT&& value) {
42 m_agentSpaceIdHasBeenSet = true;
43 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
44 }
45 template <typename AgentSpaceIdT = Aws::String>
46 ListExecutionsRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
47 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTaskId() const { return m_taskId; }
57 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
58 template <typename TaskIdT = Aws::String>
59 void SetTaskId(TaskIdT&& value) {
60 m_taskIdHasBeenSet = true;
61 m_taskId = std::forward<TaskIdT>(value);
62 }
63 template <typename TaskIdT = Aws::String>
65 SetTaskId(std::forward<TaskIdT>(value));
66 return *this;
67 }
69
71
74 inline int GetLimit() const { return m_limit; }
75 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
76 inline void SetLimit(int value) {
77 m_limitHasBeenSet = true;
78 m_limit = value;
79 }
80 inline ListExecutionsRequest& WithLimit(int value) {
81 SetLimit(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetNextToken() const { return m_nextToken; }
91 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 template <typename NextTokenT = Aws::String>
93 void SetNextToken(NextTokenT&& value) {
94 m_nextTokenHasBeenSet = true;
95 m_nextToken = std::forward<NextTokenT>(value);
96 }
97 template <typename NextTokenT = Aws::String>
98 ListExecutionsRequest& WithNextToken(NextTokenT&& value) {
99 SetNextToken(std::forward<NextTokenT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_agentSpaceId;
105
106 Aws::String m_taskId;
107
108 int m_limit{0};
109
110 Aws::String m_nextToken;
111 bool m_agentSpaceIdHasBeenSet = false;
112 bool m_taskIdHasBeenSet = false;
113 bool m_limitHasBeenSet = false;
114 bool m_nextTokenHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace DevOpsAgent
119} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListExecutionsRequest & WithTaskId(TaskIdT &&value)
AWS_DEVOPSAGENT_API ListExecutionsRequest()=default
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
ListExecutionsRequest & WithNextToken(NextTokenT &&value)
ListExecutionsRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String