AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBRecommendationsRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/Filter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace RDS
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBRecommendations"; }
34
35 AWS_RDS_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::Utils::DateTime& GetLastUpdatedAfter() const{ return m_lastUpdatedAfter; }
48 inline bool LastUpdatedAfterHasBeenSet() const { return m_lastUpdatedAfterHasBeenSet; }
49 inline void SetLastUpdatedAfter(const Aws::Utils::DateTime& value) { m_lastUpdatedAfterHasBeenSet = true; m_lastUpdatedAfter = value; }
50 inline void SetLastUpdatedAfter(Aws::Utils::DateTime&& value) { m_lastUpdatedAfterHasBeenSet = true; m_lastUpdatedAfter = std::move(value); }
54
56
60 inline const Aws::Utils::DateTime& GetLastUpdatedBefore() const{ return m_lastUpdatedBefore; }
61 inline bool LastUpdatedBeforeHasBeenSet() const { return m_lastUpdatedBeforeHasBeenSet; }
62 inline void SetLastUpdatedBefore(const Aws::Utils::DateTime& value) { m_lastUpdatedBeforeHasBeenSet = true; m_lastUpdatedBefore = value; }
63 inline void SetLastUpdatedBefore(Aws::Utils::DateTime&& value) { m_lastUpdatedBeforeHasBeenSet = true; m_lastUpdatedBefore = std::move(value); }
67
69
79 inline const Aws::String& GetLocale() const{ return m_locale; }
80 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
81 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
82 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
83 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
84 inline DescribeDBRecommendationsRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
85 inline DescribeDBRecommendationsRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
86 inline DescribeDBRecommendationsRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
88
90
123 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
124 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
125 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
126 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
127 inline DescribeDBRecommendationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
128 inline DescribeDBRecommendationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
129 inline DescribeDBRecommendationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
130 inline DescribeDBRecommendationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
132
134
140 inline int GetMaxRecords() const{ return m_maxRecords; }
141 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
142 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
143 inline DescribeDBRecommendationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
145
147
153 inline const Aws::String& GetMarker() const{ return m_marker; }
154 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
155 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
156 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
157 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
158 inline DescribeDBRecommendationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
159 inline DescribeDBRecommendationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
160 inline DescribeDBRecommendationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
162 private:
163
164 Aws::Utils::DateTime m_lastUpdatedAfter;
165 bool m_lastUpdatedAfterHasBeenSet = false;
166
167 Aws::Utils::DateTime m_lastUpdatedBefore;
168 bool m_lastUpdatedBeforeHasBeenSet = false;
169
170 Aws::String m_locale;
171 bool m_localeHasBeenSet = false;
172
173 Aws::Vector<Filter> m_filters;
174 bool m_filtersHasBeenSet = false;
175
176 int m_maxRecords;
177 bool m_maxRecordsHasBeenSet = false;
178
179 Aws::String m_marker;
180 bool m_markerHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace RDS
185} // namespace Aws
DescribeDBRecommendationsRequest & WithLastUpdatedAfter(const Aws::Utils::DateTime &value)
DescribeDBRecommendationsRequest & WithMaxRecords(int value)
DescribeDBRecommendationsRequest & WithLocale(Aws::String &&value)
DescribeDBRecommendationsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBRecommendationsRequest & WithMarker(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBRecommendationsRequest & WithLocale(const Aws::String &value)
DescribeDBRecommendationsRequest & WithLastUpdatedBefore(Aws::Utils::DateTime &&value)
DescribeDBRecommendationsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBRecommendationsRequest & WithMarker(const char *value)
DescribeDBRecommendationsRequest & AddFilters(Filter &&value)
DescribeDBRecommendationsRequest & WithLastUpdatedBefore(const Aws::Utils::DateTime &value)
DescribeDBRecommendationsRequest & WithLastUpdatedAfter(Aws::Utils::DateTime &&value)
DescribeDBRecommendationsRequest & WithMarker(const Aws::String &value)
DescribeDBRecommendationsRequest & AddFilters(const Filter &value)
DescribeDBRecommendationsRequest & WithLocale(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector