AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeDBClusterSnapshotsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace 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 "DescribeDBClusterSnapshots"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
51  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
52 
60  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
61 
69  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
70 
78  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
79 
87  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
88 
96  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
97 
105  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
106 
114  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
115 
116 
125  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
126 
135  inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
136 
145  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
146 
155  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
156 
165  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
166 
175  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
176 
185  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
186 
195  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
196 
197 
219  inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
220 
242  inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
243 
265  inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
266 
288  inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
289 
311  inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
312 
334  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
335 
357  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
358 
380  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
381 
382 
392  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
393 
403  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
404 
414  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
415 
425  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
426 
436  inline DescribeDBClusterSnapshotsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
437 
447  inline DescribeDBClusterSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
448 
458  inline DescribeDBClusterSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
459 
469  inline DescribeDBClusterSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
470 
471 
478  inline int GetMaxRecords() const{ return m_maxRecords; }
479 
486  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
487 
494  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
495 
502  inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
503 
504 
511  inline const Aws::String& GetMarker() const{ return m_marker; }
512 
519  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
520 
527  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
528 
535  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
536 
543  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
544 
551  inline DescribeDBClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
552 
559  inline DescribeDBClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
560 
567  inline DescribeDBClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
568 
569 
578  inline bool GetIncludeShared() const{ return m_includeShared; }
579 
588  inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
589 
598  inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
599 
608  inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
609 
610 
618  inline bool GetIncludePublic() const{ return m_includePublic; }
619 
627  inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
628 
636  inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
637 
645  inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
646 
647  private:
648 
649  Aws::String m_dBClusterIdentifier;
650  bool m_dBClusterIdentifierHasBeenSet;
651 
652  Aws::String m_dBClusterSnapshotIdentifier;
653  bool m_dBClusterSnapshotIdentifierHasBeenSet;
654 
655  Aws::String m_snapshotType;
656  bool m_snapshotTypeHasBeenSet;
657 
658  Aws::Vector<Filter> m_filters;
659  bool m_filtersHasBeenSet;
660 
661  int m_maxRecords;
662  bool m_maxRecordsHasBeenSet;
663 
664  Aws::String m_marker;
665  bool m_markerHasBeenSet;
666 
667  bool m_includeShared;
668  bool m_includeSharedHasBeenSet;
669 
670  bool m_includePublic;
671  bool m_includePublicHasBeenSet;
672  };
673 
674 } // namespace Model
675 } // namespace RDS
676 } // namespace Aws
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithDBClusterIdentifier
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:96
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::IncludeSharedHasBeenSet
bool IncludeSharedHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:588
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:165
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithDBClusterSnapshotIdentifier
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:175
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBClusterSnapshotsRequest.h:478
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:69
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBClusterSnapshotsRequest.h:414
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetSnapshotType
void SetSnapshotType(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:288
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:155
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithIncludeShared
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
Definition: DescribeDBClusterSnapshotsRequest.h:608
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::DBClusterIdentifierHasBeenSet
bool DBClusterIdentifierHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:60
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithMarker
DescribeDBClusterSnapshotsRequest & WithMarker(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:567
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:519
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithDBClusterSnapshotIdentifier
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:195
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithMarker
DescribeDBClusterSnapshotsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:551
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::AddFilters
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
Definition: DescribeDBClusterSnapshotsRequest.h:458
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::DBClusterSnapshotIdentifierHasBeenSet
bool DBClusterSnapshotIdentifierHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:135
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:543
AWSVector.h
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: DescribeDBClusterSnapshotsRequest.h:51
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetIncludePublic
void SetIncludePublic(bool value)
Definition: DescribeDBClusterSnapshotsRequest.h:636
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithDBClusterIdentifier
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:114
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:145
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:527
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SnapshotTypeHasBeenSet
bool SnapshotTypeHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:242
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithSnapshotType
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:380
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:403
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetIncludeShared
bool GetIncludeShared() const
Definition: DescribeDBClusterSnapshotsRequest.h:578
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithSnapshotType
DescribeDBClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:357
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBClusterSnapshotsRequest.h:494
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithIncludePublic
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
Definition: DescribeDBClusterSnapshotsRequest.h:645
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithDBClusterSnapshotIdentifier
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:185
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBClusterSnapshotsRequest.h:392
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest
Definition: DescribeDBClusterSnapshotsRequest.h:27
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetDBClusterSnapshotIdentifier
const Aws::String & GetDBClusterSnapshotIdentifier() const
Definition: DescribeDBClusterSnapshotsRequest.h:125
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetSnapshotType
const Aws::String & GetSnapshotType() const
Definition: DescribeDBClusterSnapshotsRequest.h:219
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetSnapshotType
void SetSnapshotType(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:265
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::IncludePublicHasBeenSet
bool IncludePublicHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:627
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::DescribeDBClusterSnapshotsRequest
DescribeDBClusterSnapshotsRequest()
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithSnapshotType
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsRequest.h:334
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:535
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithMarker
DescribeDBClusterSnapshotsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:559
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithFilters
DescribeDBClusterSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:447
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:425
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetIncludePublic
bool GetIncludePublic() const
Definition: DescribeDBClusterSnapshotsRequest.h:618
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::AddFilters
DescribeDBClusterSnapshotsRequest & AddFilters(Filter &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:469
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:87
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithDBClusterIdentifier
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:105
RDSRequest.h
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsRequest.h:78
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetSnapshotType
void SetSnapshotType(const char *value)
Definition: DescribeDBClusterSnapshotsRequest.h:311
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithFilters
DescribeDBClusterSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBClusterSnapshotsRequest.h:436
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBClusterSnapshotsRequest.h:35
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::SetIncludeShared
void SetIncludeShared(bool value)
Definition: DescribeDBClusterSnapshotsRequest.h:598
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::WithMaxRecords
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
Definition: DescribeDBClusterSnapshotsRequest.h:502
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBClusterSnapshotsRequest.h:511
Aws::RDS::Model::DescribeDBClusterSnapshotsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBClusterSnapshotsRequest.h:486