AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
29 AWS_RDS_API DescribeOptionGroupOptionsRequest() = default;
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 template<typename EngineNameT = Aws::String>
59 void SetEngineName(EngineNameT&& value) { m_engineNameHasBeenSet = true; m_engineName = std::forward<EngineNameT>(value); }
60 template<typename EngineNameT = Aws::String>
61 DescribeOptionGroupOptionsRequest& WithEngineName(EngineNameT&& value) { SetEngineName(std::forward<EngineNameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetMajorEngineVersion() const { return m_majorEngineVersion; }
70 inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; }
71 template<typename MajorEngineVersionT = Aws::String>
72 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
73 template<typename MajorEngineVersionT = Aws::String>
74 DescribeOptionGroupOptionsRequest& WithMajorEngineVersion(MajorEngineVersionT&& value) { SetMajorEngineVersion(std::forward<MajorEngineVersionT>(value)); return *this;}
76
78
81 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
82 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
83 template<typename FiltersT = Aws::Vector<Filter>>
84 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
85 template<typename FiltersT = Aws::Vector<Filter>>
86 DescribeOptionGroupOptionsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
87 template<typename FiltersT = Filter>
88 DescribeOptionGroupOptionsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
90
92
99 inline int GetMaxRecords() const { return m_maxRecords; }
100 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
101 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
102 inline DescribeOptionGroupOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
104
106
111 inline const Aws::String& GetMarker() const { return m_marker; }
112 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
113 template<typename MarkerT = Aws::String>
114 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
115 template<typename MarkerT = Aws::String>
116 DescribeOptionGroupOptionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
118 private:
119
120 Aws::String m_engineName;
121 bool m_engineNameHasBeenSet = false;
122
123 Aws::String m_majorEngineVersion;
124 bool m_majorEngineVersionHasBeenSet = false;
125
126 Aws::Vector<Filter> m_filters;
127 bool m_filtersHasBeenSet = false;
128
129 int m_maxRecords{0};
130 bool m_maxRecordsHasBeenSet = false;
131
132 Aws::String m_marker;
133 bool m_markerHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace RDS
138} // namespace Aws
DescribeOptionGroupOptionsRequest & WithMajorEngineVersion(MajorEngineVersionT &&value)
DescribeOptionGroupOptionsRequest & AddFilters(FiltersT &&value)
DescribeOptionGroupOptionsRequest & WithFilters(FiltersT &&value)
DescribeOptionGroupOptionsRequest & WithMaxRecords(int value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeOptionGroupOptionsRequest & WithMarker(MarkerT &&value)
DescribeOptionGroupOptionsRequest & WithEngineName(EngineNameT &&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