AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
48 inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
49 inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
50 inline DescribeDBProxyTargetsRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
51 inline DescribeDBProxyTargetsRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
52 inline DescribeDBProxyTargetsRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
54
56
59 inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
60 inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
61 inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
62 inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
63 inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
65 inline DescribeDBProxyTargetsRequest& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
66 inline DescribeDBProxyTargetsRequest& WithTargetGroupName(const char* value) { SetTargetGroupName(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 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
76 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
77 inline DescribeDBProxyTargetsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
78 inline DescribeDBProxyTargetsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
79 inline DescribeDBProxyTargetsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
80 inline DescribeDBProxyTargetsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
82
84
89 inline const Aws::String& GetMarker() const{ return m_marker; }
90 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
92 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
93 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
94 inline DescribeDBProxyTargetsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
95 inline DescribeDBProxyTargetsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
96 inline DescribeDBProxyTargetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
98
100
106 inline int GetMaxRecords() const{ return m_maxRecords; }
107 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
108 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
109 inline DescribeDBProxyTargetsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
111 private:
112
113 Aws::String m_dBProxyName;
114 bool m_dBProxyNameHasBeenSet = false;
115
116 Aws::String m_targetGroupName;
117 bool m_targetGroupNameHasBeenSet = false;
118
119 Aws::Vector<Filter> m_filters;
120 bool m_filtersHasBeenSet = false;
121
122 Aws::String m_marker;
123 bool m_markerHasBeenSet = false;
124
125 int m_maxRecords;
126 bool m_maxRecordsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace RDS
131} // namespace Aws
DescribeDBProxyTargetsRequest & WithDBProxyName(Aws::String &&value)
DescribeDBProxyTargetsRequest & WithTargetGroupName(const Aws::String &value)
DescribeDBProxyTargetsRequest & WithDBProxyName(const char *value)
DescribeDBProxyTargetsRequest & WithTargetGroupName(const char *value)
DescribeDBProxyTargetsRequest & WithMaxRecords(int value)
DescribeDBProxyTargetsRequest & WithMarker(const Aws::String &value)
DescribeDBProxyTargetsRequest & AddFilters(const Filter &value)
DescribeDBProxyTargetsRequest & WithFilters(const Aws::Vector< Filter > &value)
virtual const char * GetServiceRequestName() const override
DescribeDBProxyTargetsRequest & AddFilters(Filter &&value)
DescribeDBProxyTargetsRequest & WithMarker(const char *value)
DescribeDBProxyTargetsRequest & WithTargetGroupName(Aws::String &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBProxyTargetsRequest & WithMarker(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBProxyTargetsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBProxyTargetsRequest & WithDBProxyName(const Aws::String &value)
void SetFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector