AWS SDK for C++  1.8.95
AWS SDK for C++
DescribeEventsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElasticBeanstalk
17 {
18 namespace Model
19 {
20 
28  {
29  public:
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::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
49  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
50 
55  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
56 
61  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
62 
67  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
68 
73  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
74 
79  inline DescribeEventsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
80 
85  inline DescribeEventsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
86 
91  inline DescribeEventsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
92 
93 
98  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
99 
104  inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
105 
110  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
111 
116  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
117 
122  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
123 
128  inline DescribeEventsRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
129 
134  inline DescribeEventsRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
135 
140  inline DescribeEventsRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
141 
142 
147  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
148 
153  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
154 
159  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
160 
165  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
166 
171  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
172 
177  inline DescribeEventsRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
178 
183  inline DescribeEventsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
184 
189  inline DescribeEventsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
190 
191 
196  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
197 
202  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
203 
208  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
209 
214  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
215 
220  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
221 
226  inline DescribeEventsRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
227 
232  inline DescribeEventsRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
233 
238  inline DescribeEventsRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
239 
240 
245  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
246 
251  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
252 
257  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
258 
263  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
264 
269  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
270 
275  inline DescribeEventsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
276 
281  inline DescribeEventsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
282 
287  inline DescribeEventsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
288 
289 
295  inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
296 
302  inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
303 
309  inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
310 
316  inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
317 
323  inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
324 
330  inline DescribeEventsRequest& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
331 
337  inline DescribeEventsRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
338 
344  inline DescribeEventsRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
345 
346 
351  inline const Aws::String& GetRequestId() const{ return m_requestId; }
352 
357  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
358 
363  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
364 
369  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
370 
375  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
376 
381  inline DescribeEventsRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
382 
387  inline DescribeEventsRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
388 
393  inline DescribeEventsRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
394 
395 
400  inline const EventSeverity& GetSeverity() const{ return m_severity; }
401 
406  inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
407 
412  inline void SetSeverity(const EventSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
413 
418  inline void SetSeverity(EventSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
419 
424  inline DescribeEventsRequest& WithSeverity(const EventSeverity& value) { SetSeverity(value); return *this;}
425 
430  inline DescribeEventsRequest& WithSeverity(EventSeverity&& value) { SetSeverity(std::move(value)); return *this;}
431 
432 
437  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
438 
443  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
444 
449  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
450 
455  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
456 
461  inline DescribeEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
462 
467  inline DescribeEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
468 
469 
474  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
475 
480  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
481 
486  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
487 
492  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
493 
498  inline DescribeEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
499 
504  inline DescribeEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
505 
506 
511  inline int GetMaxRecords() const{ return m_maxRecords; }
512 
517  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
518 
523  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
524 
529  inline DescribeEventsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
530 
531 
536  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
537 
542  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
543 
548  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
549 
554  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
555 
560  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
561 
566  inline DescribeEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
567 
572  inline DescribeEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
573 
578  inline DescribeEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
579 
580  private:
581 
582  Aws::String m_applicationName;
583  bool m_applicationNameHasBeenSet;
584 
585  Aws::String m_versionLabel;
586  bool m_versionLabelHasBeenSet;
587 
588  Aws::String m_templateName;
589  bool m_templateNameHasBeenSet;
590 
591  Aws::String m_environmentId;
592  bool m_environmentIdHasBeenSet;
593 
594  Aws::String m_environmentName;
595  bool m_environmentNameHasBeenSet;
596 
597  Aws::String m_platformArn;
598  bool m_platformArnHasBeenSet;
599 
600  Aws::String m_requestId;
601  bool m_requestIdHasBeenSet;
602 
603  EventSeverity m_severity;
604  bool m_severityHasBeenSet;
605 
606  Aws::Utils::DateTime m_startTime;
607  bool m_startTimeHasBeenSet;
608 
609  Aws::Utils::DateTime m_endTime;
610  bool m_endTimeHasBeenSet;
611 
612  int m_maxRecords;
613  bool m_maxRecordsHasBeenSet;
614 
615  Aws::String m_nextToken;
616  bool m_nextTokenHasBeenSet;
617  };
618 
619 } // namespace Model
620 } // namespace ElasticBeanstalk
621 } // namespace Aws
DescribeEventsRequest & WithApplicationName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeEventsRequest & WithEnvironmentName(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithPlatformArn(const char *value)
#define AWS_ELASTICBEANSTALK_API
DescribeEventsRequest & WithTemplateName(const char *value)
DescribeEventsRequest & WithPlatformArn(Aws::String &&value)
DescribeEventsRequest & WithEnvironmentName(const Aws::String &value)
DescribeEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithSeverity(EventSeverity &&value)
DescribeEventsRequest & WithEnvironmentId(const char *value)
DescribeEventsRequest & WithSeverity(const EventSeverity &value)
DescribeEventsRequest & WithEnvironmentId(Aws::String &&value)
DescribeEventsRequest & WithTemplateName(Aws::String &&value)
DescribeEventsRequest & WithEnvironmentId(const Aws::String &value)
DescribeEventsRequest & WithRequestId(Aws::String &&value)
DescribeEventsRequest & WithVersionLabel(const char *value)
DescribeEventsRequest & WithEnvironmentName(const char *value)
DescribeEventsRequest & WithVersionLabel(Aws::String &&value)
DescribeEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithNextToken(const Aws::String &value)
DescribeEventsRequest & WithRequestId(const char *value)
DescribeEventsRequest & WithTemplateName(const Aws::String &value)
DescribeEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithNextToken(Aws::String &&value)
DescribeEventsRequest & WithRequestId(const Aws::String &value)
DescribeEventsRequest & WithApplicationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEventsRequest & WithVersionLabel(const Aws::String &value)
DescribeEventsRequest & WithPlatformArn(const Aws::String &value)
DescribeEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithNextToken(const char *value)
DescribeEventsRequest & WithApplicationName(Aws::String &&value)