AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeDBClustersRequest.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 "DescribeDBClusters"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
48 
55  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
56 
63  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
64 
71  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
72 
79  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
80 
87  inline DescribeDBClustersRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
88 
95  inline DescribeDBClustersRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
96 
103  inline DescribeDBClustersRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
104 
105 
117  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
118 
130  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
131 
143  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
144 
156  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
157 
169  inline DescribeDBClustersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
170 
182  inline DescribeDBClustersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
183 
195  inline DescribeDBClustersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
196 
208  inline DescribeDBClustersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
209 
210 
217  inline int GetMaxRecords() const{ return m_maxRecords; }
218 
225  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
226 
233  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
234 
241  inline DescribeDBClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
242 
243 
249  inline const Aws::String& GetMarker() const{ return m_marker; }
250 
256  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
257 
263  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
264 
270  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
271 
277  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
278 
284  inline DescribeDBClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
285 
291  inline DescribeDBClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
292 
298  inline DescribeDBClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
299 
300  private:
301 
302  Aws::String m_dBClusterIdentifier;
303  bool m_dBClusterIdentifierHasBeenSet;
304 
305  Aws::Vector<Filter> m_filters;
306  bool m_filtersHasBeenSet;
307 
308  int m_maxRecords;
309  bool m_maxRecordsHasBeenSet;
310 
311  Aws::String m_marker;
312  bool m_markerHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace Neptune
317 } // namespace Aws
virtual const char * GetServiceRequestName() const override
#define AWS_NEPTUNE_API
DescribeDBClustersRequest & WithDBClusterIdentifier(const char *value)
DescribeDBClustersRequest & AddFilters(const Filter &value)
DescribeDBClustersRequest & WithFilters(Aws::Vector< Filter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeDBClustersRequest & AddFilters(Filter &&value)
DescribeDBClustersRequest & WithMaxRecords(int value)
DescribeDBClustersRequest & WithMarker(const Aws::String &value)
const Aws::Vector< Filter > & GetFilters() const
DescribeDBClustersRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClustersRequest & WithDBClusterIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClustersRequest & WithMarker(const char *value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBClustersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClustersRequest & WithMarker(Aws::String &&value)