AWS SDK for C++  1.9.107
AWS SDK for C++
DescribePendingMaintenanceActionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace 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 "DescribePendingMaintenanceActions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
48 
52  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
53 
57  inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
58 
62  inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
63 
67  inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
68 
72  inline DescribePendingMaintenanceActionsRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
73 
77  inline DescribePendingMaintenanceActionsRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
78 
82  inline DescribePendingMaintenanceActionsRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
83 
84 
95  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
96 
107  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
108 
119  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
120 
131  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
132 
143  inline DescribePendingMaintenanceActionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
144 
155  inline DescribePendingMaintenanceActionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
156 
167  inline DescribePendingMaintenanceActionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
168 
179  inline DescribePendingMaintenanceActionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
180 
181 
188  inline const Aws::String& GetMarker() const{ return m_marker; }
189 
196  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
197 
204  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
205 
212  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
213 
220  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
221 
228  inline DescribePendingMaintenanceActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
229 
236  inline DescribePendingMaintenanceActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
237 
244  inline DescribePendingMaintenanceActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
245 
246 
254  inline int GetMaxRecords() const{ return m_maxRecords; }
255 
263  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
264 
272  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
273 
281  inline DescribePendingMaintenanceActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
282 
283  private:
284 
285  Aws::String m_resourceIdentifier;
286  bool m_resourceIdentifierHasBeenSet;
287 
288  Aws::Vector<Filter> m_filters;
289  bool m_filtersHasBeenSet;
290 
291  Aws::String m_marker;
292  bool m_markerHasBeenSet;
293 
294  int m_maxRecords;
295  bool m_maxRecordsHasBeenSet;
296  };
297 
298 } // namespace Model
299 } // namespace RDS
300 } // namespace Aws
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribePendingMaintenanceActionsRequest.h:204
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithResourceIdentifier
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(Aws::String &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:77
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribePendingMaintenanceActionsRequest.h:119
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: DescribePendingMaintenanceActionsRequest.h:52
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePendingMaintenanceActionsRequest.h:35
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribePendingMaintenanceActionsRequest.h:188
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithMarker
DescribePendingMaintenanceActionsRequest & WithMarker(Aws::String &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:236
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribePendingMaintenanceActionsRequest.h:272
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribePendingMaintenanceActionsRequest.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribePendingMaintenanceActionsRequest.h:95
AWSVector.h
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::GetResourceIdentifier
const Aws::String & GetResourceIdentifier() const
Definition: DescribePendingMaintenanceActionsRequest.h:47
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::DescribePendingMaintenanceActionsRequest
DescribePendingMaintenanceActionsRequest()
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribePendingMaintenanceActionsRequest.h:196
RDS_EXPORTS.h
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest
Definition: DescribePendingMaintenanceActionsRequest.h:27
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::AddFilters
DescribePendingMaintenanceActionsRequest & AddFilters(const Filter &value)
Definition: DescribePendingMaintenanceActionsRequest.h:167
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetResourceIdentifier
void SetResourceIdentifier(const Aws::String &value)
Definition: DescribePendingMaintenanceActionsRequest.h:57
AWSString.h
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribePendingMaintenanceActionsRequest.h:220
Filter.h
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithResourceIdentifier
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(const char *value)
Definition: DescribePendingMaintenanceActionsRequest.h:82
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:131
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithMarker
DescribePendingMaintenanceActionsRequest & WithMarker(const char *value)
Definition: DescribePendingMaintenanceActionsRequest.h:244
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribePendingMaintenanceActionsRequest.h:254
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetResourceIdentifier
void SetResourceIdentifier(Aws::String &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:212
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::AddFilters
DescribePendingMaintenanceActionsRequest & AddFilters(Filter &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:179
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::SetResourceIdentifier
void SetResourceIdentifier(const char *value)
Definition: DescribePendingMaintenanceActionsRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithMaxRecords
DescribePendingMaintenanceActionsRequest & WithMaxRecords(int value)
Definition: DescribePendingMaintenanceActionsRequest.h:281
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribePendingMaintenanceActionsRequest.h:263
RDSRequest.h
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithFilters
DescribePendingMaintenanceActionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribePendingMaintenanceActionsRequest.h:143
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithMarker
DescribePendingMaintenanceActionsRequest & WithMarker(const Aws::String &value)
Definition: DescribePendingMaintenanceActionsRequest.h:228
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithFilters
DescribePendingMaintenanceActionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribePendingMaintenanceActionsRequest.h:155
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribePendingMaintenanceActionsRequest::WithResourceIdentifier
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(const Aws::String &value)
Definition: DescribePendingMaintenanceActionsRequest.h:72