AWS SDK for C++  1.8.71
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 
44  inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
45 
49  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
50 
54  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
55 
59  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
60 
64  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
65 
69  inline DescribeDBProxiesRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
70 
74  inline DescribeDBProxiesRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
75 
79  inline DescribeDBProxiesRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
80 
81 
85  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
86 
90  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
91 
95  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
96 
100  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
101 
105  inline DescribeDBProxiesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
106 
110  inline DescribeDBProxiesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
111 
115  inline DescribeDBProxiesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
116 
120  inline DescribeDBProxiesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
121 
122 
128  inline const Aws::String& GetMarker() const{ return m_marker; }
129 
135  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
136 
142  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
143 
149  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
150 
156  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
157 
163  inline DescribeDBProxiesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
164 
170  inline DescribeDBProxiesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
171 
177  inline DescribeDBProxiesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
178 
179 
186  inline int GetMaxRecords() const{ return m_maxRecords; }
187 
194  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
195 
202  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
203 
210  inline DescribeDBProxiesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
211 
212  private:
213 
214  Aws::String m_dBProxyName;
215  bool m_dBProxyNameHasBeenSet;
216 
217  Aws::Vector<Filter> m_filters;
218  bool m_filtersHasBeenSet;
219 
220  Aws::String m_marker;
221  bool m_markerHasBeenSet;
222 
223  int m_maxRecords;
224  bool m_maxRecordsHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace RDS
229 } // namespace Aws
DescribeDBProxiesRequest & WithMarker(const char *value)
const Aws::Vector< Filter > & GetFilters() const
virtual const char * GetServiceRequestName() const override
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
void SetFilters(Aws::Vector< Filter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeDBProxiesRequest & AddFilters(const Filter &value)
DescribeDBProxiesRequest & WithMaxRecords(int value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBProxiesRequest & WithMarker(Aws::String &&value)
DescribeDBProxiesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBProxiesRequest & WithMarker(const Aws::String &value)
DescribeDBProxiesRequest & WithDBProxyName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBProxiesRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBProxiesRequest & AddFilters(Filter &&value)
DescribeDBProxiesRequest & WithDBProxyName(Aws::String &&value)
DescribeDBProxiesRequest & WithDBProxyName(const Aws::String &value)