AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeDBInstancesRequest.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 "DescribeDBInstances"; }
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& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
51 
58  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
59 
66  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
67 
74  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
75 
82  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
83 
90  inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
91 
98  inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
99 
106  inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
107 
108 
126  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
127 
145  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
146 
164  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
165 
183  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
184 
202  inline DescribeDBInstancesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
203 
221  inline DescribeDBInstancesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
222 
240  inline DescribeDBInstancesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
241 
259  inline DescribeDBInstancesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
260 
261 
269  inline int GetMaxRecords() const{ return m_maxRecords; }
270 
278  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
279 
287  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
288 
296  inline DescribeDBInstancesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
297 
298 
305  inline const Aws::String& GetMarker() const{ return m_marker; }
306 
313  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
314 
321  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
322 
329  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
330 
337  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
338 
345  inline DescribeDBInstancesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
346 
353  inline DescribeDBInstancesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
354 
361  inline DescribeDBInstancesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
362 
363  private:
364 
365  Aws::String m_dBInstanceIdentifier;
366  bool m_dBInstanceIdentifierHasBeenSet;
367 
368  Aws::Vector<Filter> m_filters;
369  bool m_filtersHasBeenSet;
370 
371  int m_maxRecords;
372  bool m_maxRecordsHasBeenSet;
373 
374  Aws::String m_marker;
375  bool m_markerHasBeenSet;
376  };
377 
378 } // namespace Model
379 } // namespace RDS
380 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBInstancesRequest::AddFilters
DescribeDBInstancesRequest & AddFilters(Filter &&value)
Definition: DescribeDBInstancesRequest.h:259
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBInstancesRequest::WithFilters
DescribeDBInstancesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBInstancesRequest.h:202
Aws::RDS::Model::DescribeDBInstancesRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBInstancesRequest.h:287
Aws::RDS::Model::DescribeDBInstancesRequest::WithDBInstanceIdentifier
DescribeDBInstancesRequest & WithDBInstanceIdentifier(const char *value)
Definition: DescribeDBInstancesRequest.h:106
Aws::RDS::Model::DescribeDBInstancesRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:278
Aws::RDS::Model::DescribeDBInstancesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBInstancesRequest.h:126
Aws::RDS::Model::DescribeDBInstancesRequest::WithDBInstanceIdentifier
DescribeDBInstancesRequest & WithDBInstanceIdentifier(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:90
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBInstancesRequest::DescribeDBInstancesRequest
DescribeDBInstancesRequest()
AWSVector.h
Aws::RDS::Model::DescribeDBInstancesRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const char *value)
Definition: DescribeDBInstancesRequest.h:82
Aws::RDS::Model::DescribeDBInstancesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBInstancesRequest.h:164
Aws::RDS::Model::DescribeDBInstancesRequest::AddFilters
DescribeDBInstancesRequest & AddFilters(const Filter &value)
Definition: DescribeDBInstancesRequest.h:240
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBInstancesRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:74
Aws::RDS::Model::DescribeDBInstancesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBInstancesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:321
Aws::RDS::Model::DescribeDBInstancesRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBInstancesRequest.h:269
Aws::RDS::Model::DescribeDBInstancesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBInstancesRequest.h:305
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBInstancesRequest
Definition: DescribeDBInstancesRequest.h:27
Aws::RDS::Model::DescribeDBInstancesRequest::GetDBInstanceIdentifier
const Aws::String & GetDBInstanceIdentifier() const
Definition: DescribeDBInstancesRequest.h:50
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBInstancesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBInstancesRequest.h:337
Aws::RDS::Model::DescribeDBInstancesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:313
Aws::RDS::Model::DescribeDBInstancesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:145
Aws::RDS::Model::DescribeDBInstancesRequest::WithMaxRecords
DescribeDBInstancesRequest & WithMaxRecords(int value)
Definition: DescribeDBInstancesRequest.h:296
Aws::RDS::Model::DescribeDBInstancesRequest::WithMarker
DescribeDBInstancesRequest & WithMarker(const char *value)
Definition: DescribeDBInstancesRequest.h:361
Aws::RDS::Model::DescribeDBInstancesRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:66
Aws::RDS::Model::DescribeDBInstancesRequest::WithFilters
DescribeDBInstancesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBInstancesRequest.h:221
Aws::RDS::Model::DescribeDBInstancesRequest::DBInstanceIdentifierHasBeenSet
bool DBInstanceIdentifierHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBInstancesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:329
Aws::RDS::Model::DescribeDBInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBInstancesRequest.h:35
Aws::RDS::Model::DescribeDBInstancesRequest::WithMarker
DescribeDBInstancesRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:345
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DescribeDBInstancesRequest::WithMarker
DescribeDBInstancesRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:353
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBInstancesRequest::WithDBInstanceIdentifier
DescribeDBInstancesRequest & WithDBInstanceIdentifier(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:98
Aws::RDS::Model::DescribeDBInstancesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBInstancesRequest.h:183