AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeSourceRegionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RDS {
17namespace Model {
18
25 public:
26 AWS_RDS_API DescribeSourceRegionsRequest() = default;
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 "DescribeSourceRegions"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
46 inline const Aws::String& GetRegionName() const { return m_regionName; }
47 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
48 template <typename RegionNameT = Aws::String>
49 void SetRegionName(RegionNameT&& value) {
50 m_regionNameHasBeenSet = true;
51 m_regionName = std::forward<RegionNameT>(value);
52 }
53 template <typename RegionNameT = Aws::String>
55 SetRegionName(std::forward<RegionNameT>(value));
56 return *this;
57 }
59
61
67 inline int GetMaxRecords() const { return m_maxRecords; }
68 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
69 inline void SetMaxRecords(int value) {
70 m_maxRecordsHasBeenSet = true;
71 m_maxRecords = value;
72 }
74 SetMaxRecords(value);
75 return *this;
76 }
78
80
86 inline const Aws::String& GetMarker() const { return m_marker; }
87 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
88 template <typename MarkerT = Aws::String>
89 void SetMarker(MarkerT&& value) {
90 m_markerHasBeenSet = true;
91 m_marker = std::forward<MarkerT>(value);
92 }
93 template <typename MarkerT = Aws::String>
95 SetMarker(std::forward<MarkerT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
105 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
106 template <typename FiltersT = Aws::Vector<Filter>>
107 void SetFilters(FiltersT&& value) {
108 m_filtersHasBeenSet = true;
109 m_filters = std::forward<FiltersT>(value);
110 }
111 template <typename FiltersT = Aws::Vector<Filter>>
113 SetFilters(std::forward<FiltersT>(value));
114 return *this;
115 }
116 template <typename FiltersT = Filter>
118 m_filtersHasBeenSet = true;
119 m_filters.emplace_back(std::forward<FiltersT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_regionName;
125
126 int m_maxRecords{0};
127
128 Aws::String m_marker;
129
130 Aws::Vector<Filter> m_filters;
131 bool m_regionNameHasBeenSet = false;
132 bool m_maxRecordsHasBeenSet = false;
133 bool m_markerHasBeenSet = false;
134 bool m_filtersHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace RDS
139} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API DescribeSourceRegionsRequest()=default
AWS_RDS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeSourceRegionsRequest & WithMarker(MarkerT &&value)
DescribeSourceRegionsRequest & WithRegionName(RegionNameT &&value)
DescribeSourceRegionsRequest & WithFilters(FiltersT &&value)
DescribeSourceRegionsRequest & WithMaxRecords(int value)
DescribeSourceRegionsRequest & AddFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector