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/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
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_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetEngine() const{ return m_engine; }
46 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
47 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
48 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
49 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
50 inline DescribeDBEngineVersionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
51 inline DescribeDBEngineVersionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
52 inline DescribeDBEngineVersionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
54
56
60 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
61 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
62 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
63 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
64 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
66 inline DescribeDBEngineVersionsRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
67 inline DescribeDBEngineVersionsRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
69
71
76 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
77 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
78 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
79 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
80 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
85
87
90 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
91 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
92 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
93 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
94 inline DescribeDBEngineVersionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
95 inline DescribeDBEngineVersionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
96 inline DescribeDBEngineVersionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
97 inline DescribeDBEngineVersionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
99
101
107 inline int GetMaxRecords() const{ return m_maxRecords; }
108 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
109 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
110 inline DescribeDBEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
112
114
119 inline const Aws::String& GetMarker() const{ return m_marker; }
120 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
121 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
122 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
123 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
124 inline DescribeDBEngineVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
125 inline DescribeDBEngineVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
126 inline DescribeDBEngineVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
128
130
134 inline bool GetDefaultOnly() const{ return m_defaultOnly; }
135 inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; }
136 inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; }
137 inline DescribeDBEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;}
139
141
147 inline bool GetListSupportedCharacterSets() const{ return m_listSupportedCharacterSets; }
148 inline bool ListSupportedCharacterSetsHasBeenSet() const { return m_listSupportedCharacterSetsHasBeenSet; }
149 inline void SetListSupportedCharacterSets(bool value) { m_listSupportedCharacterSetsHasBeenSet = true; m_listSupportedCharacterSets = value; }
152
154
159 inline bool GetListSupportedTimezones() const{ return m_listSupportedTimezones; }
160 inline bool ListSupportedTimezonesHasBeenSet() const { return m_listSupportedTimezonesHasBeenSet; }
161 inline void SetListSupportedTimezones(bool value) { m_listSupportedTimezonesHasBeenSet = true; m_listSupportedTimezones = value; }
164 private:
165
166 Aws::String m_engine;
167 bool m_engineHasBeenSet = false;
168
169 Aws::String m_engineVersion;
170 bool m_engineVersionHasBeenSet = false;
171
172 Aws::String m_dBParameterGroupFamily;
173 bool m_dBParameterGroupFamilyHasBeenSet = false;
174
175 Aws::Vector<Filter> m_filters;
176 bool m_filtersHasBeenSet = false;
177
178 int m_maxRecords;
179 bool m_maxRecordsHasBeenSet = false;
180
181 Aws::String m_marker;
182 bool m_markerHasBeenSet = false;
183
184 bool m_defaultOnly;
185 bool m_defaultOnlyHasBeenSet = false;
186
187 bool m_listSupportedCharacterSets;
188 bool m_listSupportedCharacterSetsHasBeenSet = false;
189
190 bool m_listSupportedTimezones;
191 bool m_listSupportedTimezonesHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace Neptune
196} // namespace Aws
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithEngineVersion(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithListSupportedCharacterSets(bool value)
DescribeDBEngineVersionsRequest & WithEngine(const char *value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(const char *value)
DescribeDBEngineVersionsRequest & WithEngineVersion(Aws::String &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeDBEngineVersionsRequest & WithMarker(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithMaxRecords(int value)
DescribeDBEngineVersionsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBEngineVersionsRequest & WithEngine(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithListSupportedTimezones(bool value)
DescribeDBEngineVersionsRequest & AddFilters(Filter &&value)
DescribeDBEngineVersionsRequest & WithEngine(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithMarker(const char *value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBEngineVersionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBEngineVersionsRequest & WithEngineVersion(const char *value)
DescribeDBEngineVersionsRequest & WithDefaultOnly(bool value)
DescribeDBEngineVersionsRequest & WithMarker(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(const Aws::String &value)
DescribeDBEngineVersionsRequest & AddFilters(const Filter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector