AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeDBSubnetGroupsRequest.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DocDB
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_DOCDB_API DescribeDBSubnetGroupsRequest() = default;
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_DOCDB_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
49 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
50 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
51 template<typename DBSubnetGroupNameT = Aws::String>
52 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
53 template<typename DBSubnetGroupNameT = Aws::String>
54 DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) { SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value)); return *this;}
56
58
61 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 template<typename FiltersT = Aws::Vector<Filter>>
64 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
65 template<typename FiltersT = Aws::Vector<Filter>>
66 DescribeDBSubnetGroupsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
67 template<typename FiltersT = Filter>
68 DescribeDBSubnetGroupsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
70
72
78 inline int GetMaxRecords() const { return m_maxRecords; }
79 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
80 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
81 inline DescribeDBSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
83
85
90 inline const Aws::String& GetMarker() const { return m_marker; }
91 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
92 template<typename MarkerT = Aws::String>
93 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
94 template<typename MarkerT = Aws::String>
95 DescribeDBSubnetGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
97 private:
98
99 Aws::String m_dBSubnetGroupName;
100 bool m_dBSubnetGroupNameHasBeenSet = false;
101
102 Aws::Vector<Filter> m_filters;
103 bool m_filtersHasBeenSet = false;
104
105 int m_maxRecords{0};
106 bool m_maxRecordsHasBeenSet = false;
107
108 Aws::String m_marker;
109 bool m_markerHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace DocDB
114} // namespace Aws
DescribeDBSubnetGroupsRequest & AddFilters(FiltersT &&value)
AWS_DOCDB_API DescribeDBSubnetGroupsRequest()=default
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBSubnetGroupsRequest & WithFilters(FiltersT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
DescribeDBSubnetGroupsRequest & WithMaxRecords(int value)
DescribeDBSubnetGroupsRequest & WithMarker(MarkerT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector