AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBEngineVersionsRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
24 {
25 public:
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 "DescribeDBEngineVersions"; }
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:
40
42
58 inline const Aws::String& GetEngine() const{ return m_engine; }
59 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
60 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
61 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
62 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
63 inline DescribeDBEngineVersionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
64 inline DescribeDBEngineVersionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
65 inline DescribeDBEngineVersionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
67
69
73 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
74 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
75 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
76 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
77 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
79 inline DescribeDBEngineVersionsRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
80 inline DescribeDBEngineVersionsRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
82
84
89 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
90 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
91 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
92 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
93 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
98
100
121 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
122 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
123 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
124 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
125 inline DescribeDBEngineVersionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
126 inline DescribeDBEngineVersionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
127 inline DescribeDBEngineVersionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
128 inline DescribeDBEngineVersionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
130
132
138 inline int GetMaxRecords() const{ return m_maxRecords; }
139 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
140 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
141 inline DescribeDBEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
143
145
150 inline const Aws::String& GetMarker() const{ return m_marker; }
151 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
152 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
153 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
154 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
155 inline DescribeDBEngineVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
156 inline DescribeDBEngineVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
157 inline DescribeDBEngineVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
159
161
165 inline bool GetDefaultOnly() const{ return m_defaultOnly; }
166 inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; }
167 inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; }
168 inline DescribeDBEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;}
170
172
180 inline bool GetListSupportedCharacterSets() const{ return m_listSupportedCharacterSets; }
181 inline bool ListSupportedCharacterSetsHasBeenSet() const { return m_listSupportedCharacterSetsHasBeenSet; }
182 inline void SetListSupportedCharacterSets(bool value) { m_listSupportedCharacterSetsHasBeenSet = true; m_listSupportedCharacterSets = value; }
185
187
195 inline bool GetListSupportedTimezones() const{ return m_listSupportedTimezones; }
196 inline bool ListSupportedTimezonesHasBeenSet() const { return m_listSupportedTimezonesHasBeenSet; }
197 inline void SetListSupportedTimezones(bool value) { m_listSupportedTimezonesHasBeenSet = true; m_listSupportedTimezones = value; }
200
202
206 inline bool GetIncludeAll() const{ return m_includeAll; }
207 inline bool IncludeAllHasBeenSet() const { return m_includeAllHasBeenSet; }
208 inline void SetIncludeAll(bool value) { m_includeAllHasBeenSet = true; m_includeAll = value; }
209 inline DescribeDBEngineVersionsRequest& WithIncludeAll(bool value) { SetIncludeAll(value); return *this;}
211 private:
212
213 Aws::String m_engine;
214 bool m_engineHasBeenSet = false;
215
216 Aws::String m_engineVersion;
217 bool m_engineVersionHasBeenSet = false;
218
219 Aws::String m_dBParameterGroupFamily;
220 bool m_dBParameterGroupFamilyHasBeenSet = false;
221
222 Aws::Vector<Filter> m_filters;
223 bool m_filtersHasBeenSet = false;
224
225 int m_maxRecords;
226 bool m_maxRecordsHasBeenSet = false;
227
228 Aws::String m_marker;
229 bool m_markerHasBeenSet = false;
230
231 bool m_defaultOnly;
232 bool m_defaultOnlyHasBeenSet = false;
233
234 bool m_listSupportedCharacterSets;
235 bool m_listSupportedCharacterSetsHasBeenSet = false;
236
237 bool m_listSupportedTimezones;
238 bool m_listSupportedTimezonesHasBeenSet = false;
239
240 bool m_includeAll;
241 bool m_includeAllHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace RDS
246} // namespace Aws
DescribeDBEngineVersionsRequest & WithMarker(const char *value)
DescribeDBEngineVersionsRequest & WithEngine(const Aws::String &value)
DescribeDBEngineVersionsRequest & AddFilters(Filter &&value)
DescribeDBEngineVersionsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBEngineVersionsRequest & WithEngineVersion(const char *value)
DescribeDBEngineVersionsRequest & WithListSupportedTimezones(bool value)
DescribeDBEngineVersionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBEngineVersionsRequest & WithMaxRecords(int value)
DescribeDBEngineVersionsRequest & WithMarker(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithEngineVersion(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithEngine(Aws::String &&value)
DescribeDBEngineVersionsRequest & AddFilters(const Filter &value)
DescribeDBEngineVersionsRequest & WithListSupportedCharacterSets(bool value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(const char *value)
DescribeDBEngineVersionsRequest & WithDefaultOnly(bool value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBEngineVersionsRequest & WithEngine(const char *value)
DescribeDBEngineVersionsRequest & WithIncludeAll(bool value)
DescribeDBEngineVersionsRequest & WithEngineVersion(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector