AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventsRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/EventSeverity.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticBeanstalk
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ELASTICBEANSTALK_API DescribeEventsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeEvents"; }
37
38 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
50 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
51 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
52 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
53 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
54 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
55 inline DescribeEventsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
56 inline DescribeEventsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
57 inline DescribeEventsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
59
61
65 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
66 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
67 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
68 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
69 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
70 inline DescribeEventsRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
71 inline DescribeEventsRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
72 inline DescribeEventsRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
74
76
80 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
81 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
82 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
83 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
84 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
85 inline DescribeEventsRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
86 inline DescribeEventsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
87 inline DescribeEventsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
89
91
95 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
96 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
97 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
98 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
99 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
100 inline DescribeEventsRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
101 inline DescribeEventsRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
102 inline DescribeEventsRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
104
106
110 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
111 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
112 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
113 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
114 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
115 inline DescribeEventsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
116 inline DescribeEventsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
117 inline DescribeEventsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
119
121
126 inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
127 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
128 inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
129 inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
130 inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
131 inline DescribeEventsRequest& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
132 inline DescribeEventsRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
133 inline DescribeEventsRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
135
137
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
143 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
146 inline DescribeEventsRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline DescribeEventsRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline DescribeEventsRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150
152
156 inline const EventSeverity& GetSeverity() const{ return m_severity; }
157 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
158 inline void SetSeverity(const EventSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
159 inline void SetSeverity(EventSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
160 inline DescribeEventsRequest& WithSeverity(const EventSeverity& value) { SetSeverity(value); return *this;}
161 inline DescribeEventsRequest& WithSeverity(EventSeverity&& value) { SetSeverity(std::move(value)); return *this;}
163
165
169 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
170 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
171 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
172 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
173 inline DescribeEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
174 inline DescribeEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
176
178
182 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
183 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
184 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
185 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
186 inline DescribeEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
187 inline DescribeEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
189
191
195 inline int GetMaxRecords() const{ return m_maxRecords; }
196 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
197 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
198 inline DescribeEventsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
200
202
206 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
207 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
208 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
209 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
210 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
211 inline DescribeEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
212 inline DescribeEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
213 inline DescribeEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
215 private:
216
217 Aws::String m_applicationName;
218 bool m_applicationNameHasBeenSet = false;
219
220 Aws::String m_versionLabel;
221 bool m_versionLabelHasBeenSet = false;
222
223 Aws::String m_templateName;
224 bool m_templateNameHasBeenSet = false;
225
226 Aws::String m_environmentId;
227 bool m_environmentIdHasBeenSet = false;
228
229 Aws::String m_environmentName;
230 bool m_environmentNameHasBeenSet = false;
231
232 Aws::String m_platformArn;
233 bool m_platformArnHasBeenSet = false;
234
235 Aws::String m_requestId;
236 bool m_requestIdHasBeenSet = false;
237
238 EventSeverity m_severity;
239 bool m_severityHasBeenSet = false;
240
241 Aws::Utils::DateTime m_startTime;
242 bool m_startTimeHasBeenSet = false;
243
244 Aws::Utils::DateTime m_endTime;
245 bool m_endTimeHasBeenSet = false;
246
247 int m_maxRecords;
248 bool m_maxRecordsHasBeenSet = false;
249
250 Aws::String m_nextToken;
251 bool m_nextTokenHasBeenSet = false;
252 };
253
254} // namespace Model
255} // namespace ElasticBeanstalk
256} // namespace Aws
DescribeEventsRequest & WithEnvironmentId(const char *value)
DescribeEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithEnvironmentName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithTemplateName(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
DescribeEventsRequest & WithRequestId(Aws::String &&value)
DescribeEventsRequest & WithPlatformArn(const char *value)
DescribeEventsRequest & WithApplicationName(Aws::String &&value)
DescribeEventsRequest & WithEnvironmentName(const char *value)
DescribeEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithNextToken(const Aws::String &value)
DescribeEventsRequest & WithEnvironmentId(Aws::String &&value)
DescribeEventsRequest & WithVersionLabel(Aws::String &&value)
DescribeEventsRequest & WithApplicationName(const Aws::String &value)
DescribeEventsRequest & WithEnvironmentId(const Aws::String &value)
DescribeEventsRequest & WithApplicationName(const char *value)
DescribeEventsRequest & WithRequestId(const char *value)
DescribeEventsRequest & WithTemplateName(const Aws::String &value)
DescribeEventsRequest & WithVersionLabel(const Aws::String &value)
DescribeEventsRequest & WithPlatformArn(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEventsRequest & WithNextToken(const char *value)
DescribeEventsRequest & WithTemplateName(Aws::String &&value)
DescribeEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithRequestId(const Aws::String &value)
DescribeEventsRequest & WithPlatformArn(const Aws::String &value)
DescribeEventsRequest & WithVersionLabel(const char *value)
DescribeEventsRequest & WithSeverity(EventSeverity &&value)
DescribeEventsRequest & WithSeverity(const EventSeverity &value)
DescribeEventsRequest & WithNextToken(Aws::String &&value)
DescribeEventsRequest & WithEnvironmentName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String