AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBClusterEndpointsRequest.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 "DescribeDBClusterEndpoints"; }
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
46 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
47 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
48 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
49 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
50 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
53 inline DescribeDBClusterEndpointsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
55
57
61 inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
62 inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
63 inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
64 inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
65 inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
70
72
87 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
88 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
89 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
90 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
91 inline DescribeDBClusterEndpointsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
92 inline DescribeDBClusterEndpointsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
93 inline DescribeDBClusterEndpointsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
94 inline DescribeDBClusterEndpointsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(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 DescribeDBClusterEndpointsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
109
111
117 inline const Aws::String& GetMarker() const{ return m_marker; }
118 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
119 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
120 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
121 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
122 inline DescribeDBClusterEndpointsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
123 inline DescribeDBClusterEndpointsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
124 inline DescribeDBClusterEndpointsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
126 private:
127
128 Aws::String m_dBClusterIdentifier;
129 bool m_dBClusterIdentifierHasBeenSet = false;
130
131 Aws::String m_dBClusterEndpointIdentifier;
132 bool m_dBClusterEndpointIdentifierHasBeenSet = false;
133
134 Aws::Vector<Filter> m_filters;
135 bool m_filtersHasBeenSet = false;
136
137 int m_maxRecords;
138 bool m_maxRecordsHasBeenSet = false;
139
140 Aws::String m_marker;
141 bool m_markerHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace RDS
146} // namespace Aws
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBClusterEndpointsRequest & WithMarker(Aws::String &&value)
DescribeDBClusterEndpointsRequest & WithDBClusterIdentifier(const Aws::String &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterEndpointsRequest & WithDBClusterEndpointIdentifier(const Aws::String &value)
DescribeDBClusterEndpointsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterEndpointsRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterEndpointsRequest & WithDBClusterIdentifier(const char *value)
DescribeDBClusterEndpointsRequest & WithDBClusterEndpointIdentifier(Aws::String &&value)
DescribeDBClusterEndpointsRequest & WithMaxRecords(int value)
DescribeDBClusterEndpointsRequest & AddFilters(const Filter &value)
DescribeDBClusterEndpointsRequest & WithDBClusterEndpointIdentifier(const char *value)
DescribeDBClusterEndpointsRequest & AddFilters(Filter &&value)
DescribeDBClusterEndpointsRequest & WithMarker(const Aws::String &value)
DescribeDBClusterEndpointsRequest & WithMarker(const char *value)
DescribeDBClusterEndpointsRequest & WithFilters(Aws::Vector< Filter > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector