AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBSubnetGroupsRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBSubnetGroups"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
48 
52  inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
53 
57  inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
58 
62  inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
63 
67  inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
68 
72  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;}
73 
77  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
78 
82  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
83 
84 
88  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
89 
93  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
94 
98  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
99 
103  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
104 
108  inline DescribeDBSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
109 
113  inline DescribeDBSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
114 
118  inline DescribeDBSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
119 
123  inline DescribeDBSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
124 
125 
133  inline int GetMaxRecords() const{ return m_maxRecords; }
134 
142  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
143 
151  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
152 
160  inline DescribeDBSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
161 
162 
168  inline const Aws::String& GetMarker() const{ return m_marker; }
169 
175  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
176 
182  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
183 
189  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
190 
196  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
197 
203  inline DescribeDBSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
204 
210  inline DescribeDBSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
211 
217  inline DescribeDBSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
218 
219  private:
220 
221  Aws::String m_dBSubnetGroupName;
222  bool m_dBSubnetGroupNameHasBeenSet;
223 
224  Aws::Vector<Filter> m_filters;
225  bool m_filtersHasBeenSet;
226 
227  int m_maxRecords;
228  bool m_maxRecordsHasBeenSet;
229 
230  Aws::String m_marker;
231  bool m_markerHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace RDS
236 } // namespace Aws
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::AddFilters
DescribeDBSubnetGroupsRequest & AddFilters(Filter &&value)
Definition: DescribeDBSubnetGroupsRequest.h:123
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:196
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:142
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:93
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:57
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithDBSubnetGroupName
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:82
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithDBSubnetGroupName
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:77
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::GetDBSubnetGroupName
const Aws::String & GetDBSubnetGroupName() const
Definition: DescribeDBSubnetGroupsRequest.h:47
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBSubnetGroupsRequest.h:133
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBSubnetGroupsRequest.h:98
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBSubnetGroupsRequest
Definition: DescribeDBSubnetGroupsRequest.h:27
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::DBSubnetGroupNameHasBeenSet
bool DBSubnetGroupNameHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:52
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:175
AWSVector.h
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBSubnetGroupsRequest.h:168
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithDBSubnetGroupName
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:72
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBSubnetGroupsRequest.h:151
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithFilters
DescribeDBSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBSubnetGroupsRequest.h:108
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBSubnetGroupsRequest.h:103
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithFilters
DescribeDBSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBSubnetGroupsRequest.h:113
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBSubnetGroupsRequest.h:35
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithMarker
DescribeDBSubnetGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:203
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithMarker
DescribeDBSubnetGroupsRequest & WithMarker(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:217
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithMarker
DescribeDBSubnetGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:210
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:189
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:67
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::AddFilters
DescribeDBSubnetGroupsRequest & AddFilters(const Filter &value)
Definition: DescribeDBSubnetGroupsRequest.h:118
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:182
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBSubnetGroupsRequest.h:88
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::DescribeDBSubnetGroupsRequest
DescribeDBSubnetGroupsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::WithMaxRecords
DescribeDBSubnetGroupsRequest & WithMaxRecords(int value)
Definition: DescribeDBSubnetGroupsRequest.h:160
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:62
Aws::RDS::Model::DescribeDBSubnetGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override