AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSourceRegionsRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
50 inline const Aws::String& GetRegionName() const{ return m_regionName; }
51 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
52 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
53 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
54 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
55 inline DescribeSourceRegionsRequest& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
56 inline DescribeSourceRegionsRequest& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
57 inline DescribeSourceRegionsRequest& WithRegionName(const char* value) { SetRegionName(value); return *this;}
59
61
67 inline int GetMaxRecords() const{ return m_maxRecords; }
68 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
69 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
70 inline DescribeSourceRegionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
72
74
80 inline const Aws::String& GetMarker() const{ return m_marker; }
81 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
82 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
83 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
84 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
85 inline DescribeSourceRegionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
86 inline DescribeSourceRegionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
87 inline DescribeSourceRegionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
89
91
94 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
95 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
96 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
97 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
98 inline DescribeSourceRegionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
99 inline DescribeSourceRegionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
100 inline DescribeSourceRegionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
101 inline DescribeSourceRegionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
103 private:
104
105 Aws::String m_regionName;
106 bool m_regionNameHasBeenSet = false;
107
108 int m_maxRecords;
109 bool m_maxRecordsHasBeenSet = false;
110
111 Aws::String m_marker;
112 bool m_markerHasBeenSet = false;
113
114 Aws::Vector<Filter> m_filters;
115 bool m_filtersHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace RDS
120} // namespace Aws
DescribeSourceRegionsRequest & WithRegionName(const Aws::String &value)
DescribeSourceRegionsRequest & AddFilters(Filter &&value)
DescribeSourceRegionsRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSourceRegionsRequest & AddFilters(const Filter &value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeSourceRegionsRequest & WithMarker(Aws::String &&value)
DescribeSourceRegionsRequest & WithFilters(Aws::Vector< Filter > &&value)
virtual const char * GetServiceRequestName() const override
void SetFilters(const Aws::Vector< Filter > &value)
DescribeSourceRegionsRequest & WithMarker(const char *value)
DescribeSourceRegionsRequest & WithRegionName(const char *value)
DescribeSourceRegionsRequest & WithRegionName(Aws::String &&value)
DescribeSourceRegionsRequest & WithMaxRecords(int value)
DescribeSourceRegionsRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector