AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeDBRecommendationsRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/RDSRequest.h>
11#include <aws/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/Filter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace RDS {
18namespace Model {
19
23 public:
24 AWS_RDS_API DescribeDBRecommendationsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBRecommendations"; }
31
32 AWS_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
43 inline const Aws::Utils::DateTime& GetLastUpdatedAfter() const { return m_lastUpdatedAfter; }
44 inline bool LastUpdatedAfterHasBeenSet() const { return m_lastUpdatedAfterHasBeenSet; }
45 template <typename LastUpdatedAfterT = Aws::Utils::DateTime>
46 void SetLastUpdatedAfter(LastUpdatedAfterT&& value) {
47 m_lastUpdatedAfterHasBeenSet = true;
48 m_lastUpdatedAfter = std::forward<LastUpdatedAfterT>(value);
49 }
50 template <typename LastUpdatedAfterT = Aws::Utils::DateTime>
52 SetLastUpdatedAfter(std::forward<LastUpdatedAfterT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Utils::DateTime& GetLastUpdatedBefore() const { return m_lastUpdatedBefore; }
63 inline bool LastUpdatedBeforeHasBeenSet() const { return m_lastUpdatedBeforeHasBeenSet; }
64 template <typename LastUpdatedBeforeT = Aws::Utils::DateTime>
65 void SetLastUpdatedBefore(LastUpdatedBeforeT&& value) {
66 m_lastUpdatedBeforeHasBeenSet = true;
67 m_lastUpdatedBefore = std::forward<LastUpdatedBeforeT>(value);
68 }
69 template <typename LastUpdatedBeforeT = Aws::Utils::DateTime>
71 SetLastUpdatedBefore(std::forward<LastUpdatedBeforeT>(value));
72 return *this;
73 }
75
77
87 inline const Aws::String& GetLocale() const { return m_locale; }
88 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
89 template <typename LocaleT = Aws::String>
90 void SetLocale(LocaleT&& value) {
91 m_localeHasBeenSet = true;
92 m_locale = std::forward<LocaleT>(value);
93 }
94 template <typename LocaleT = Aws::String>
96 SetLocale(std::forward<LocaleT>(value));
97 return *this;
98 }
100
102
135 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
136 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
137 template <typename FiltersT = Aws::Vector<Filter>>
138 void SetFilters(FiltersT&& value) {
139 m_filtersHasBeenSet = true;
140 m_filters = std::forward<FiltersT>(value);
141 }
142 template <typename FiltersT = Aws::Vector<Filter>>
144 SetFilters(std::forward<FiltersT>(value));
145 return *this;
146 }
147 template <typename FiltersT = Filter>
149 m_filtersHasBeenSet = true;
150 m_filters.emplace_back(std::forward<FiltersT>(value));
151 return *this;
152 }
154
156
162 inline int GetMaxRecords() const { return m_maxRecords; }
163 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
164 inline void SetMaxRecords(int value) {
165 m_maxRecordsHasBeenSet = true;
166 m_maxRecords = value;
167 }
169 SetMaxRecords(value);
170 return *this;
171 }
173
175
181 inline const Aws::String& GetMarker() const { return m_marker; }
182 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
183 template <typename MarkerT = Aws::String>
184 void SetMarker(MarkerT&& value) {
185 m_markerHasBeenSet = true;
186 m_marker = std::forward<MarkerT>(value);
187 }
188 template <typename MarkerT = Aws::String>
190 SetMarker(std::forward<MarkerT>(value));
191 return *this;
192 }
194 private:
195 Aws::Utils::DateTime m_lastUpdatedAfter{};
196
197 Aws::Utils::DateTime m_lastUpdatedBefore{};
198
199 Aws::String m_locale;
200
201 Aws::Vector<Filter> m_filters;
202
203 int m_maxRecords{0};
204
205 Aws::String m_marker;
206 bool m_lastUpdatedAfterHasBeenSet = false;
207 bool m_lastUpdatedBeforeHasBeenSet = false;
208 bool m_localeHasBeenSet = false;
209 bool m_filtersHasBeenSet = false;
210 bool m_maxRecordsHasBeenSet = false;
211 bool m_markerHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace RDS
216} // namespace Aws
DescribeDBRecommendationsRequest & WithFilters(FiltersT &&value)
DescribeDBRecommendationsRequest & WithLastUpdatedAfter(LastUpdatedAfterT &&value)
DescribeDBRecommendationsRequest & WithMaxRecords(int value)
DescribeDBRecommendationsRequest & AddFilters(FiltersT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBRecommendationsRequest & WithMarker(MarkerT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBRecommendationsRequest & WithLocale(LocaleT &&value)
DescribeDBRecommendationsRequest & WithLastUpdatedBefore(LastUpdatedBeforeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector