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/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/SourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_REDSHIFT_API DescribeEventsRequest();
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
37 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
58 inline const Aws::String& GetSourceIdentifier() const{ return m_sourceIdentifier; }
59 inline bool SourceIdentifierHasBeenSet() const { return m_sourceIdentifierHasBeenSet; }
60 inline void SetSourceIdentifier(const Aws::String& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = value; }
61 inline void SetSourceIdentifier(Aws::String&& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = std::move(value); }
62 inline void SetSourceIdentifier(const char* value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier.assign(value); }
63 inline DescribeEventsRequest& WithSourceIdentifier(const Aws::String& value) { SetSourceIdentifier(value); return *this;}
64 inline DescribeEventsRequest& WithSourceIdentifier(Aws::String&& value) { SetSourceIdentifier(std::move(value)); return *this;}
65 inline DescribeEventsRequest& WithSourceIdentifier(const char* value) { SetSourceIdentifier(value); return *this;}
67
69
81 inline const SourceType& GetSourceType() const{ return m_sourceType; }
82 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
83 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
84 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
85 inline DescribeEventsRequest& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
86 inline DescribeEventsRequest& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
88
90
96 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
97 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
98 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
99 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
100 inline DescribeEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
101 inline DescribeEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
103
105
111 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
112 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
113 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
114 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
115 inline DescribeEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
116 inline DescribeEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
118
120
126 inline int GetDuration() const{ return m_duration; }
127 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
128 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
129 inline DescribeEventsRequest& WithDuration(int value) { SetDuration(value); return *this;}
131
133
141 inline int GetMaxRecords() const{ return m_maxRecords; }
142 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
143 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
144 inline DescribeEventsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
146
148
156 inline const Aws::String& GetMarker() const{ return m_marker; }
157 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
158 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
159 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
160 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
161 inline DescribeEventsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
162 inline DescribeEventsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
163 inline DescribeEventsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
165 private:
166
167 Aws::String m_sourceIdentifier;
168 bool m_sourceIdentifierHasBeenSet = false;
169
170 SourceType m_sourceType;
171 bool m_sourceTypeHasBeenSet = false;
172
173 Aws::Utils::DateTime m_startTime;
174 bool m_startTimeHasBeenSet = false;
175
176 Aws::Utils::DateTime m_endTime;
177 bool m_endTimeHasBeenSet = false;
178
179 int m_duration;
180 bool m_durationHasBeenSet = false;
181
182 int m_maxRecords;
183 bool m_maxRecordsHasBeenSet = false;
184
185 Aws::String m_marker;
186 bool m_markerHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace Redshift
191} // namespace Aws
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