AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
25 public:
26 AWS_RDS_API DescribeDBParametersRequest() = default;
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 "DescribeDBParameters"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
46 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
47 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
48 template <typename DBParameterGroupNameT = Aws::String>
49 void SetDBParameterGroupName(DBParameterGroupNameT&& value) {
50 m_dBParameterGroupNameHasBeenSet = true;
51 m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value);
52 }
53 template <typename DBParameterGroupNameT = Aws::String>
54 DescribeDBParametersRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) {
55 SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetSource() const { return m_source; }
66 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
67 template <typename SourceT = Aws::String>
68 void SetSource(SourceT&& value) {
69 m_sourceHasBeenSet = true;
70 m_source = std::forward<SourceT>(value);
71 }
72 template <typename SourceT = Aws::String>
74 SetSource(std::forward<SourceT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
86 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
87 template <typename FiltersT = Aws::Vector<Filter>>
88 void SetFilters(FiltersT&& value) {
89 m_filtersHasBeenSet = true;
90 m_filters = std::forward<FiltersT>(value);
91 }
92 template <typename FiltersT = Aws::Vector<Filter>>
94 SetFilters(std::forward<FiltersT>(value));
95 return *this;
96 }
97 template <typename FiltersT = Filter>
99 m_filtersHasBeenSet = true;
100 m_filters.emplace_back(std::forward<FiltersT>(value));
101 return *this;
102 }
104
106
113 inline int GetMaxRecords() const { return m_maxRecords; }
114 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
115 inline void SetMaxRecords(int value) {
116 m_maxRecordsHasBeenSet = true;
117 m_maxRecords = value;
118 }
120 SetMaxRecords(value);
121 return *this;
122 }
124
126
132 inline const Aws::String& GetMarker() const { return m_marker; }
133 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
134 template <typename MarkerT = Aws::String>
135 void SetMarker(MarkerT&& value) {
136 m_markerHasBeenSet = true;
137 m_marker = std::forward<MarkerT>(value);
138 }
139 template <typename MarkerT = Aws::String>
141 SetMarker(std::forward<MarkerT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_dBParameterGroupName;
147
148 Aws::String m_source;
149
150 Aws::Vector<Filter> m_filters;
151
152 int m_maxRecords{0};
153
154 Aws::String m_marker;
155 bool m_dBParameterGroupNameHasBeenSet = false;
156 bool m_sourceHasBeenSet = false;
157 bool m_filtersHasBeenSet = false;
158 bool m_maxRecordsHasBeenSet = false;
159 bool m_markerHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace RDS
164} // 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