AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ApplicationNameT = Aws::String>
53 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
54 template<typename ApplicationNameT = Aws::String>
55 DescribeEventsRequest& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
57
59
63 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
64 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
65 template<typename VersionLabelT = Aws::String>
66 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
67 template<typename VersionLabelT = Aws::String>
68 DescribeEventsRequest& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
70
72
76 inline const Aws::String& GetTemplateName() const { return m_templateName; }
77 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
78 template<typename TemplateNameT = Aws::String>
79 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
80 template<typename TemplateNameT = Aws::String>
81 DescribeEventsRequest& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
83
85
89 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
90 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
91 template<typename EnvironmentIdT = Aws::String>
92 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
93 template<typename EnvironmentIdT = Aws::String>
94 DescribeEventsRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
96
98
102 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
103 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
104 template<typename EnvironmentNameT = Aws::String>
105 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
106 template<typename EnvironmentNameT = Aws::String>
107 DescribeEventsRequest& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
109
111
116 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
117 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
118 template<typename PlatformArnT = Aws::String>
119 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
120 template<typename PlatformArnT = Aws::String>
121 DescribeEventsRequest& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
123
125
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
131 template<typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
133 template<typename RequestIdT = Aws::String>
134 DescribeEventsRequest& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
136
138
142 inline EventSeverity GetSeverity() const { return m_severity; }
143 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
144 inline void SetSeverity(EventSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
145 inline DescribeEventsRequest& WithSeverity(EventSeverity value) { SetSeverity(value); return *this;}
147
149
153 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
154 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
155 template<typename StartTimeT = Aws::Utils::DateTime>
156 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
157 template<typename StartTimeT = Aws::Utils::DateTime>
158 DescribeEventsRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
160
162
166 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
167 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
168 template<typename EndTimeT = Aws::Utils::DateTime>
169 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
170 template<typename EndTimeT = Aws::Utils::DateTime>
171 DescribeEventsRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
173
175
179 inline int GetMaxRecords() const { return m_maxRecords; }
180 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
181 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
182 inline DescribeEventsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
184
186
190 inline const Aws::String& GetNextToken() const { return m_nextToken; }
191 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
192 template<typename NextTokenT = Aws::String>
193 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
194 template<typename NextTokenT = Aws::String>
195 DescribeEventsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
197 private:
198
199 Aws::String m_applicationName;
200 bool m_applicationNameHasBeenSet = false;
201
202 Aws::String m_versionLabel;
203 bool m_versionLabelHasBeenSet = false;
204
205 Aws::String m_templateName;
206 bool m_templateNameHasBeenSet = false;
207
208 Aws::String m_environmentId;
209 bool m_environmentIdHasBeenSet = false;
210
211 Aws::String m_environmentName;
212 bool m_environmentNameHasBeenSet = false;
213
214 Aws::String m_platformArn;
215 bool m_platformArnHasBeenSet = false;
216
217 Aws::String m_requestId;
218 bool m_requestIdHasBeenSet = false;
219
221 bool m_severityHasBeenSet = false;
222
223 Aws::Utils::DateTime m_startTime{};
224 bool m_startTimeHasBeenSet = false;
225
226 Aws::Utils::DateTime m_endTime{};
227 bool m_endTimeHasBeenSet = false;
228
229 int m_maxRecords{0};
230 bool m_maxRecordsHasBeenSet = false;
231
232 Aws::String m_nextToken;
233 bool m_nextTokenHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace ElasticBeanstalk
238} // namespace Aws
DescribeEventsRequest & WithNextToken(NextTokenT &&value)
DescribeEventsRequest & WithApplicationName(ApplicationNameT &&value)
virtual const char * GetServiceRequestName() const override
DescribeEventsRequest & WithStartTime(StartTimeT &&value)
DescribeEventsRequest & WithEndTime(EndTimeT &&value)
DescribeEventsRequest & WithTemplateName(TemplateNameT &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
DescribeEventsRequest & WithSeverity(EventSeverity value)
DescribeEventsRequest & WithRequestId(RequestIdT &&value)
AWS_ELASTICBEANSTALK_API DescribeEventsRequest()=default
DescribeEventsRequest & WithEnvironmentId(EnvironmentIdT &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEventsRequest & WithPlatformArn(PlatformArnT &&value)
DescribeEventsRequest & WithEnvironmentName(EnvironmentNameT &&value)
DescribeEventsRequest & WithVersionLabel(VersionLabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String