AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeDBClusterSnapshotsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Neptune
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterSnapshots"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
48  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
49 
57  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
58 
66  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
67 
75  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
76 
84  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
85 
93  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
94 
102  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
103 
111  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
112 
113 
122  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
123 
132  inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
133 
142  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
143 
152  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
153 
162  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
163 
172  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
173 
182  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
183 
192  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
193 
194 
217  inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
218 
241  inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
242 
265  inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
266 
289  inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
290 
313  inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
314 
337  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
338 
361  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
362 
385  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
386 
387 
391  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
392 
396  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
397 
401  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
402 
406  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
407 
411  inline DescribeDBClusterSnapshotsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
412 
416  inline DescribeDBClusterSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
417 
421  inline DescribeDBClusterSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
422 
426  inline DescribeDBClusterSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
427 
428 
435  inline int GetMaxRecords() const{ return m_maxRecords; }
436 
443  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
444 
451  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
452 
459  inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
460 
461 
468  inline const Aws::String& GetMarker() const{ return m_marker; }
469 
476  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
477 
484  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
485 
492  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
493 
500  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
501 
508  inline DescribeDBClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
509 
516  inline DescribeDBClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
517 
524  inline DescribeDBClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
525 
526 
534  inline bool GetIncludeShared() const{ return m_includeShared; }
535 
543  inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
544 
552  inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
553 
561  inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
562 
563 
571  inline bool GetIncludePublic() const{ return m_includePublic; }
572 
580  inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
581 
589  inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
590 
598  inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
599 
600  private:
601 
602  Aws::String m_dBClusterIdentifier;
603  bool m_dBClusterIdentifierHasBeenSet;
604 
605  Aws::String m_dBClusterSnapshotIdentifier;
606  bool m_dBClusterSnapshotIdentifierHasBeenSet;
607 
608  Aws::String m_snapshotType;
609  bool m_snapshotTypeHasBeenSet;
610 
611  Aws::Vector<Filter> m_filters;
612  bool m_filtersHasBeenSet;
613 
614  int m_maxRecords;
615  bool m_maxRecordsHasBeenSet;
616 
617  Aws::String m_marker;
618  bool m_markerHasBeenSet;
619 
620  bool m_includeShared;
621  bool m_includeSharedHasBeenSet;
622 
623  bool m_includePublic;
624  bool m_includePublicHasBeenSet;
625  };
626 
627 } // namespace Model
628 } // namespace Neptune
629 } // namespace Aws
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
#define AWS_NEPTUNE_API
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & AddFilters(Filter &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterSnapshotsRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const char *value)
DescribeDBClusterSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const char *value)