AWS SDK for C++  1.8.71
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
DescribePendingMaintenanceActionsRequest & AddFilters(Filter &&value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribePendingMaintenanceActionsRequest & WithMarker(Aws::String &&value)
DescribePendingMaintenanceActionsRequest & WithMaxRecords(int value)
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(const Aws::String &value)
DescribePendingMaintenanceActionsRequest & AddFilters(const Filter &value)
DescribePendingMaintenanceActionsRequest & WithMarker(const Aws::String &value)
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(Aws::String &&value)
DescribePendingMaintenanceActionsRequest & WithFilters(Aws::Vector< Filter > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribePendingMaintenanceActionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribePendingMaintenanceActionsRequest & WithMarker(const char *value)
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(const char *value)