AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOptionGroupOptionsRequest.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 "DescribeOptionGroupOptions"; }
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
56 inline const Aws::String& GetEngineName() const{ return m_engineName; }
57 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
58 inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
59 inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
60 inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
61 inline DescribeOptionGroupOptionsRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
62 inline DescribeOptionGroupOptionsRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
63 inline DescribeOptionGroupOptionsRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;}
65
67
71 inline const Aws::String& GetMajorEngineVersion() const{ return m_majorEngineVersion; }
72 inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; }
73 inline void SetMajorEngineVersion(const Aws::String& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = value; }
74 inline void SetMajorEngineVersion(Aws::String&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::move(value); }
75 inline void SetMajorEngineVersion(const char* value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion.assign(value); }
78 inline DescribeOptionGroupOptionsRequest& WithMajorEngineVersion(const char* value) { SetMajorEngineVersion(value); return *this;}
80
82
85 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
86 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
87 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
88 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
89 inline DescribeOptionGroupOptionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
90 inline DescribeOptionGroupOptionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
91 inline DescribeOptionGroupOptionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
92 inline DescribeOptionGroupOptionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
94
96
103 inline int GetMaxRecords() const{ return m_maxRecords; }
104 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
105 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
106 inline DescribeOptionGroupOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
108
110
115 inline const Aws::String& GetMarker() const{ return m_marker; }
116 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
117 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
118 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
119 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
120 inline DescribeOptionGroupOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
121 inline DescribeOptionGroupOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
122 inline DescribeOptionGroupOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
124 private:
125
126 Aws::String m_engineName;
127 bool m_engineNameHasBeenSet = false;
128
129 Aws::String m_majorEngineVersion;
130 bool m_majorEngineVersionHasBeenSet = false;
131
132 Aws::Vector<Filter> m_filters;
133 bool m_filtersHasBeenSet = false;
134
135 int m_maxRecords;
136 bool m_maxRecordsHasBeenSet = false;
137
138 Aws::String m_marker;
139 bool m_markerHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace RDS
144} // namespace Aws
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(Aws::String &&value)
DescribeOptionGroupOptionsRequest & WithEngineName(const char *value)
DescribeOptionGroupOptionsRequest & WithMarker(Aws::String &&value)
DescribeOptionGroupOptionsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeOptionGroupOptionsRequest & WithMarker(const Aws::String &value)
DescribeOptionGroupOptionsRequest & AddFilters(const Filter &value)
DescribeOptionGroupOptionsRequest & WithMarker(const char *value)
DescribeOptionGroupOptionsRequest & WithMaxRecords(int value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeOptionGroupOptionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(const char *value)
DescribeOptionGroupOptionsRequest & AddFilters(Filter &&value)
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(const Aws::String &value)
DescribeOptionGroupOptionsRequest & WithEngineName(const Aws::String &value)
DescribeOptionGroupOptionsRequest & WithEngineName(Aws::String &&value)
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