AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeDBProxyTargetGroupsRequest.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 "DescribeDBProxyTargetGroups"; }
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& GetDBProxyName() const{ return m_dBProxyName; }
46 
51  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
52 
57  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
58 
63  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
64 
69  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
70 
75  inline DescribeDBProxyTargetGroupsRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
76 
81  inline DescribeDBProxyTargetGroupsRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
82 
87  inline DescribeDBProxyTargetGroupsRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
88 
89 
93  inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
94 
98  inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
99 
103  inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
104 
108  inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
109 
113  inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
114 
118  inline DescribeDBProxyTargetGroupsRequest& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;}
119 
123  inline DescribeDBProxyTargetGroupsRequest& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
124 
128  inline DescribeDBProxyTargetGroupsRequest& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
129 
130 
134  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
135 
139  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
140 
144  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
145 
149  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
150 
154  inline DescribeDBProxyTargetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
155 
159  inline DescribeDBProxyTargetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
160 
164  inline DescribeDBProxyTargetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
165 
169  inline DescribeDBProxyTargetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
170 
171 
177  inline const Aws::String& GetMarker() const{ return m_marker; }
178 
184  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
185 
191  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
192 
198  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
199 
205  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
206 
212  inline DescribeDBProxyTargetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
213 
219  inline DescribeDBProxyTargetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
220 
226  inline DescribeDBProxyTargetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
227 
228 
235  inline int GetMaxRecords() const{ return m_maxRecords; }
236 
243  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
244 
251  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
252 
259  inline DescribeDBProxyTargetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
260 
261  private:
262 
263  Aws::String m_dBProxyName;
264  bool m_dBProxyNameHasBeenSet;
265 
266  Aws::String m_targetGroupName;
267  bool m_targetGroupNameHasBeenSet;
268 
269  Aws::Vector<Filter> m_filters;
270  bool m_filtersHasBeenSet;
271 
272  Aws::String m_marker;
273  bool m_markerHasBeenSet;
274 
275  int m_maxRecords;
276  bool m_maxRecordsHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace RDS
281 } // namespace Aws
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithDBProxyName
DescribeDBProxyTargetGroupsRequest & WithDBProxyName(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:75
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetTargetGroupName
void SetTargetGroupName(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:108
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:191
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithMarker
DescribeDBProxyTargetGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:212
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBProxyTargetGroupsRequest.h:251
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:57
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:198
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::AddFilters
DescribeDBProxyTargetGroupsRequest & AddFilters(const Filter &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:164
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBProxyTargetGroupsRequest.h:139
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::AddFilters
DescribeDBProxyTargetGroupsRequest & AddFilters(Filter &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:169
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSVector.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:63
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: DescribeDBProxyTargetGroupsRequest.h:45
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithTargetGroupName
DescribeDBProxyTargetGroupsRequest & WithTargetGroupName(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:118
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::DescribeDBProxyTargetGroupsRequest
DescribeDBProxyTargetGroupsRequest()
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBProxyTargetGroupsRequest.h:235
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:144
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithFilters
DescribeDBProxyTargetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:154
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithMarker
DescribeDBProxyTargetGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:219
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBProxyTargetGroupsRequest.h:177
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithMarker
DescribeDBProxyTargetGroupsRequest & WithMarker(const char *value)
Definition: DescribeDBProxyTargetGroupsRequest.h:226
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBProxyTargetGroupsRequest.h:134
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithDBProxyName
DescribeDBProxyTargetGroupsRequest & WithDBProxyName(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:81
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithTargetGroupName
DescribeDBProxyTargetGroupsRequest & WithTargetGroupName(const char *value)
Definition: DescribeDBProxyTargetGroupsRequest.h:128
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithDBProxyName
DescribeDBProxyTargetGroupsRequest & WithDBProxyName(const char *value)
Definition: DescribeDBProxyTargetGroupsRequest.h:87
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBProxyTargetGroupsRequest.h:205
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: DescribeDBProxyTargetGroupsRequest.h:69
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetTargetGroupName
void SetTargetGroupName(const char *value)
Definition: DescribeDBProxyTargetGroupsRequest.h:113
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::TargetGroupNameHasBeenSet
bool TargetGroupNameHasBeenSet() const
Definition: DescribeDBProxyTargetGroupsRequest.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBProxyTargetGroupsRequest.h:32
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::GetTargetGroupName
const Aws::String & GetTargetGroupName() const
Definition: DescribeDBProxyTargetGroupsRequest.h:93
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:149
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBProxyTargetGroupsRequest.h:184
RDSRequest.h
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithTargetGroupName
DescribeDBProxyTargetGroupsRequest & WithTargetGroupName(Aws::String &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:123
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBProxyTargetGroupsRequest.h:243
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithFilters
DescribeDBProxyTargetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBProxyTargetGroupsRequest.h:159
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::SetTargetGroupName
void SetTargetGroupName(const Aws::String &value)
Definition: DescribeDBProxyTargetGroupsRequest.h:103
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: DescribeDBProxyTargetGroupsRequest.h:51
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest
Definition: DescribeDBProxyTargetGroupsRequest.h:24
Aws::RDS::Model::DescribeDBProxyTargetGroupsRequest::WithMaxRecords
DescribeDBProxyTargetGroupsRequest & WithMaxRecords(int value)
Definition: DescribeDBProxyTargetGroupsRequest.h:259