AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeSnapshotSchedulesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
16 {
17 namespace 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 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  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 
74  inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
75 
80  inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
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 
117  inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(const Aws::String& value) { SetScheduleIdentifier(value); return *this;}
118 
122  inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(Aws::String&& value) { SetScheduleIdentifier(std::move(value)); return *this;}
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 
153  inline DescribeSnapshotSchedulesRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
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 
199  inline DescribeSnapshotSchedulesRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
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;
343 
344  Aws::String m_scheduleIdentifier;
345  bool m_scheduleIdentifierHasBeenSet;
346 
347  Aws::Vector<Aws::String> m_tagKeys;
348  bool m_tagKeysHasBeenSet;
349 
350  Aws::Vector<Aws::String> m_tagValues;
351  bool m_tagValuesHasBeenSet;
352 
353  Aws::String m_marker;
354  bool m_markerHasBeenSet;
355 
356  int m_maxRecords;
357  bool m_maxRecordsHasBeenSet;
358  };
359 
360 } // namespace Model
361 } // namespace Redshift
362 } // namespace Aws
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeSnapshotSchedulesRequest.h:44
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:56
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithMarker
DescribeSnapshotSchedulesRequest & WithMarker(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:300
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithScheduleIdentifier
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:122
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::AddTagValues
DescribeSnapshotSchedulesRequest & AddTagValues(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:214
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeSnapshotSchedulesRequest.h:194
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::AddTagKeys
DescribeSnapshotSchedulesRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:163
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetScheduleIdentifier
void SetScheduleIdentifier(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:107
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithTagValues
DescribeSnapshotSchedulesRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeSnapshotSchedulesRequest.h:204
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithTagKeys
DescribeSnapshotSchedulesRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeSnapshotSchedulesRequest.h:153
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithClusterIdentifier
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:86
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithMarker
DescribeSnapshotSchedulesRequest & WithMarker(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:290
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithScheduleIdentifier
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:127
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:250
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::AddTagValues
DescribeSnapshotSchedulesRequest & AddTagValues(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:219
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithTagKeys
DescribeSnapshotSchedulesRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeSnapshotSchedulesRequest.h:158
RedshiftRequest.h
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeSnapshotSchedulesRequest.h:319
AWSVector.h
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithClusterIdentifier
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:80
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeSnapshotSchedulesRequest.h:184
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::ScheduleIdentifierHasBeenSet
bool ScheduleIdentifierHasBeenSet() const
Definition: DescribeSnapshotSchedulesRequest.h:97
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeSnapshotSchedulesRequest.h:179
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeSnapshotSchedulesRequest.h:143
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeSnapshotSchedulesRequest.h:50
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetScheduleIdentifier
const Aws::String & GetScheduleIdentifier() const
Definition: DescribeSnapshotSchedulesRequest.h:92
AWSString.h
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeSnapshotSchedulesRequest.h:138
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeSnapshotSchedulesRequest.h:240
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::DescribeSnapshotSchedulesRequest
DescribeSnapshotSchedulesRequest()
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetScheduleIdentifier
void SetScheduleIdentifier(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:112
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeSnapshotSchedulesRequest.h:328
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithMaxRecords
DescribeSnapshotSchedulesRequest & WithMaxRecords(int value)
Definition: DescribeSnapshotSchedulesRequest.h:337
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest
Definition: DescribeSnapshotSchedulesRequest.h:23
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeSnapshotSchedulesRequest.h:133
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:260
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithScheduleIdentifier
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:117
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeSnapshotSchedulesRequest.h:310
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeSnapshotSchedulesRequest.h:189
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeSnapshotSchedulesRequest.h:148
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithTagValues
DescribeSnapshotSchedulesRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeSnapshotSchedulesRequest.h:199
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:270
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::AddTagKeys
DescribeSnapshotSchedulesRequest & AddTagKeys(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:173
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeSnapshotSchedulesRequest.h:68
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeSnapshotSchedulesRequest.h:230
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithMarker
DescribeSnapshotSchedulesRequest & WithMarker(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:280
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::AddTagKeys
DescribeSnapshotSchedulesRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeSnapshotSchedulesRequest.h:168
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SetScheduleIdentifier
void SetScheduleIdentifier(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:102
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::AddTagValues
DescribeSnapshotSchedulesRequest & AddTagValues(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:209
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeSnapshotSchedulesRequest.h:31
Aws::Redshift::Model::DescribeSnapshotSchedulesRequest::WithClusterIdentifier
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeSnapshotSchedulesRequest.h:74