AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeDBClustersRequest.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 "DescribeDBClusters"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
50  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
51 
58  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
59 
66  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
67 
74  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
75 
82  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
83 
90  inline DescribeDBClustersRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
91 
98  inline DescribeDBClustersRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
99 
106  inline DescribeDBClustersRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
107 
108 
123  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
124 
139  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
140 
155  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
156 
171  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
172 
187  inline DescribeDBClustersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
188 
203  inline DescribeDBClustersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
204 
219  inline DescribeDBClustersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
220 
235  inline DescribeDBClustersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
236 
237 
244  inline int GetMaxRecords() const{ return m_maxRecords; }
245 
252  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
253 
260  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
261 
268  inline DescribeDBClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
269 
270 
277  inline const Aws::String& GetMarker() const{ return m_marker; }
278 
285  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
286 
293  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
294 
301  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
302 
309  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
310 
317  inline DescribeDBClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
318 
325  inline DescribeDBClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
326 
333  inline DescribeDBClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
334 
335 
340  inline bool GetIncludeShared() const{ return m_includeShared; }
341 
346  inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
347 
352  inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
353 
358  inline DescribeDBClustersRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
359 
360  private:
361 
362  Aws::String m_dBClusterIdentifier;
363  bool m_dBClusterIdentifierHasBeenSet;
364 
365  Aws::Vector<Filter> m_filters;
366  bool m_filtersHasBeenSet;
367 
368  int m_maxRecords;
369  bool m_maxRecordsHasBeenSet;
370 
371  Aws::String m_marker;
372  bool m_markerHasBeenSet;
373 
374  bool m_includeShared;
375  bool m_includeSharedHasBeenSet;
376  };
377 
378 } // namespace Model
379 } // namespace RDS
380 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBClustersRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBClustersRequest.h:155
Aws::RDS::Model::DescribeDBClustersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBClustersRequest.h:301
Aws::RDS::Model::DescribeDBClustersRequest::WithFilters
DescribeDBClustersRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBClustersRequest.h:203
Aws::RDS::Model::DescribeDBClustersRequest::DBClusterIdentifierHasBeenSet
bool DBClusterIdentifierHasBeenSet() const
Definition: DescribeDBClustersRequest.h:58
Aws::RDS::Model::DescribeDBClustersRequest::WithIncludeShared
DescribeDBClustersRequest & WithIncludeShared(bool value)
Definition: DescribeDBClustersRequest.h:358
Aws::RDS::Model::DescribeDBClustersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBClustersRequest.h:293
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBClustersRequest::WithDBClusterIdentifier
DescribeDBClustersRequest & WithDBClusterIdentifier(Aws::String &&value)
Definition: DescribeDBClustersRequest.h:98
Aws::RDS::Model::DescribeDBClustersRequest::WithDBClusterIdentifier
DescribeDBClustersRequest & WithDBClusterIdentifier(const Aws::String &value)
Definition: DescribeDBClustersRequest.h:90
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBClustersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBClustersRequest.h:285
Aws::RDS::Model::DescribeDBClustersRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBClustersRequest.h:244
AWSVector.h
Aws::RDS::Model::DescribeDBClustersRequest::WithMaxRecords
DescribeDBClustersRequest & WithMaxRecords(int value)
Definition: DescribeDBClustersRequest.h:268
Aws::RDS::Model::DescribeDBClustersRequest::WithMarker
DescribeDBClustersRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBClustersRequest.h:325
Aws::RDS::Model::DescribeDBClustersRequest::IncludeSharedHasBeenSet
bool IncludeSharedHasBeenSet() const
Definition: DescribeDBClustersRequest.h:346
Aws::RDS::Model::DescribeDBClustersRequest::GetIncludeShared
bool GetIncludeShared() const
Definition: DescribeDBClustersRequest.h:340
Aws::RDS::Model::DescribeDBClustersRequest::AddFilters
DescribeDBClustersRequest & AddFilters(Filter &&value)
Definition: DescribeDBClustersRequest.h:235
Aws::RDS::Model::DescribeDBClustersRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBClustersRequest.h:123
RDS_EXPORTS.h
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBClustersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBClustersRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBClustersRequest.h:139
Aws::RDS::Model::DescribeDBClustersRequest::SetIncludeShared
void SetIncludeShared(bool value)
Definition: DescribeDBClustersRequest.h:352
Aws::RDS::Model::DescribeDBClustersRequest::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: DescribeDBClustersRequest.h:50
Aws::RDS::Model::DescribeDBClustersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::RDS::Model::DescribeDBClustersRequest::WithMarker
DescribeDBClustersRequest & WithMarker(const char *value)
Definition: DescribeDBClustersRequest.h:333
Aws::RDS::Model::DescribeDBClustersRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: DescribeDBClustersRequest.h:82
Filter.h
Aws::RDS::Model::DescribeDBClustersRequest
Definition: DescribeDBClustersRequest.h:27
Aws::RDS::Model::DescribeDBClustersRequest::WithFilters
DescribeDBClustersRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBClustersRequest.h:187
Aws::RDS::Model::DescribeDBClustersRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBClustersRequest.h:252
Aws::RDS::Model::DescribeDBClustersRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBClustersRequest.h:309
Aws::RDS::Model::DescribeDBClustersRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBClustersRequest.h:171
Aws::RDS::Model::DescribeDBClustersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBClustersRequest.h:35
Aws::RDS::Model::DescribeDBClustersRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: DescribeDBClustersRequest.h:66
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBClustersRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: DescribeDBClustersRequest.h:74
Aws::RDS::Model::DescribeDBClustersRequest::WithDBClusterIdentifier
DescribeDBClustersRequest & WithDBClusterIdentifier(const char *value)
Definition: DescribeDBClustersRequest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBClustersRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBClustersRequest.h:260
Aws::RDS::Model::DescribeDBClustersRequest::WithMarker
DescribeDBClustersRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBClustersRequest.h:317
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBClustersRequest::DescribeDBClustersRequest
DescribeDBClustersRequest()
Aws::RDS::Model::DescribeDBClustersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBClustersRequest.h:277
Aws::RDS::Model::DescribeDBClustersRequest::AddFilters
DescribeDBClustersRequest & AddFilters(const Filter &value)
Definition: DescribeDBClustersRequest.h:219