AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBClusterEndpointsRequest.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 
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 "DescribeDBClusterEndpoints"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
45  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
46 
51  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
52 
57  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
58 
63  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
64 
69  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
70 
75  inline DescribeDBClusterEndpointsRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
76 
81  inline DescribeDBClusterEndpointsRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
82 
87  inline DescribeDBClusterEndpointsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
88 
89 
94  inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
95 
100  inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
101 
106  inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
107 
112  inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
113 
118  inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
119 
124  inline DescribeDBClusterEndpointsRequest& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;}
125 
130  inline DescribeDBClusterEndpointsRequest& WithDBClusterEndpointIdentifier(Aws::String&& value) { SetDBClusterEndpointIdentifier(std::move(value)); return *this;}
131 
136  inline DescribeDBClusterEndpointsRequest& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;}
137 
138 
154  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
155 
171  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
172 
188  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
189 
205  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
206 
222  inline DescribeDBClusterEndpointsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
223 
239  inline DescribeDBClusterEndpointsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
240 
256  inline DescribeDBClusterEndpointsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
257 
273  inline DescribeDBClusterEndpointsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
274 
275 
282  inline int GetMaxRecords() const{ return m_maxRecords; }
283 
290  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
291 
298  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
299 
306  inline DescribeDBClusterEndpointsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
307 
308 
315  inline const Aws::String& GetMarker() const{ return m_marker; }
316 
323  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
324 
331  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
332 
339  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
340 
347  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
348 
355  inline DescribeDBClusterEndpointsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
356 
363  inline DescribeDBClusterEndpointsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
364 
371  inline DescribeDBClusterEndpointsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
372 
373  private:
374 
375  Aws::String m_dBClusterIdentifier;
376  bool m_dBClusterIdentifierHasBeenSet;
377 
378  Aws::String m_dBClusterEndpointIdentifier;
379  bool m_dBClusterEndpointIdentifierHasBeenSet;
380 
381  Aws::Vector<Filter> m_filters;
382  bool m_filtersHasBeenSet;
383 
384  int m_maxRecords;
385  bool m_maxRecordsHasBeenSet;
386 
387  Aws::String m_marker;
388  bool m_markerHasBeenSet;
389  };
390 
391 } // namespace Model
392 } // namespace RDS
393 } // namespace Aws
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithFilters
DescribeDBClusterEndpointsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBClusterEndpointsRequest.h:222
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: DescribeDBClusterEndpointsRequest.h:69
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::AddFilters
DescribeDBClusterEndpointsRequest & AddFilters(const Filter &value)
Definition: DescribeDBClusterEndpointsRequest.h:256
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBClusterEndpointsRequest.h:154
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithFilters
DescribeDBClusterEndpointsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBClusterEndpointsRequest.h:239
Aws::RDS::Model::DescribeDBClusterEndpointsRequest
Definition: DescribeDBClusterEndpointsRequest.h:24
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithDBClusterEndpointIdentifier
DescribeDBClusterEndpointsRequest & WithDBClusterEndpointIdentifier(const char *value)
Definition: DescribeDBClusterEndpointsRequest.h:136
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBClusterEndpointsRequest.h:339
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithDBClusterEndpointIdentifier
DescribeDBClusterEndpointsRequest & WithDBClusterEndpointIdentifier(Aws::String &&value)
Definition: DescribeDBClusterEndpointsRequest.h:130
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(Aws::String &&value)
Definition: DescribeDBClusterEndpointsRequest.h:112
AWSVector.h
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBClusterEndpointsRequest.h:32
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithMaxRecords
DescribeDBClusterEndpointsRequest & WithMaxRecords(int value)
Definition: DescribeDBClusterEndpointsRequest.h:306
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::GetDBClusterEndpointIdentifier
const Aws::String & GetDBClusterEndpointIdentifier() const
Definition: DescribeDBClusterEndpointsRequest.h:94
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBClusterEndpointsRequest.h:282
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(const char *value)
Definition: DescribeDBClusterEndpointsRequest.h:118
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithMarker
DescribeDBClusterEndpointsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBClusterEndpointsRequest.h:355
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithMarker
DescribeDBClusterEndpointsRequest & WithMarker(const char *value)
Definition: DescribeDBClusterEndpointsRequest.h:371
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBClusterEndpointsRequest.h:331
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithDBClusterIdentifier
DescribeDBClusterEndpointsRequest & WithDBClusterIdentifier(const char *value)
Definition: DescribeDBClusterEndpointsRequest.h:87
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBClusterEndpointsRequest.h:205
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBClusterEndpointsRequest.h:188
AWSString.h
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBClusterEndpointsRequest.h:171
Filter.h
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: DescribeDBClusterEndpointsRequest.h:57
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: DescribeDBClusterEndpointsRequest.h:45
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(const Aws::String &value)
Definition: DescribeDBClusterEndpointsRequest.h:106
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithMarker
DescribeDBClusterEndpointsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBClusterEndpointsRequest.h:363
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::DescribeDBClusterEndpointsRequest
DescribeDBClusterEndpointsRequest()
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::DBClusterIdentifierHasBeenSet
bool DBClusterIdentifierHasBeenSet() const
Definition: DescribeDBClusterEndpointsRequest.h:51
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::AddFilters
DescribeDBClusterEndpointsRequest & AddFilters(Filter &&value)
Definition: DescribeDBClusterEndpointsRequest.h:273
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: DescribeDBClusterEndpointsRequest.h:63
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBClusterEndpointsRequest.h:290
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::DBClusterEndpointIdentifierHasBeenSet
bool DBClusterEndpointIdentifierHasBeenSet() const
Definition: DescribeDBClusterEndpointsRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithDBClusterIdentifier
DescribeDBClusterEndpointsRequest & WithDBClusterIdentifier(const Aws::String &value)
Definition: DescribeDBClusterEndpointsRequest.h:75
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBClusterEndpointsRequest.h:315
RDSRequest.h
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBClusterEndpointsRequest.h:323
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithDBClusterIdentifier
DescribeDBClusterEndpointsRequest & WithDBClusterIdentifier(Aws::String &&value)
Definition: DescribeDBClusterEndpointsRequest.h:81
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBClusterEndpointsRequest.h:298
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::WithDBClusterEndpointIdentifier
DescribeDBClusterEndpointsRequest & WithDBClusterEndpointIdentifier(const Aws::String &value)
Definition: DescribeDBClusterEndpointsRequest.h:124
Aws::RDS::Model::DescribeDBClusterEndpointsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBClusterEndpointsRequest.h:347