AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeSnapshotSchedulesRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeSnapshotSchedules"; }
32
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
44 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
45
50 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
51
56 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
57
62 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
63
68 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
69
75
81
86 inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
87
88
92 inline const Aws::String& GetScheduleIdentifier() const{ return m_scheduleIdentifier; }
93
97 inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; }
98
102 inline void SetScheduleIdentifier(const Aws::String& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = value; }
103
107 inline void SetScheduleIdentifier(Aws::String&& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = std::move(value); }
108
112 inline void SetScheduleIdentifier(const char* value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier.assign(value); }
113
118
123
127 inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(const char* value) { SetScheduleIdentifier(value); return *this;}
128
129
133 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
134
138 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
139
143 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
144
148 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
149
154
158 inline DescribeSnapshotSchedulesRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
159
163 inline DescribeSnapshotSchedulesRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
164
168 inline DescribeSnapshotSchedulesRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
169
173 inline DescribeSnapshotSchedulesRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
174
175
179 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
180
184 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
185
189 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
190
194 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
195
200
204 inline DescribeSnapshotSchedulesRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
205
209 inline DescribeSnapshotSchedulesRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
210
214 inline DescribeSnapshotSchedulesRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
215
219 inline DescribeSnapshotSchedulesRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
220
221
230 inline const Aws::String& GetMarker() const{ return m_marker; }
231
240 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
241
250 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
251
260 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
261
270 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
271
280 inline DescribeSnapshotSchedulesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
281
290 inline DescribeSnapshotSchedulesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
291
300 inline DescribeSnapshotSchedulesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
301
302
310 inline int GetMaxRecords() const{ return m_maxRecords; }
311
319 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
320
328 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
329
337 inline DescribeSnapshotSchedulesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
338
339 private:
340
341 Aws::String m_clusterIdentifier;
342 bool m_clusterIdentifierHasBeenSet = false;
343
344 Aws::String m_scheduleIdentifier;
345 bool m_scheduleIdentifierHasBeenSet = false;
346
347 Aws::Vector<Aws::String> m_tagKeys;
348 bool m_tagKeysHasBeenSet = false;
349
350 Aws::Vector<Aws::String> m_tagValues;
351 bool m_tagValuesHasBeenSet = false;
352
353 Aws::String m_marker;
354 bool m_markerHasBeenSet = false;
355
356 int m_maxRecords;
357 bool m_maxRecordsHasBeenSet = false;
358 };
359
360} // namespace Model
361} // namespace Redshift
362} // namespace Aws
#define AWS_REDSHIFT_API
DescribeSnapshotSchedulesRequest & AddTagKeys(const Aws::String &value)
DescribeSnapshotSchedulesRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeSnapshotSchedulesRequest & WithMarker(Aws::String &&value)
DescribeSnapshotSchedulesRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(const char *value)
DescribeSnapshotSchedulesRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeSnapshotSchedulesRequest & WithMarker(const char *value)
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSnapshotSchedulesRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeSnapshotSchedulesRequest & WithMaxRecords(int value)
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(Aws::String &&value)
DescribeSnapshotSchedulesRequest & AddTagValues(const char *value)
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeSnapshotSchedulesRequest & AddTagKeys(Aws::String &&value)
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(const Aws::String &value)
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(const char *value)
DescribeSnapshotSchedulesRequest & WithMarker(const Aws::String &value)
DescribeSnapshotSchedulesRequest & AddTagValues(const Aws::String &value)
DescribeSnapshotSchedulesRequest & AddTagValues(Aws::String &&value)
DescribeSnapshotSchedulesRequest & AddTagKeys(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector