AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeDBProxiesRequest.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 "DescribeDBProxies"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
46  inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
47 
53  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
54 
60  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
61 
67  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
68 
74  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
75 
81  inline DescribeDBProxiesRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
82 
88  inline DescribeDBProxiesRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
89 
95  inline DescribeDBProxiesRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
96 
97 
101  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
102 
106  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
107 
111  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
112 
116  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
117 
121  inline DescribeDBProxiesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
122 
126  inline DescribeDBProxiesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
127 
131  inline DescribeDBProxiesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
132 
136  inline DescribeDBProxiesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
137 
138 
144  inline const Aws::String& GetMarker() const{ return m_marker; }
145 
151  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
152 
158  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
159 
165  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
166 
172  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
173 
179  inline DescribeDBProxiesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
180 
186  inline DescribeDBProxiesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
187 
193  inline DescribeDBProxiesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
194 
195 
202  inline int GetMaxRecords() const{ return m_maxRecords; }
203 
210  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
211 
218  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
219 
226  inline DescribeDBProxiesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
227 
228  private:
229 
230  Aws::String m_dBProxyName;
231  bool m_dBProxyNameHasBeenSet;
232 
233  Aws::Vector<Filter> m_filters;
234  bool m_filtersHasBeenSet;
235 
236  Aws::String m_marker;
237  bool m_markerHasBeenSet;
238 
239  int m_maxRecords;
240  bool m_maxRecordsHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace RDS
245 } // namespace Aws
Aws::RDS::Model::DescribeDBProxiesRequest::AddFilters
DescribeDBProxiesRequest & AddFilters(Filter &&value)
Definition: DescribeDBProxiesRequest.h:136
Aws::RDS::Model::DescribeDBProxiesRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBProxiesRequest.h:202
Aws::RDS::Model::DescribeDBProxiesRequest::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: DescribeDBProxiesRequest.h:53
Aws::RDS::Model::DescribeDBProxiesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBProxiesRequest.h:101
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBProxiesRequest::WithMarker
DescribeDBProxiesRequest & WithMarker(const char *value)
Definition: DescribeDBProxiesRequest.h:193
Aws::RDS::Model::DescribeDBProxiesRequest::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: DescribeDBProxiesRequest.h:46
Aws::RDS::Model::DescribeDBProxiesRequest::WithDBProxyName
DescribeDBProxiesRequest & WithDBProxyName(Aws::String &&value)
Definition: DescribeDBProxiesRequest.h:88
Aws::RDS::Model::DescribeDBProxiesRequest::WithDBProxyName
DescribeDBProxiesRequest & WithDBProxyName(const char *value)
Definition: DescribeDBProxiesRequest.h:95
Aws::RDS::Model::DescribeDBProxiesRequest::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: DescribeDBProxiesRequest.h:67
Aws::RDS::Model::DescribeDBProxiesRequest
Definition: DescribeDBProxiesRequest.h:24
Aws::RDS::Model::DescribeDBProxiesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBProxiesRequest.h:151
Aws::RDS::Model::DescribeDBProxiesRequest::WithFilters
DescribeDBProxiesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBProxiesRequest.h:121
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBProxiesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBProxiesRequest.h:158
Aws::RDS::Model::DescribeDBProxiesRequest::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: DescribeDBProxiesRequest.h:60
Aws::RDS::Model::DescribeDBProxiesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBProxiesRequest.h:172
Aws::RDS::Model::DescribeDBProxiesRequest::WithFilters
DescribeDBProxiesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBProxiesRequest.h:126
Aws::RDS::Model::DescribeDBProxiesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBProxiesRequest.h:106
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RDS::Model::DescribeDBProxiesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBProxiesRequest.h:165
Aws::RDS::Model::DescribeDBProxiesRequest::WithMaxRecords
DescribeDBProxiesRequest & WithMaxRecords(int value)
Definition: DescribeDBProxiesRequest.h:226
Aws::RDS::Model::DescribeDBProxiesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBProxiesRequest.h:111
Aws::RDS::Model::DescribeDBProxiesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBProxiesRequest.h:144
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBProxiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBProxiesRequest::AddFilters
DescribeDBProxiesRequest & AddFilters(const Filter &value)
Definition: DescribeDBProxiesRequest.h:131
Aws::RDS::Model::DescribeDBProxiesRequest::WithMarker
DescribeDBProxiesRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBProxiesRequest.h:186
Aws::RDS::Model::DescribeDBProxiesRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBProxiesRequest.h:218
Aws::RDS::Model::DescribeDBProxiesRequest::DescribeDBProxiesRequest
DescribeDBProxiesRequest()
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBProxiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBProxiesRequest.h:32
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBProxiesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBProxiesRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBProxiesRequest::WithMarker
DescribeDBProxiesRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBProxiesRequest.h:179
Aws::RDS::Model::DescribeDBProxiesRequest::WithDBProxyName
DescribeDBProxiesRequest & WithDBProxyName(const Aws::String &value)
Definition: DescribeDBProxiesRequest.h:81
Aws::RDS::Model::DescribeDBProxiesRequest::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: DescribeDBProxiesRequest.h:74
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBProxiesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeDBProxiesRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBProxiesRequest.h:210