AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeDBParametersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RDS {
17namespace Model {
18
22 public:
23 AWS_RDS_API DescribeDBParametersRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBParameters"; }
30
31 AWS_RDS_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
43 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
44 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
45 template <typename DBParameterGroupNameT = Aws::String>
46 void SetDBParameterGroupName(DBParameterGroupNameT&& value) {
47 m_dBParameterGroupNameHasBeenSet = true;
48 m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value);
49 }
50 template <typename DBParameterGroupNameT = Aws::String>
51 DescribeDBParametersRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) {
52 SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetSource() const { return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 template <typename SourceT = Aws::String>
65 void SetSource(SourceT&& value) {
66 m_sourceHasBeenSet = true;
67 m_source = std::forward<SourceT>(value);
68 }
69 template <typename SourceT = Aws::String>
71 SetSource(std::forward<SourceT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
83 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
84 template <typename FiltersT = Aws::Vector<Filter>>
85 void SetFilters(FiltersT&& value) {
86 m_filtersHasBeenSet = true;
87 m_filters = std::forward<FiltersT>(value);
88 }
89 template <typename FiltersT = Aws::Vector<Filter>>
91 SetFilters(std::forward<FiltersT>(value));
92 return *this;
93 }
94 template <typename FiltersT = Filter>
96 m_filtersHasBeenSet = true;
97 m_filters.emplace_back(std::forward<FiltersT>(value));
98 return *this;
99 }
101
103
110 inline int GetMaxRecords() const { return m_maxRecords; }
111 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
112 inline void SetMaxRecords(int value) {
113 m_maxRecordsHasBeenSet = true;
114 m_maxRecords = value;
115 }
117 SetMaxRecords(value);
118 return *this;
119 }
121
123
129 inline const Aws::String& GetMarker() const { return m_marker; }
130 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
131 template <typename MarkerT = Aws::String>
132 void SetMarker(MarkerT&& value) {
133 m_markerHasBeenSet = true;
134 m_marker = std::forward<MarkerT>(value);
135 }
136 template <typename MarkerT = Aws::String>
138 SetMarker(std::forward<MarkerT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_dBParameterGroupName;
144
145 Aws::String m_source;
146
147 Aws::Vector<Filter> m_filters;
148
149 int m_maxRecords{0};
150
151 Aws::String m_marker;
152 bool m_dBParameterGroupNameHasBeenSet = false;
153 bool m_sourceHasBeenSet = false;
154 bool m_filtersHasBeenSet = false;
155 bool m_maxRecordsHasBeenSet = false;
156 bool m_markerHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace RDS
161} // namespace Aws
DescribeDBParametersRequest & WithMarker(MarkerT &&value)
DescribeDBParametersRequest & WithMaxRecords(int value)
DescribeDBParametersRequest & AddFilters(FiltersT &&value)
DescribeDBParametersRequest & WithFilters(FiltersT &&value)
const Aws::Vector< Filter > & GetFilters() const
AWS_RDS_API DescribeDBParametersRequest()=default
DescribeDBParametersRequest & WithSource(SourceT &&value)
DescribeDBParametersRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDBParameterGroupName(DBParameterGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector