AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeCustomAvailabilityZonesRequest.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 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeCustomAvailabilityZones"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
45  inline const Aws::String& GetCustomAvailabilityZoneId() const{ return m_customAvailabilityZoneId; }
46 
51  inline bool CustomAvailabilityZoneIdHasBeenSet() const { return m_customAvailabilityZoneIdHasBeenSet; }
52 
57  inline void SetCustomAvailabilityZoneId(const Aws::String& value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId = value; }
58 
63  inline void SetCustomAvailabilityZoneId(Aws::String&& value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId = std::move(value); }
64 
69  inline void SetCustomAvailabilityZoneId(const char* value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId.assign(value); }
70 
75  inline DescribeCustomAvailabilityZonesRequest& WithCustomAvailabilityZoneId(const Aws::String& value) { SetCustomAvailabilityZoneId(value); return *this;}
76 
81  inline DescribeCustomAvailabilityZonesRequest& WithCustomAvailabilityZoneId(Aws::String&& value) { SetCustomAvailabilityZoneId(std::move(value)); return *this;}
82 
87  inline DescribeCustomAvailabilityZonesRequest& WithCustomAvailabilityZoneId(const char* value) { SetCustomAvailabilityZoneId(value); return *this;}
88 
89 
93  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
94 
98  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
99 
103  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
104 
108  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
109 
113  inline DescribeCustomAvailabilityZonesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
114 
118  inline DescribeCustomAvailabilityZonesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
119 
123  inline DescribeCustomAvailabilityZonesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
124 
128  inline DescribeCustomAvailabilityZonesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
129 
130 
137  inline int GetMaxRecords() const{ return m_maxRecords; }
138 
145  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
146 
153  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
154 
161  inline DescribeCustomAvailabilityZonesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
162 
163 
170  inline const Aws::String& GetMarker() const{ return m_marker; }
171 
178  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
179 
186  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
187 
194  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
195 
202  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
203 
210  inline DescribeCustomAvailabilityZonesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
211 
218  inline DescribeCustomAvailabilityZonesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
219 
226  inline DescribeCustomAvailabilityZonesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
227 
228  private:
229 
230  Aws::String m_customAvailabilityZoneId;
231  bool m_customAvailabilityZoneIdHasBeenSet;
232 
233  Aws::Vector<Filter> m_filters;
234  bool m_filtersHasBeenSet;
235 
236  int m_maxRecords;
237  bool m_maxRecordsHasBeenSet;
238 
239  Aws::String m_marker;
240  bool m_markerHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace RDS
245 } // namespace Aws
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeCustomAvailabilityZonesRequest.h:153
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::DescribeCustomAvailabilityZonesRequest
DescribeCustomAvailabilityZonesRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithCustomAvailabilityZoneId
DescribeCustomAvailabilityZonesRequest & WithCustomAvailabilityZoneId(Aws::String &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:81
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithMarker
DescribeCustomAvailabilityZonesRequest & WithMarker(Aws::String &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:218
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:194
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithFilters
DescribeCustomAvailabilityZonesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:113
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeCustomAvailabilityZonesRequest.h:178
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:186
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:103
AWSVector.h
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(Aws::String &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:63
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::AddFilters
DescribeCustomAvailabilityZonesRequest & AddFilters(Filter &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:128
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithCustomAvailabilityZoneId
DescribeCustomAvailabilityZonesRequest & WithCustomAvailabilityZoneId(const char *value)
Definition: DescribeCustomAvailabilityZonesRequest.h:87
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithFilters
DescribeCustomAvailabilityZonesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:118
RDS_EXPORTS.h
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCustomAvailabilityZonesRequest.h:32
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeCustomAvailabilityZonesRequest.h:145
AWSString.h
Filter.h
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::GetCustomAvailabilityZoneId
const Aws::String & GetCustomAvailabilityZoneId() const
Definition: DescribeCustomAvailabilityZonesRequest.h:45
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::CustomAvailabilityZoneIdHasBeenSet
bool CustomAvailabilityZoneIdHasBeenSet() const
Definition: DescribeCustomAvailabilityZonesRequest.h:51
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(const Aws::String &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:57
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithMarker
DescribeCustomAvailabilityZonesRequest & WithMarker(const char *value)
Definition: DescribeCustomAvailabilityZonesRequest.h:226
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::AddFilters
DescribeCustomAvailabilityZonesRequest & AddFilters(const Filter &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:123
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest
Definition: DescribeCustomAvailabilityZonesRequest.h:24
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeCustomAvailabilityZonesRequest.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithMarker
DescribeCustomAvailabilityZonesRequest & WithMarker(const Aws::String &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:210
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(const char *value)
Definition: DescribeCustomAvailabilityZonesRequest.h:69
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeCustomAvailabilityZonesRequest.h:202
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithMaxRecords
DescribeCustomAvailabilityZonesRequest & WithMaxRecords(int value)
Definition: DescribeCustomAvailabilityZonesRequest.h:161
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeCustomAvailabilityZonesRequest.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeCustomAvailabilityZonesRequest.h:108
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeCustomAvailabilityZonesRequest.h:170
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeCustomAvailabilityZonesRequest.h:93
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeCustomAvailabilityZonesRequest::WithCustomAvailabilityZoneId
DescribeCustomAvailabilityZonesRequest & WithCustomAvailabilityZoneId(const Aws::String &value)
Definition: DescribeCustomAvailabilityZonesRequest.h:75