AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeDBSubnetGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/docdb/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DocDB
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBSubnetGroups"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
48  inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
49 
53  inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
54 
58  inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
59 
63  inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
64 
68  inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
69 
73  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;}
74 
78  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
79 
83  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
84 
85 
89  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
90 
94  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
95 
99  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
100 
104  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
105 
109  inline DescribeDBSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
110 
114  inline DescribeDBSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
115 
119  inline DescribeDBSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
120 
124  inline DescribeDBSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
125 
126 
133  inline int GetMaxRecords() const{ return m_maxRecords; }
134 
141  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
142 
149  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
150 
157  inline DescribeDBSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
158 
159 
165  inline const Aws::String& GetMarker() const{ return m_marker; }
166 
172  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
173 
179  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
180 
186  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
187 
193  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
194 
200  inline DescribeDBSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
201 
207  inline DescribeDBSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
208 
214  inline DescribeDBSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
215 
216  private:
217 
218  Aws::String m_dBSubnetGroupName;
219  bool m_dBSubnetGroupNameHasBeenSet;
220 
221  Aws::Vector<Filter> m_filters;
222  bool m_filtersHasBeenSet;
223 
224  int m_maxRecords;
225  bool m_maxRecordsHasBeenSet;
226 
227  Aws::String m_marker;
228  bool m_markerHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace DocDB
233 } // namespace Aws
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithMaxRecords
DescribeDBSubnetGroupsRequest & WithMaxRecords(int value)
Definition: DescribeDBSubnetGroupsRequest.h:157
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithFilters
DescribeDBSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBSubnetGroupsRequest.h:114
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:186
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::AddFilters
DescribeDBSubnetGroupsRequest & AddFilters(const Filter &value)
Definition: DescribeDBSubnetGroupsRequest.h:119
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBSubnetGroupsRequest.h:99
DocDBRequest.h
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:141
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBSubnetGroupsRequest.h:89
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithDBSubnetGroupName
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:73
Filter.h
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithMarker
DescribeDBSubnetGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:200
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBSubnetGroupsRequest.h:104
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:172
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithDBSubnetGroupName
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:83
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithDBSubnetGroupName
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:78
AWSVector.h
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest
Definition: DescribeDBSubnetGroupsRequest.h:28
AWS_DOCDB_API
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBSubnetGroupsRequest.h:36
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:94
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::GetDBSubnetGroupName
const Aws::String & GetDBSubnetGroupName() const
Definition: DescribeDBSubnetGroupsRequest.h:48
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::DescribeDBSubnetGroupsRequest
DescribeDBSubnetGroupsRequest()
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBSubnetGroupsRequest.h:133
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithFilters
DescribeDBSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBSubnetGroupsRequest.h:109
AWSString.h
DocDB_EXPORTS.h
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBSubnetGroupsRequest.h:149
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:68
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBSubnetGroupsRequest.h:179
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBSubnetGroupsRequest.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:63
Aws::DocDB::DocDBRequest
Definition: DocDBRequest.h:17
Aws::DocDB::Model::Filter
Definition: Filter.h:35
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::DBSubnetGroupNameHasBeenSet
bool DBSubnetGroupNameHasBeenSet() const
Definition: DescribeDBSubnetGroupsRequest.h:53
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithMarker
DescribeDBSubnetGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBSubnetGroupsRequest.h:207
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:193
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::WithMarker
DescribeDBSubnetGroupsRequest & WithMarker(const char *value)
Definition: DescribeDBSubnetGroupsRequest.h:214
Aws::DocDB::Model::DescribeDBSubnetGroupsRequest::AddFilters
DescribeDBSubnetGroupsRequest & AddFilters(Filter &&value)
Definition: DescribeDBSubnetGroupsRequest.h:124