AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeDBProxyTargetsRequest.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 DescribeDBProxyTargetsRequest() = 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 "DescribeDBProxyTargets"; }
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
45 inline const Aws::String& GetDBProxyName() const { return m_dBProxyName; }
46 inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
47 template<typename DBProxyNameT = Aws::String>
48 void SetDBProxyName(DBProxyNameT&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::forward<DBProxyNameT>(value); }
49 template<typename DBProxyNameT = Aws::String>
50 DescribeDBProxyTargetsRequest& WithDBProxyName(DBProxyNameT&& value) { SetDBProxyName(std::forward<DBProxyNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetTargetGroupName() const { return m_targetGroupName; }
58 inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
59 template<typename TargetGroupNameT = Aws::String>
60 void SetTargetGroupName(TargetGroupNameT&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::forward<TargetGroupNameT>(value); }
61 template<typename TargetGroupNameT = Aws::String>
62 DescribeDBProxyTargetsRequest& WithTargetGroupName(TargetGroupNameT&& value) { SetTargetGroupName(std::forward<TargetGroupNameT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
70 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
71 template<typename FiltersT = Aws::Vector<Filter>>
72 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
73 template<typename FiltersT = Aws::Vector<Filter>>
74 DescribeDBProxyTargetsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
75 template<typename FiltersT = Filter>
76 DescribeDBProxyTargetsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
78
80
85 inline const Aws::String& GetMarker() const { return m_marker; }
86 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
87 template<typename MarkerT = Aws::String>
88 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
89 template<typename MarkerT = Aws::String>
90 DescribeDBProxyTargetsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
92
94
100 inline int GetMaxRecords() const { return m_maxRecords; }
101 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
102 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
103 inline DescribeDBProxyTargetsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
105 private:
106
107 Aws::String m_dBProxyName;
108 bool m_dBProxyNameHasBeenSet = false;
109
110 Aws::String m_targetGroupName;
111 bool m_targetGroupNameHasBeenSet = false;
112
113 Aws::Vector<Filter> m_filters;
114 bool m_filtersHasBeenSet = false;
115
116 Aws::String m_marker;
117 bool m_markerHasBeenSet = false;
118
119 int m_maxRecords{0};
120 bool m_maxRecordsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace RDS
125} // namespace Aws
DescribeDBProxyTargetsRequest & WithMaxRecords(int value)
DescribeDBProxyTargetsRequest & AddFilters(FiltersT &&value)
virtual const char * GetServiceRequestName() const override
DescribeDBProxyTargetsRequest & WithTargetGroupName(TargetGroupNameT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBProxyTargetsRequest & WithDBProxyName(DBProxyNameT &&value)
DescribeDBProxyTargetsRequest & WithFilters(FiltersT &&value)
DescribeDBProxyTargetsRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector