AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDBProxyEndpointsRequest.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
24 {
25 public:
26 AWS_RDS_API DescribeDBProxyEndpointsRequest() = 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 "DescribeDBProxyEndpoints"; }
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:
40
42
47 inline const Aws::String& GetDBProxyName() const { return m_dBProxyName; }
48 inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
49 template<typename DBProxyNameT = Aws::String>
50 void SetDBProxyName(DBProxyNameT&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::forward<DBProxyNameT>(value); }
51 template<typename DBProxyNameT = Aws::String>
52 DescribeDBProxyEndpointsRequest& WithDBProxyName(DBProxyNameT&& value) { SetDBProxyName(std::forward<DBProxyNameT>(value)); return *this;}
54
56
61 inline const Aws::String& GetDBProxyEndpointName() const { return m_dBProxyEndpointName; }
62 inline bool DBProxyEndpointNameHasBeenSet() const { return m_dBProxyEndpointNameHasBeenSet; }
63 template<typename DBProxyEndpointNameT = Aws::String>
64 void SetDBProxyEndpointName(DBProxyEndpointNameT&& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = std::forward<DBProxyEndpointNameT>(value); }
65 template<typename DBProxyEndpointNameT = Aws::String>
66 DescribeDBProxyEndpointsRequest& WithDBProxyEndpointName(DBProxyEndpointNameT&& value) { SetDBProxyEndpointName(std::forward<DBProxyEndpointNameT>(value)); return *this;}
68
70
73 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
74 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
75 template<typename FiltersT = Aws::Vector<Filter>>
76 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
77 template<typename FiltersT = Aws::Vector<Filter>>
78 DescribeDBProxyEndpointsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
79 template<typename FiltersT = Filter>
80 DescribeDBProxyEndpointsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
82
84
89 inline const Aws::String& GetMarker() const { return m_marker; }
90 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 template<typename MarkerT = Aws::String>
92 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
93 template<typename MarkerT = Aws::String>
94 DescribeDBProxyEndpointsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
96
98
104 inline int GetMaxRecords() const { return m_maxRecords; }
105 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
106 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
107 inline DescribeDBProxyEndpointsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
109 private:
110
111 Aws::String m_dBProxyName;
112 bool m_dBProxyNameHasBeenSet = false;
113
114 Aws::String m_dBProxyEndpointName;
115 bool m_dBProxyEndpointNameHasBeenSet = false;
116
117 Aws::Vector<Filter> m_filters;
118 bool m_filtersHasBeenSet = false;
119
120 Aws::String m_marker;
121 bool m_markerHasBeenSet = false;
122
123 int m_maxRecords{0};
124 bool m_maxRecordsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace RDS
129} // namespace Aws
DescribeDBProxyEndpointsRequest & WithDBProxyEndpointName(DBProxyEndpointNameT &&value)
DescribeDBProxyEndpointsRequest & WithMaxRecords(int value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBProxyEndpointsRequest & WithDBProxyName(DBProxyNameT &&value)
DescribeDBProxyEndpointsRequest & WithFilters(FiltersT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBProxyEndpointsRequest & AddFilters(FiltersT &&value)
DescribeDBProxyEndpointsRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector