AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeOptionGroupsRequest.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 "DescribeOptionGroups"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
48  inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
49 
54  inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
55 
60  inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
61 
66  inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
67 
72  inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
73 
78  inline DescribeOptionGroupsRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
79 
84  inline DescribeOptionGroupsRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
85 
90  inline DescribeOptionGroupsRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
91 
92 
96  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
97 
101  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
102 
106  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
107 
111  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
112 
116  inline DescribeOptionGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
117 
121  inline DescribeOptionGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
122 
126  inline DescribeOptionGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
127 
131  inline DescribeOptionGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
132 
133 
139  inline const Aws::String& GetMarker() const{ return m_marker; }
140 
146  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
147 
153  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
154 
160  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
161 
167  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
168 
174  inline DescribeOptionGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
175 
181  inline DescribeOptionGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
182 
188  inline DescribeOptionGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
189 
190 
198  inline int GetMaxRecords() const{ return m_maxRecords; }
199 
207  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
208 
216  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
217 
225  inline DescribeOptionGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
226 
227 
239  inline const Aws::String& GetEngineName() const{ return m_engineName; }
240 
252  inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
253 
265  inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
266 
278  inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
279 
291  inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
292 
304  inline DescribeOptionGroupsRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
305 
317  inline DescribeOptionGroupsRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
318 
330  inline DescribeOptionGroupsRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;}
331 
332 
338  inline const Aws::String& GetMajorEngineVersion() const{ return m_majorEngineVersion; }
339 
345  inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; }
346 
352  inline void SetMajorEngineVersion(const Aws::String& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = value; }
353 
359  inline void SetMajorEngineVersion(Aws::String&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::move(value); }
360 
366  inline void SetMajorEngineVersion(const char* value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion.assign(value); }
367 
373  inline DescribeOptionGroupsRequest& WithMajorEngineVersion(const Aws::String& value) { SetMajorEngineVersion(value); return *this;}
374 
380  inline DescribeOptionGroupsRequest& WithMajorEngineVersion(Aws::String&& value) { SetMajorEngineVersion(std::move(value)); return *this;}
381 
387  inline DescribeOptionGroupsRequest& WithMajorEngineVersion(const char* value) { SetMajorEngineVersion(value); return *this;}
388 
389  private:
390 
391  Aws::String m_optionGroupName;
392  bool m_optionGroupNameHasBeenSet;
393 
394  Aws::Vector<Filter> m_filters;
395  bool m_filtersHasBeenSet;
396 
397  Aws::String m_marker;
398  bool m_markerHasBeenSet;
399 
400  int m_maxRecords;
401  bool m_maxRecordsHasBeenSet;
402 
403  Aws::String m_engineName;
404  bool m_engineNameHasBeenSet;
405 
406  Aws::String m_majorEngineVersion;
407  bool m_majorEngineVersionHasBeenSet;
408  };
409 
410 } // namespace Model
411 } // namespace RDS
412 } // namespace Aws
Aws::RDS::Model::DescribeOptionGroupsRequest::WithOptionGroupName
DescribeOptionGroupsRequest & WithOptionGroupName(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:84
Aws::RDS::Model::DescribeOptionGroupsRequest::GetMajorEngineVersion
const Aws::String & GetMajorEngineVersion() const
Definition: DescribeOptionGroupsRequest.h:338
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeOptionGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeOptionGroupsRequest.h:96
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMajorEngineVersion
void SetMajorEngineVersion(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:359
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMajorEngineVersion
void SetMajorEngineVersion(const char *value)
Definition: DescribeOptionGroupsRequest.h:366
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMarker
DescribeOptionGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:174
Aws::RDS::Model::DescribeOptionGroupsRequest::SetEngineName
void SetEngineName(const char *value)
Definition: DescribeOptionGroupsRequest.h:291
Aws::RDS::Model::DescribeOptionGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeOptionGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeOptionGroupsRequest.h:139
Aws::RDS::Model::DescribeOptionGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeOptionGroupsRequest.h:146
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeOptionGroupsRequest.h:167
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMarker
DescribeOptionGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:181
Aws::RDS::Model::DescribeOptionGroupsRequest::SetOptionGroupName
void SetOptionGroupName(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:66
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMajorEngineVersion
DescribeOptionGroupsRequest & WithMajorEngineVersion(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:373
Aws::RDS::Model::DescribeOptionGroupsRequest::WithOptionGroupName
DescribeOptionGroupsRequest & WithOptionGroupName(const char *value)
Definition: DescribeOptionGroupsRequest.h:90
Aws::RDS::Model::DescribeOptionGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeOptionGroupsRequest.h:207
Aws::RDS::Model::DescribeOptionGroupsRequest::SetOptionGroupName
void SetOptionGroupName(const char *value)
Definition: DescribeOptionGroupsRequest.h:72
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMajorEngineVersion
DescribeOptionGroupsRequest & WithMajorEngineVersion(const char *value)
Definition: DescribeOptionGroupsRequest.h:387
Aws::RDS::Model::DescribeOptionGroupsRequest::AddFilters
DescribeOptionGroupsRequest & AddFilters(const Filter &value)
Definition: DescribeOptionGroupsRequest.h:126
AWSVector.h
Aws::RDS::Model::DescribeOptionGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeOptionGroupsRequest.h:106
Aws::RDS::Model::DescribeOptionGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeOptionGroupsRequest.h:35
Aws::RDS::Model::DescribeOptionGroupsRequest::MajorEngineVersionHasBeenSet
bool MajorEngineVersionHasBeenSet() const
Definition: DescribeOptionGroupsRequest.h:345
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:160
Aws::RDS::Model::DescribeOptionGroupsRequest
Definition: DescribeOptionGroupsRequest.h:27
Aws::RDS::Model::DescribeOptionGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeOptionGroupsRequest::GetOptionGroupName
const Aws::String & GetOptionGroupName() const
Definition: DescribeOptionGroupsRequest.h:48
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMajorEngineVersion
void SetMajorEngineVersion(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:352
RDS_EXPORTS.h
Aws::RDS::Model::DescribeOptionGroupsRequest::OptionGroupNameHasBeenSet
bool OptionGroupNameHasBeenSet() const
Definition: DescribeOptionGroupsRequest.h:54
Aws::RDS::Model::DescribeOptionGroupsRequest::WithFilters
DescribeOptionGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeOptionGroupsRequest.h:121
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMaxRecords
DescribeOptionGroupsRequest & WithMaxRecords(int value)
Definition: DescribeOptionGroupsRequest.h:225
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeOptionGroupsRequest::WithEngineName
DescribeOptionGroupsRequest & WithEngineName(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:304
Aws::RDS::Model::DescribeOptionGroupsRequest::SetOptionGroupName
void SetOptionGroupName(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:60
Aws::RDS::Model::DescribeOptionGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeOptionGroupsRequest.h:198
Aws::RDS::Model::DescribeOptionGroupsRequest::DescribeOptionGroupsRequest
DescribeOptionGroupsRequest()
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMajorEngineVersion
DescribeOptionGroupsRequest & WithMajorEngineVersion(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:380
Aws::RDS::Model::DescribeOptionGroupsRequest::WithOptionGroupName
DescribeOptionGroupsRequest & WithOptionGroupName(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:78
AWSString.h
Aws::RDS::Model::DescribeOptionGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeOptionGroupsRequest.h:101
Aws::RDS::Model::DescribeOptionGroupsRequest::EngineNameHasBeenSet
bool EngineNameHasBeenSet() const
Definition: DescribeOptionGroupsRequest.h:252
Filter.h
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:153
Aws::RDS::Model::DescribeOptionGroupsRequest::WithEngineName
DescribeOptionGroupsRequest & WithEngineName(const char *value)
Definition: DescribeOptionGroupsRequest.h:330
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeOptionGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeOptionGroupsRequest.h:216
Aws::RDS::Model::DescribeOptionGroupsRequest::WithFilters
DescribeOptionGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeOptionGroupsRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeOptionGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeOptionGroupsRequest.h:111
Aws::RDS::Model::DescribeOptionGroupsRequest::SetEngineName
void SetEngineName(const Aws::String &value)
Definition: DescribeOptionGroupsRequest.h:265
Aws::RDS::Model::DescribeOptionGroupsRequest::SetEngineName
void SetEngineName(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:278
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DescribeOptionGroupsRequest::AddFilters
DescribeOptionGroupsRequest & AddFilters(Filter &&value)
Definition: DescribeOptionGroupsRequest.h:131
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeOptionGroupsRequest::GetEngineName
const Aws::String & GetEngineName() const
Definition: DescribeOptionGroupsRequest.h:239
Aws::RDS::Model::DescribeOptionGroupsRequest::WithEngineName
DescribeOptionGroupsRequest & WithEngineName(Aws::String &&value)
Definition: DescribeOptionGroupsRequest.h:317
Aws::RDS::Model::DescribeOptionGroupsRequest::WithMarker
DescribeOptionGroupsRequest & WithMarker(const char *value)
Definition: DescribeOptionGroupsRequest.h:188