AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeOptionGroupOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DescribeOptionGroupOptions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
55  inline const Aws::String& GetEngineName() const{ return m_engineName; }
56 
68  inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
69 
81  inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
82 
94  inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
95 
107  inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
108 
120  inline DescribeOptionGroupOptionsRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
121 
133  inline DescribeOptionGroupOptionsRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
134 
146  inline DescribeOptionGroupOptionsRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;}
147 
148 
153  inline const Aws::String& GetMajorEngineVersion() const{ return m_majorEngineVersion; }
154 
159  inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; }
160 
165  inline void SetMajorEngineVersion(const Aws::String& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = value; }
166 
171  inline void SetMajorEngineVersion(Aws::String&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::move(value); }
172 
177  inline void SetMajorEngineVersion(const char* value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion.assign(value); }
178 
183  inline DescribeOptionGroupOptionsRequest& WithMajorEngineVersion(const Aws::String& value) { SetMajorEngineVersion(value); return *this;}
184 
189  inline DescribeOptionGroupOptionsRequest& WithMajorEngineVersion(Aws::String&& value) { SetMajorEngineVersion(std::move(value)); return *this;}
190 
195  inline DescribeOptionGroupOptionsRequest& WithMajorEngineVersion(const char* value) { SetMajorEngineVersion(value); return *this;}
196 
197 
201  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
202 
206  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
207 
211  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
212 
216  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
217 
221  inline DescribeOptionGroupOptionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
222 
226  inline DescribeOptionGroupOptionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
227 
231  inline DescribeOptionGroupOptionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
232 
236  inline DescribeOptionGroupOptionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
237 
238 
246  inline int GetMaxRecords() const{ return m_maxRecords; }
247 
255  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
256 
264  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
265 
273  inline DescribeOptionGroupOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
274 
275 
281  inline const Aws::String& GetMarker() const{ return m_marker; }
282 
288  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
289 
295  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
296 
302  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
303 
309  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
310 
316  inline DescribeOptionGroupOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
317 
323  inline DescribeOptionGroupOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
324 
330  inline DescribeOptionGroupOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
331 
332  private:
333 
334  Aws::String m_engineName;
335  bool m_engineNameHasBeenSet;
336 
337  Aws::String m_majorEngineVersion;
338  bool m_majorEngineVersionHasBeenSet;
339 
340  Aws::Vector<Filter> m_filters;
341  bool m_filtersHasBeenSet;
342 
343  int m_maxRecords;
344  bool m_maxRecordsHasBeenSet;
345 
346  Aws::String m_marker;
347  bool m_markerHasBeenSet;
348  };
349 
350 } // namespace Model
351 } // namespace RDS
352 } // namespace Aws
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeOptionGroupOptionsRequest.h:35
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMarker
DescribeOptionGroupOptionsRequest & WithMarker(const char *value)
Definition: DescribeOptionGroupOptionsRequest.h:330
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeOptionGroupOptionsRequest.h:309
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithFilters
DescribeOptionGroupOptionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeOptionGroupOptionsRequest.h:226
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMajorEngineVersion
void SetMajorEngineVersion(Aws::String &&value)
Definition: DescribeOptionGroupOptionsRequest.h:171
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeOptionGroupOptionsRequest.h:216
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeOptionGroupOptionsRequest.h:302
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithEngineName
DescribeOptionGroupOptionsRequest & WithEngineName(const char *value)
Definition: DescribeOptionGroupOptionsRequest.h:146
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMajorEngineVersion
void SetMajorEngineVersion(const char *value)
Definition: DescribeOptionGroupOptionsRequest.h:177
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMarker
DescribeOptionGroupOptionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeOptionGroupOptionsRequest.h:323
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetEngineName
void SetEngineName(Aws::String &&value)
Definition: DescribeOptionGroupOptionsRequest.h:94
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMajorEngineVersion
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(const Aws::String &value)
Definition: DescribeOptionGroupOptionsRequest.h:183
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithFilters
DescribeOptionGroupOptionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeOptionGroupOptionsRequest.h:221
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetEngineName
void SetEngineName(const char *value)
Definition: DescribeOptionGroupOptionsRequest.h:107
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::MajorEngineVersionHasBeenSet
bool MajorEngineVersionHasBeenSet() const
Definition: DescribeOptionGroupOptionsRequest.h:159
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeOptionGroupOptionsRequest.h:295
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::GetMajorEngineVersion
const Aws::String & GetMajorEngineVersion() const
Definition: DescribeOptionGroupOptionsRequest.h:153
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithEngineName
DescribeOptionGroupOptionsRequest & WithEngineName(const Aws::String &value)
Definition: DescribeOptionGroupOptionsRequest.h:120
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeOptionGroupOptionsRequest.h:201
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeOptionGroupOptionsRequest.h:246
AWSVector.h
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::GetEngineName
const Aws::String & GetEngineName() const
Definition: DescribeOptionGroupOptionsRequest.h:55
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithEngineName
DescribeOptionGroupOptionsRequest & WithEngineName(Aws::String &&value)
Definition: DescribeOptionGroupOptionsRequest.h:133
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::AddFilters
DescribeOptionGroupOptionsRequest & AddFilters(const Filter &value)
Definition: DescribeOptionGroupOptionsRequest.h:231
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeOptionGroupOptionsRequest.h:255
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMajorEngineVersion
void SetMajorEngineVersion(const Aws::String &value)
Definition: DescribeOptionGroupOptionsRequest.h:165
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
RDS_EXPORTS.h
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::AddFilters
DescribeOptionGroupOptionsRequest & AddFilters(Filter &&value)
Definition: DescribeOptionGroupOptionsRequest.h:236
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::EngineNameHasBeenSet
bool EngineNameHasBeenSet() const
Definition: DescribeOptionGroupOptionsRequest.h:68
AWSString.h
Filter.h
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeOptionGroupOptionsRequest.h:211
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetEngineName
void SetEngineName(const Aws::String &value)
Definition: DescribeOptionGroupOptionsRequest.h:81
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::DescribeOptionGroupOptionsRequest
DescribeOptionGroupOptionsRequest()
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMajorEngineVersion
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(const char *value)
Definition: DescribeOptionGroupOptionsRequest.h:195
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeOptionGroupOptionsRequest.h:281
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeOptionGroupOptionsRequest.h:264
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeOptionGroupOptionsRequest.h:206
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeOptionGroupOptionsRequest.h:288
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeOptionGroupOptionsRequest
Definition: DescribeOptionGroupOptionsRequest.h:27
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMarker
DescribeOptionGroupOptionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeOptionGroupOptionsRequest.h:316
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMaxRecords
DescribeOptionGroupOptionsRequest & WithMaxRecords(int value)
Definition: DescribeOptionGroupOptionsRequest.h:273
Aws::RDS::Model::DescribeOptionGroupOptionsRequest::WithMajorEngineVersion
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(Aws::String &&value)
Definition: DescribeOptionGroupOptionsRequest.h:189