AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeSourceRegionsRequest.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 "DescribeSourceRegions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
49  inline const Aws::String& GetRegionName() const{ return m_regionName; }
50 
56  inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
57 
63  inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
64 
70  inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
71 
77  inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
78 
84  inline DescribeSourceRegionsRequest& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
85 
91  inline DescribeSourceRegionsRequest& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
92 
98  inline DescribeSourceRegionsRequest& WithRegionName(const char* value) { SetRegionName(value); return *this;}
99 
100 
107  inline int GetMaxRecords() const{ return m_maxRecords; }
108 
115  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
116 
123  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
124 
131  inline DescribeSourceRegionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
132 
133 
140  inline const Aws::String& GetMarker() const{ return m_marker; }
141 
148  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
149 
156  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
157 
164  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
165 
172  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
173 
180  inline DescribeSourceRegionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
181 
188  inline DescribeSourceRegionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
189 
196  inline DescribeSourceRegionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
197 
198 
202  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
203 
207  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
208 
212  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
213 
217  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
218 
222  inline DescribeSourceRegionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
223 
227  inline DescribeSourceRegionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
228 
232  inline DescribeSourceRegionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
233 
237  inline DescribeSourceRegionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
238 
239  private:
240 
241  Aws::String m_regionName;
242  bool m_regionNameHasBeenSet;
243 
244  int m_maxRecords;
245  bool m_maxRecordsHasBeenSet;
246 
247  Aws::String m_marker;
248  bool m_markerHasBeenSet;
249 
250  Aws::Vector<Filter> m_filters;
251  bool m_filtersHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace RDS
256 } // namespace Aws
Aws::RDS::Model::DescribeSourceRegionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeSourceRegionsRequest.h:35
Aws::RDS::Model::DescribeSourceRegionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeSourceRegionsRequest.h:148
Aws::RDS::Model::DescribeSourceRegionsRequest::GetRegionName
const Aws::String & GetRegionName() const
Definition: DescribeSourceRegionsRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeSourceRegionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeSourceRegionsRequest.h:217
Aws::RDS::Model::DescribeSourceRegionsRequest::WithFilters
DescribeSourceRegionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeSourceRegionsRequest.h:222
Aws::RDS::Model::DescribeSourceRegionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeSourceRegionsRequest.h:212
Aws::RDS::Model::DescribeSourceRegionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeSourceRegionsRequest.h:140
Aws::RDS::Model::DescribeSourceRegionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeSourceRegionsRequest.h:202
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeSourceRegionsRequest::WithMarker
DescribeSourceRegionsRequest & WithMarker(const char *value)
Definition: DescribeSourceRegionsRequest.h:196
Aws::RDS::Model::DescribeSourceRegionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeSourceRegionsRequest.h:123
Aws::RDS::Model::DescribeSourceRegionsRequest::WithRegionName
DescribeSourceRegionsRequest & WithRegionName(const char *value)
Definition: DescribeSourceRegionsRequest.h:98
Aws::RDS::Model::DescribeSourceRegionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeSourceRegionsRequest.h:172
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeSourceRegionsRequest::DescribeSourceRegionsRequest
DescribeSourceRegionsRequest()
Aws::RDS::Model::DescribeSourceRegionsRequest::RegionNameHasBeenSet
bool RegionNameHasBeenSet() const
Definition: DescribeSourceRegionsRequest.h:56
Aws::RDS::Model::DescribeSourceRegionsRequest::WithMaxRecords
DescribeSourceRegionsRequest & WithMaxRecords(int value)
Definition: DescribeSourceRegionsRequest.h:131
AWSVector.h
Aws::RDS::Model::DescribeSourceRegionsRequest::WithRegionName
DescribeSourceRegionsRequest & WithRegionName(const Aws::String &value)
Definition: DescribeSourceRegionsRequest.h:84
Aws::RDS::Model::DescribeSourceRegionsRequest::WithRegionName
DescribeSourceRegionsRequest & WithRegionName(Aws::String &&value)
Definition: DescribeSourceRegionsRequest.h:91
RDS_EXPORTS.h
Aws::RDS::Model::DescribeSourceRegionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeSourceRegionsRequest.h:115
Aws::RDS::Model::DescribeSourceRegionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeSourceRegionsRequest.h:207
Aws::RDS::Model::DescribeSourceRegionsRequest::WithFilters
DescribeSourceRegionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeSourceRegionsRequest.h:227
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeSourceRegionsRequest::WithMarker
DescribeSourceRegionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeSourceRegionsRequest.h:188
Aws::RDS::Model::DescribeSourceRegionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeSourceRegionsRequest.h:156
Aws::RDS::Model::DescribeSourceRegionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeSourceRegionsRequest.h:107
AWSString.h
Aws::RDS::Model::DescribeSourceRegionsRequest
Definition: DescribeSourceRegionsRequest.h:27
Filter.h
Aws::RDS::Model::DescribeSourceRegionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeSourceRegionsRequest.h:164
Aws::RDS::Model::DescribeSourceRegionsRequest::SetRegionName
void SetRegionName(const char *value)
Definition: DescribeSourceRegionsRequest.h:77
Aws::RDS::Model::DescribeSourceRegionsRequest::SetRegionName
void SetRegionName(const Aws::String &value)
Definition: DescribeSourceRegionsRequest.h:63
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeSourceRegionsRequest::WithMarker
DescribeSourceRegionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeSourceRegionsRequest.h:180
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeSourceRegionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeSourceRegionsRequest::AddFilters
DescribeSourceRegionsRequest & AddFilters(Filter &&value)
Definition: DescribeSourceRegionsRequest.h:237
Aws::RDS::Model::DescribeSourceRegionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DescribeSourceRegionsRequest::SetRegionName
void SetRegionName(Aws::String &&value)
Definition: DescribeSourceRegionsRequest.h:70
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeSourceRegionsRequest::AddFilters
DescribeSourceRegionsRequest & AddFilters(const Filter &value)
Definition: DescribeSourceRegionsRequest.h:232