AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOptionGroupsRequest.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
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_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
49 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
50 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
51 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
52 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
53 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
55 inline DescribeOptionGroupsRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
56 inline DescribeOptionGroupsRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
58
60
63 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
64 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
65 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
66 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline DescribeOptionGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
68 inline DescribeOptionGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
69 inline DescribeOptionGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
70 inline DescribeOptionGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
72
74
79 inline const Aws::String& GetMarker() const{ return m_marker; }
80 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
81 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
82 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
83 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
84 inline DescribeOptionGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
85 inline DescribeOptionGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
86 inline DescribeOptionGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
88
90
97 inline int GetMaxRecords() const{ return m_maxRecords; }
98 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
99 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
100 inline DescribeOptionGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
102
104
116 inline const Aws::String& GetEngineName() const{ return m_engineName; }
117 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
118 inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
119 inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
120 inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
121 inline DescribeOptionGroupsRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
122 inline DescribeOptionGroupsRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
123 inline DescribeOptionGroupsRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;}
125
127
132 inline const Aws::String& GetMajorEngineVersion() const{ return m_majorEngineVersion; }
133 inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; }
134 inline void SetMajorEngineVersion(const Aws::String& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = value; }
135 inline void SetMajorEngineVersion(Aws::String&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::move(value); }
136 inline void SetMajorEngineVersion(const char* value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion.assign(value); }
138 inline DescribeOptionGroupsRequest& WithMajorEngineVersion(Aws::String&& value) { SetMajorEngineVersion(std::move(value)); return *this;}
139 inline DescribeOptionGroupsRequest& WithMajorEngineVersion(const char* value) { SetMajorEngineVersion(value); return *this;}
141 private:
142
143 Aws::String m_optionGroupName;
144 bool m_optionGroupNameHasBeenSet = false;
145
146 Aws::Vector<Filter> m_filters;
147 bool m_filtersHasBeenSet = false;
148
149 Aws::String m_marker;
150 bool m_markerHasBeenSet = false;
151
152 int m_maxRecords;
153 bool m_maxRecordsHasBeenSet = false;
154
155 Aws::String m_engineName;
156 bool m_engineNameHasBeenSet = false;
157
158 Aws::String m_majorEngineVersion;
159 bool m_majorEngineVersionHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace RDS
164} // namespace Aws
DescribeOptionGroupsRequest & WithMajorEngineVersion(const char *value)
DescribeOptionGroupsRequest & WithMajorEngineVersion(Aws::String &&value)
DescribeOptionGroupsRequest & AddFilters(Filter &&value)
DescribeOptionGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeOptionGroupsRequest & WithOptionGroupName(const char *value)
DescribeOptionGroupsRequest & WithMarker(Aws::String &&value)
DescribeOptionGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeOptionGroupsRequest & WithOptionGroupName(Aws::String &&value)
DescribeOptionGroupsRequest & WithMarker(const char *value)
DescribeOptionGroupsRequest & WithEngineName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Filter > & GetFilters() const
DescribeOptionGroupsRequest & WithEngineName(const Aws::String &value)
DescribeOptionGroupsRequest & WithEngineName(const char *value)
DescribeOptionGroupsRequest & WithMarker(const Aws::String &value)
DescribeOptionGroupsRequest & WithMaxRecords(int value)
DescribeOptionGroupsRequest & AddFilters(const Filter &value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeOptionGroupsRequest & WithMajorEngineVersion(const Aws::String &value)
DescribeOptionGroupsRequest & WithOptionGroupName(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector