AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeDBProxyTargetsRequest.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 "DescribeDBProxyTargets"; }
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 DescribeDBProxyTargetsRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
70 
74  inline DescribeDBProxyTargetsRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
75 
79  inline DescribeDBProxyTargetsRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
80 
81 
85  inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
86 
90  inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
91 
95  inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
96 
100  inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
101 
105  inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
106 
110  inline DescribeDBProxyTargetsRequest& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;}
111 
115  inline DescribeDBProxyTargetsRequest& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
116 
120  inline DescribeDBProxyTargetsRequest& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
121 
122 
126  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
127 
131  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
132 
136  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
137 
141  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
142 
146  inline DescribeDBProxyTargetsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
147 
151  inline DescribeDBProxyTargetsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
152 
156  inline DescribeDBProxyTargetsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
157 
161  inline DescribeDBProxyTargetsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
162 
163 
169  inline const Aws::String& GetMarker() const{ return m_marker; }
170 
176  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
177 
183  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
184 
190  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
191 
197  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
198 
204  inline DescribeDBProxyTargetsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
205 
211  inline DescribeDBProxyTargetsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
212 
218  inline DescribeDBProxyTargetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
219 
220 
227  inline int GetMaxRecords() const{ return m_maxRecords; }
228 
235  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
236 
243  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
244 
251  inline DescribeDBProxyTargetsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
252 
253  private:
254 
255  Aws::String m_dBProxyName;
256  bool m_dBProxyNameHasBeenSet;
257 
258  Aws::String m_targetGroupName;
259  bool m_targetGroupNameHasBeenSet;
260 
261  Aws::Vector<Filter> m_filters;
262  bool m_filtersHasBeenSet;
263 
264  Aws::String m_marker;
265  bool m_markerHasBeenSet;
266 
267  int m_maxRecords;
268  bool m_maxRecordsHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace RDS
273 } // namespace Aws
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithTargetGroupName
DescribeDBProxyTargetsRequest & WithTargetGroupName(const char *value)
Definition: DescribeDBProxyTargetsRequest.h:120
Aws::RDS::Model::DescribeDBProxyTargetsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBProxyTargetsRequest.h:126
Aws::RDS::Model::DescribeDBProxyTargetsRequest::TargetGroupNameHasBeenSet
bool TargetGroupNameHasBeenSet() const
Definition: DescribeDBProxyTargetsRequest.h:90
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBProxyTargetsRequest::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: DescribeDBProxyTargetsRequest.h:44
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetTargetGroupName
void SetTargetGroupName(const Aws::String &value)
Definition: DescribeDBProxyTargetsRequest.h:95
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithDBProxyName
DescribeDBProxyTargetsRequest & WithDBProxyName(Aws::String &&value)
Definition: DescribeDBProxyTargetsRequest.h:74
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBProxyTargetsRequest.h:136
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithMarker
DescribeDBProxyTargetsRequest & WithMarker(const char *value)
Definition: DescribeDBProxyTargetsRequest.h:218
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithDBProxyName
DescribeDBProxyTargetsRequest & WithDBProxyName(const char *value)
Definition: DescribeDBProxyTargetsRequest.h:79
Aws::RDS::Model::DescribeDBProxyTargetsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBProxyTargetsRequest.h:131
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithMaxRecords
DescribeDBProxyTargetsRequest & WithMaxRecords(int value)
Definition: DescribeDBProxyTargetsRequest.h:251
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithMarker
DescribeDBProxyTargetsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetsRequest.h:204
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithFilters
DescribeDBProxyTargetsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBProxyTargetsRequest.h:151
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetTargetGroupName
void SetTargetGroupName(Aws::String &&value)
Definition: DescribeDBProxyTargetsRequest.h:100
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithFilters
DescribeDBProxyTargetsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBProxyTargetsRequest.h:146
AWSVector.h
Aws::RDS::Model::DescribeDBProxyTargetsRequest
Definition: DescribeDBProxyTargetsRequest.h:24
Aws::RDS::Model::DescribeDBProxyTargetsRequest::GetTargetGroupName
const Aws::String & GetTargetGroupName() const
Definition: DescribeDBProxyTargetsRequest.h:85
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBProxyTargetsRequest.h:243
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetTargetGroupName
void SetTargetGroupName(const char *value)
Definition: DescribeDBProxyTargetsRequest.h:105
Aws::RDS::Model::DescribeDBProxyTargetsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBProxyTargetsRequest.h:169
RDS_EXPORTS.h
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithTargetGroupName
DescribeDBProxyTargetsRequest & WithTargetGroupName(const Aws::String &value)
Definition: DescribeDBProxyTargetsRequest.h:110
Aws::RDS::Model::DescribeDBProxyTargetsRequest::DescribeDBProxyTargetsRequest
DescribeDBProxyTargetsRequest()
Aws::RDS::Model::DescribeDBProxyTargetsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBProxyTargetsRequest.h:235
Aws::RDS::Model::DescribeDBProxyTargetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBProxyTargetsRequest.h:32
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithMarker
DescribeDBProxyTargetsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetsRequest.h:211
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: DescribeDBProxyTargetsRequest.h:59
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetsRequest.h:183
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithDBProxyName
DescribeDBProxyTargetsRequest & WithDBProxyName(const Aws::String &value)
Definition: DescribeDBProxyTargetsRequest.h:69
Aws::RDS::Model::DescribeDBProxyTargetsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBProxyTargetsRequest.h:141
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: DescribeDBProxyTargetsRequest.h:54
Aws::RDS::Model::DescribeDBProxyTargetsRequest::AddFilters
DescribeDBProxyTargetsRequest & AddFilters(Filter &&value)
Definition: DescribeDBProxyTargetsRequest.h:161
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: DescribeDBProxyTargetsRequest.h:64
Aws::RDS::Model::DescribeDBProxyTargetsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBProxyTargetsRequest.h:176
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetsRequest.h:190
Aws::RDS::Model::DescribeDBProxyTargetsRequest::AddFilters
DescribeDBProxyTargetsRequest & AddFilters(const Filter &value)
Definition: DescribeDBProxyTargetsRequest.h:156
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBProxyTargetsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBProxyTargetsRequest.h:227
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBProxyTargetsRequest::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: DescribeDBProxyTargetsRequest.h:49
Aws::RDS::Model::DescribeDBProxyTargetsRequest::WithTargetGroupName
DescribeDBProxyTargetsRequest & WithTargetGroupName(Aws::String &&value)
Definition: DescribeDBProxyTargetsRequest.h:115
Aws::RDS::Model::DescribeDBProxyTargetsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBProxyTargetsRequest.h:197