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/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:
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 "DescribeDBEngineVersions"; }
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& GetEngine() const{ return m_engine; }
50 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
51 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
52 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
53 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
54 inline DescribeDBEngineVersionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
55 inline DescribeDBEngineVersionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
56 inline DescribeDBEngineVersionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
58
60
64 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
65 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
66 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
67 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
68 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
70 inline DescribeDBEngineVersionsRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
71 inline DescribeDBEngineVersionsRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
73
75
80 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
81 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
82 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
83 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
84 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
89
91
94 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
95 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
96 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
97 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
98 inline DescribeDBEngineVersionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
99 inline DescribeDBEngineVersionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
100 inline DescribeDBEngineVersionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
101 inline DescribeDBEngineVersionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
103
105
111 inline int GetMaxRecords() const{ return m_maxRecords; }
112 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
113 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
114 inline DescribeDBEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
116
118
123 inline const Aws::String& GetMarker() const{ return m_marker; }
124 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
125 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
126 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
127 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
128 inline DescribeDBEngineVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
129 inline DescribeDBEngineVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
130 inline DescribeDBEngineVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
132
134
138 inline bool GetDefaultOnly() const{ return m_defaultOnly; }
139 inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; }
140 inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; }
141 inline DescribeDBEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;}
143
145
151 inline bool GetListSupportedCharacterSets() const{ return m_listSupportedCharacterSets; }
152 inline bool ListSupportedCharacterSetsHasBeenSet() const { return m_listSupportedCharacterSetsHasBeenSet; }
153 inline void SetListSupportedCharacterSets(bool value) { m_listSupportedCharacterSetsHasBeenSet = true; m_listSupportedCharacterSets = value; }
156
158
163 inline bool GetListSupportedTimezones() const{ return m_listSupportedTimezones; }
164 inline bool ListSupportedTimezonesHasBeenSet() const { return m_listSupportedTimezonesHasBeenSet; }
165 inline void SetListSupportedTimezones(bool value) { m_listSupportedTimezonesHasBeenSet = true; m_listSupportedTimezones = value; }
168 private:
169
170 Aws::String m_engine;
171 bool m_engineHasBeenSet = false;
172
173 Aws::String m_engineVersion;
174 bool m_engineVersionHasBeenSet = false;
175
176 Aws::String m_dBParameterGroupFamily;
177 bool m_dBParameterGroupFamilyHasBeenSet = false;
178
179 Aws::Vector<Filter> m_filters;
180 bool m_filtersHasBeenSet = false;
181
182 int m_maxRecords;
183 bool m_maxRecordsHasBeenSet = false;
184
185 Aws::String m_marker;
186 bool m_markerHasBeenSet = false;
187
188 bool m_defaultOnly;
189 bool m_defaultOnlyHasBeenSet = false;
190
191 bool m_listSupportedCharacterSets;
192 bool m_listSupportedCharacterSetsHasBeenSet = false;
193
194 bool m_listSupportedTimezones;
195 bool m_listSupportedTimezonesHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace DocDB
200} // namespace Aws
DescribeDBEngineVersionsRequest & AddFilters(const Filter &value)
DescribeDBEngineVersionsRequest & WithDefaultOnly(bool value)
DescribeDBEngineVersionsRequest & WithEngineVersion(const char *value)
DescribeDBEngineVersionsRequest & WithListSupportedTimezones(bool value)
DescribeDBEngineVersionsRequest & WithEngineVersion(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithEngine(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithListSupportedCharacterSets(bool value)
DescribeDBEngineVersionsRequest & AddFilters(Filter &&value)
DescribeDBEngineVersionsRequest & WithMaxRecords(int value)
DescribeDBEngineVersionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(const char *value)
DescribeDBEngineVersionsRequest & WithMarker(const char *value)
DescribeDBEngineVersionsRequest & WithEngineVersion(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithMarker(Aws::String &&value)
DescribeDBEngineVersionsRequest & WithMarker(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithFilters(Aws::Vector< Filter > &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBEngineVersionsRequest & WithDBParameterGroupFamily(const Aws::String &value)
DescribeDBEngineVersionsRequest & WithEngine(const char *value)
DescribeDBEngineVersionsRequest & WithEngine(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector