AWS SDK for C++  0.12.9
AWS SDK for C++
DescribePendingMaintenanceActionsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
17 #include <aws/rds/RDSRequest.h>
20 #include <aws/rds/model/Filter.h>
21 
22 namespace Aws
23 {
24 namespace RDS
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
41  inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
42 
46  inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
47 
51  inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
52 
56  inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
57 
61  inline DescribePendingMaintenanceActionsRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
62 
66  inline DescribePendingMaintenanceActionsRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(value); return *this;}
67 
71  inline DescribePendingMaintenanceActionsRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
72 
81  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
82 
91  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
92 
101  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
102 
111  inline DescribePendingMaintenanceActionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
112 
121  inline DescribePendingMaintenanceActionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
122 
131  inline DescribePendingMaintenanceActionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
132 
141  inline DescribePendingMaintenanceActionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
142 
149  inline const Aws::String& GetMarker() const{ return m_marker; }
150 
157  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
158 
165  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
166 
173  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
174 
181  inline DescribePendingMaintenanceActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
182 
189  inline DescribePendingMaintenanceActionsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
190 
197  inline DescribePendingMaintenanceActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
198 
205  inline long GetMaxRecords() const{ return m_maxRecords; }
206 
213  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
214 
221  inline DescribePendingMaintenanceActionsRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
222 
223  private:
224  Aws::String m_resourceIdentifier;
225  bool m_resourceIdentifierHasBeenSet;
226  Aws::Vector<Filter> m_filters;
227  bool m_filtersHasBeenSet;
228  Aws::String m_marker;
229  bool m_markerHasBeenSet;
230  long m_maxRecords;
231  bool m_maxRecordsHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace RDS
236 } // namespace Aws
DescribePendingMaintenanceActionsRequest & AddFilters(Filter &&value)
DescribePendingMaintenanceActionsRequest & WithMaxRecords(long value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:34
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribePendingMaintenanceActionsRequest & WithMarker(Aws::String &&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)
JSON (JavaScript Object Notation).
DescribePendingMaintenanceActionsRequest & WithResourceIdentifier(const char *value)