AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeEventsRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeEvents"; }
36
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
57 inline const Aws::String& GetSourceIdentifier() const{ return m_sourceIdentifier; }
58
72 inline bool SourceIdentifierHasBeenSet() const { return m_sourceIdentifierHasBeenSet; }
73
87 inline void SetSourceIdentifier(const Aws::String& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = value; }
88
102 inline void SetSourceIdentifier(Aws::String&& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = std::move(value); }
103
117 inline void SetSourceIdentifier(const char* value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier.assign(value); }
118
132 inline DescribeEventsRequest& WithSourceIdentifier(const Aws::String& value) { SetSourceIdentifier(value); return *this;}
133
147 inline DescribeEventsRequest& WithSourceIdentifier(Aws::String&& value) { SetSourceIdentifier(std::move(value)); return *this;}
148
162 inline DescribeEventsRequest& WithSourceIdentifier(const char* value) { SetSourceIdentifier(value); return *this;}
163
164
177 inline const SourceType& GetSourceType() const{ return m_sourceType; }
178
191 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
192
205 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
206
219 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
220
233 inline DescribeEventsRequest& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
234
247 inline DescribeEventsRequest& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
248
249
256 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
257
264 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
265
272 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
273
280 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
281
288 inline DescribeEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
289
296 inline DescribeEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
297
298
305 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
306
313 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
314
321 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
322
329 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
330
337 inline DescribeEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
338
345 inline DescribeEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
346
347
354 inline int GetDuration() const{ return m_duration; }
355
362 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
363
370 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
371
378 inline DescribeEventsRequest& WithDuration(int value) { SetDuration(value); return *this;}
379
380
389 inline int GetMaxRecords() const{ return m_maxRecords; }
390
399 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
400
409 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
410
419 inline DescribeEventsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
420
421
430 inline const Aws::String& GetMarker() const{ return m_marker; }
431
440 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
441
450 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
451
460 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
461
470 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
471
480 inline DescribeEventsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
481
490 inline DescribeEventsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
491
500 inline DescribeEventsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
501
502 private:
503
504 Aws::String m_sourceIdentifier;
505 bool m_sourceIdentifierHasBeenSet = false;
506
507 SourceType m_sourceType;
508 bool m_sourceTypeHasBeenSet = false;
509
510 Aws::Utils::DateTime m_startTime;
511 bool m_startTimeHasBeenSet = false;
512
513 Aws::Utils::DateTime m_endTime;
514 bool m_endTimeHasBeenSet = false;
515
516 int m_duration;
517 bool m_durationHasBeenSet = false;
518
519 int m_maxRecords;
520 bool m_maxRecordsHasBeenSet = false;
521
522 Aws::String m_marker;
523 bool m_markerHasBeenSet = false;
524 };
525
526} // namespace Model
527} // namespace Redshift
528} // namespace Aws
#define AWS_REDSHIFT_API
virtual const char * GetServiceRequestName() const override
DescribeEventsRequest & WithSourceType(const SourceType &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithMarker(const char *value)
DescribeEventsRequest & WithSourceIdentifier(Aws::String &&value)
DescribeEventsRequest & WithMaxRecords(int value)
DescribeEventsRequest & WithMarker(const Aws::String &value)
DescribeEventsRequest & WithSourceType(SourceType &&value)
DescribeEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEventsRequest & WithSourceIdentifier(const char *value)
DescribeEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithMarker(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithDuration(int value)
const Aws::Utils::DateTime & GetStartTime() const
void SetSourceIdentifier(const Aws::String &value)
DescribeEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithSourceIdentifier(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String