AWS SDK for C++

AWS SDK for C++ Version 1.11.846

Loading...
Searching...
No Matches
ListTriggersRequest.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 Http {
15class URI;
16} // namespace Http
17namespace DevOpsAgent {
18namespace Model {
19
27 public:
28 AWS_DEVOPSAGENT_API ListTriggersRequest() = default;
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 "ListTriggers"; }
35
36 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
37
38 AWS_DEVOPSAGENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
45 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
46 template <typename AgentSpaceIdT = Aws::String>
47 void SetAgentSpaceId(AgentSpaceIdT&& value) {
48 m_agentSpaceIdHasBeenSet = true;
49 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
50 }
51 template <typename AgentSpaceIdT = Aws::String>
52 ListTriggersRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
53 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetStatus() const { return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 template <typename StatusT = Aws::String>
65 void SetStatus(StatusT&& value) {
66 m_statusHasBeenSet = true;
67 m_status = std::forward<StatusT>(value);
68 }
69 template <typename StatusT = Aws::String>
70 ListTriggersRequest& WithStatus(StatusT&& value) {
71 SetStatus(std::forward<StatusT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template <typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) {
85 m_nextTokenHasBeenSet = true;
86 m_nextToken = std::forward<NextTokenT>(value);
87 }
88 template <typename NextTokenT = Aws::String>
89 ListTriggersRequest& WithNextToken(NextTokenT&& value) {
90 SetNextToken(std::forward<NextTokenT>(value));
91 return *this;
92 }
94
96
99 inline int GetMaxResults() const { return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) {
102 m_maxResultsHasBeenSet = true;
103 m_maxResults = value;
104 }
106 SetMaxResults(value);
107 return *this;
108 }
110 private:
111 Aws::String m_agentSpaceId;
112
113 Aws::String m_status;
114
115 Aws::String m_nextToken;
116
117 int m_maxResults{0};
118 bool m_agentSpaceIdHasBeenSet = false;
119 bool m_statusHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121 bool m_maxResultsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace DevOpsAgent
126} // namespace Aws
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
ListTriggersRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
AWS_DEVOPSAGENT_API ListTriggersRequest()=default
ListTriggersRequest & WithNextToken(NextTokenT &&value)
AWS_DEVOPSAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListTriggersRequest & WithStatus(StatusT &&value)
ListTriggersRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String