AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeClusterSnapshotsRequest.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace Redshift
18{
19namespace Model
20{
21
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 "DescribeClusterSnapshots"; }
37
39
40 protected:
41 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
48 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
49
53 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
54
58 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
59
63 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
64
68 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
69
74
79
83 inline DescribeClusterSnapshotsRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
84
85
90 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
91
96 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
97
102 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
103
108 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
109
114 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
115
121
127
132 inline DescribeClusterSnapshotsRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
133
134
139 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
140
145 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
146
151 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
152
157 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
158
163 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
164
169 inline DescribeClusterSnapshotsRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;}
170
175 inline DescribeClusterSnapshotsRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
176
181 inline DescribeClusterSnapshotsRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
182
183
189 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
190
196 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
197
203 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
204
210 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
211
217 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
218
225
231 inline DescribeClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
232
238 inline DescribeClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
239
240
247 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
248
255 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
256
263 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
264
271 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
272
280
287 inline DescribeClusterSnapshotsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
288
289
296 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
297
304 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
305
312 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
313
320 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
321
328 inline DescribeClusterSnapshotsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
329
336 inline DescribeClusterSnapshotsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
337
338
347 inline int GetMaxRecords() const{ return m_maxRecords; }
348
357 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
358
367 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
368
377 inline DescribeClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
378
379
388 inline const Aws::String& GetMarker() const{ return m_marker; }
389
398 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
399
408 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
409
418 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
419
428 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
429
438 inline DescribeClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
439
448 inline DescribeClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
449
458 inline DescribeClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
459
460
467 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
468
475 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
476
483 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
484
491 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
492
499 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
500
508
515 inline DescribeClusterSnapshotsRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
516
523 inline DescribeClusterSnapshotsRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
524
525
534 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
535
544 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
545
554 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
555
564 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
565
575
584 inline DescribeClusterSnapshotsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
585
594 inline DescribeClusterSnapshotsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
595
604 inline DescribeClusterSnapshotsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
605
614 inline DescribeClusterSnapshotsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
615
616
625 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
626
635 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
636
645 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
646
655 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
656
666
675 inline DescribeClusterSnapshotsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
676
685 inline DescribeClusterSnapshotsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
686
695 inline DescribeClusterSnapshotsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
696
705 inline DescribeClusterSnapshotsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
706
707
724 inline bool GetClusterExists() const{ return m_clusterExists; }
725
742 inline bool ClusterExistsHasBeenSet() const { return m_clusterExistsHasBeenSet; }
743
760 inline void SetClusterExists(bool value) { m_clusterExistsHasBeenSet = true; m_clusterExists = value; }
761
778 inline DescribeClusterSnapshotsRequest& WithClusterExists(bool value) { SetClusterExists(value); return *this;}
779
780
784 inline const Aws::Vector<SnapshotSortingEntity>& GetSortingEntities() const{ return m_sortingEntities; }
785
789 inline bool SortingEntitiesHasBeenSet() const { return m_sortingEntitiesHasBeenSet; }
790
794 inline void SetSortingEntities(const Aws::Vector<SnapshotSortingEntity>& value) { m_sortingEntitiesHasBeenSet = true; m_sortingEntities = value; }
795
799 inline void SetSortingEntities(Aws::Vector<SnapshotSortingEntity>&& value) { m_sortingEntitiesHasBeenSet = true; m_sortingEntities = std::move(value); }
800
805
810
814 inline DescribeClusterSnapshotsRequest& AddSortingEntities(const SnapshotSortingEntity& value) { m_sortingEntitiesHasBeenSet = true; m_sortingEntities.push_back(value); return *this; }
815
819 inline DescribeClusterSnapshotsRequest& AddSortingEntities(SnapshotSortingEntity&& value) { m_sortingEntitiesHasBeenSet = true; m_sortingEntities.push_back(std::move(value)); return *this; }
820
821 private:
822
823 Aws::String m_clusterIdentifier;
824 bool m_clusterIdentifierHasBeenSet = false;
825
826 Aws::String m_snapshotIdentifier;
827 bool m_snapshotIdentifierHasBeenSet = false;
828
829 Aws::String m_snapshotArn;
830 bool m_snapshotArnHasBeenSet = false;
831
832 Aws::String m_snapshotType;
833 bool m_snapshotTypeHasBeenSet = false;
834
835 Aws::Utils::DateTime m_startTime;
836 bool m_startTimeHasBeenSet = false;
837
838 Aws::Utils::DateTime m_endTime;
839 bool m_endTimeHasBeenSet = false;
840
841 int m_maxRecords;
842 bool m_maxRecordsHasBeenSet = false;
843
844 Aws::String m_marker;
845 bool m_markerHasBeenSet = false;
846
847 Aws::String m_ownerAccount;
848 bool m_ownerAccountHasBeenSet = false;
849
850 Aws::Vector<Aws::String> m_tagKeys;
851 bool m_tagKeysHasBeenSet = false;
852
853 Aws::Vector<Aws::String> m_tagValues;
854 bool m_tagValuesHasBeenSet = false;
855
856 bool m_clusterExists;
857 bool m_clusterExistsHasBeenSet = false;
858
859 Aws::Vector<SnapshotSortingEntity> m_sortingEntities;
860 bool m_sortingEntitiesHasBeenSet = false;
861 };
862
863} // namespace Model
864} // namespace Redshift
865} // namespace Aws
#define AWS_REDSHIFT_API
void SetSortingEntities(Aws::Vector< SnapshotSortingEntity > &&value)
void SetSortingEntities(const Aws::Vector< SnapshotSortingEntity > &value)
DescribeClusterSnapshotsRequest & WithMaxRecords(int value)
DescribeClusterSnapshotsRequest & WithMarker(const char *value)
DescribeClusterSnapshotsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClusterSnapshotsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeClusterSnapshotsRequest & AddTagValues(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithOwnerAccount(Aws::String &&value)
DescribeClusterSnapshotsRequest & AddTagValues(const Aws::String &value)
const Aws::Vector< SnapshotSortingEntity > & GetSortingEntities() const
DescribeClusterSnapshotsRequest & WithClusterExists(bool value)
DescribeClusterSnapshotsRequest & AddTagKeys(const char *value)
DescribeClusterSnapshotsRequest & WithSnapshotArn(const char *value)
DescribeClusterSnapshotsRequest & AddSortingEntities(const SnapshotSortingEntity &value)
DescribeClusterSnapshotsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeClusterSnapshotsRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeClusterSnapshotsRequest & WithClusterIdentifier(const Aws::String &value)
DescribeClusterSnapshotsRequest & AddTagKeys(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithSnapshotIdentifier(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterSnapshotsRequest & WithSnapshotIdentifier(Aws::String &&value)
void SetTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterSnapshotsRequest & WithSnapshotIdentifier(const char *value)
DescribeClusterSnapshotsRequest & WithSnapshotArn(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeClusterSnapshotsRequest & AddTagValues(const char *value)
DescribeClusterSnapshotsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeClusterSnapshotsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterSnapshotsRequest & WithClusterIdentifier(const char *value)
DescribeClusterSnapshotsRequest & WithOwnerAccount(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeClusterSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithClusterIdentifier(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithSnapshotArn(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithSnapshotType(const char *value)
DescribeClusterSnapshotsRequest & WithSortingEntities(Aws::Vector< SnapshotSortingEntity > &&value)
DescribeClusterSnapshotsRequest & AddSortingEntities(SnapshotSortingEntity &&value)
DescribeClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithSortingEntities(const Aws::Vector< SnapshotSortingEntity > &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterSnapshotsRequest & WithOwnerAccount(const char *value)
DescribeClusterSnapshotsRequest & AddTagKeys(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetTagValues(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector