AWS SDK for C++  1.8.71
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 
577  inline bool GetIncludeShared() const{ return m_includeShared; }
578 
586  inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
587 
595  inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
596 
604  inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
605 
606 
614  inline bool GetIncludePublic() const{ return m_includePublic; }
615 
623  inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
624 
632  inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
633 
641  inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
642 
643  private:
644 
645  Aws::String m_dBClusterIdentifier;
646  bool m_dBClusterIdentifierHasBeenSet;
647 
648  Aws::String m_dBClusterSnapshotIdentifier;
649  bool m_dBClusterSnapshotIdentifierHasBeenSet;
650 
651  Aws::String m_snapshotType;
652  bool m_snapshotTypeHasBeenSet;
653 
654  Aws::Vector<Filter> m_filters;
655  bool m_filtersHasBeenSet;
656 
657  int m_maxRecords;
658  bool m_maxRecordsHasBeenSet;
659 
660  Aws::String m_marker;
661  bool m_markerHasBeenSet;
662 
663  bool m_includeShared;
664  bool m_includeSharedHasBeenSet;
665 
666  bool m_includePublic;
667  bool m_includePublicHasBeenSet;
668  };
669 
670 } // namespace Model
671 } // namespace RDS
672 } // namespace Aws
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const char *value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & AddFilters(Filter &&value)
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const char *value)
DescribeDBClusterSnapshotsRequest & WithMarker(const char *value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)