AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDBClusterSnapshotsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
17 #include <aws/rds/RDSRequest.h>
20 #include <aws/rds/model/Filter.h>
21 
22 namespace Aws
23 {
24 namespace RDS
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
47  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
48 
58  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
59 
69  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
70 
80  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
81 
91  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
92 
102  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(value); return *this;}
103 
113  inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
114 
125  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
126 
137  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
138 
149  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
150 
161  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
162 
173  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
174 
185  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
186 
197  inline DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
198 
221  inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
222 
245  inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
246 
269  inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
270 
293  inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
294 
317  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
318 
341  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(value); return *this;}
342 
365  inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
366 
370  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
371 
375  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
376 
380  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
381 
385  inline DescribeDBClusterSnapshotsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
386 
390  inline DescribeDBClusterSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
391 
395  inline DescribeDBClusterSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
396 
400  inline DescribeDBClusterSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
401 
408  inline int GetMaxRecords() const{ return m_maxRecords; }
409 
416  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
417 
424  inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
425 
432  inline const Aws::String& GetMarker() const{ return m_marker; }
433 
440  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
441 
448  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
449 
456  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
457 
464  inline DescribeDBClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
465 
472  inline DescribeDBClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
473 
480  inline DescribeDBClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
481 
490  inline bool GetIncludeShared() const{ return m_includeShared; }
491 
500  inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
501 
510  inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
511 
519  inline bool GetIncludePublic() const{ return m_includePublic; }
520 
528  inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
529 
537  inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
538 
539  private:
540  Aws::String m_dBClusterIdentifier;
541  bool m_dBClusterIdentifierHasBeenSet;
542  Aws::String m_dBClusterSnapshotIdentifier;
543  bool m_dBClusterSnapshotIdentifierHasBeenSet;
544  Aws::String m_snapshotType;
545  bool m_snapshotTypeHasBeenSet;
546  Aws::Vector<Filter> m_filters;
547  bool m_filtersHasBeenSet;
548  int m_maxRecords;
549  bool m_maxRecordsHasBeenSet;
550  Aws::String m_marker;
551  bool m_markerHasBeenSet;
552  bool m_includeShared;
553  bool m_includeSharedHasBeenSet;
554  bool m_includePublic;
555  bool m_includePublicHasBeenSet;
556  };
557 
558 } // namespace Model
559 } // namespace RDS
560 } // namespace Aws
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
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:27
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)
JSON (JavaScript Object Notation).
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)