AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBClustersRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NEPTUNE_API DescribeDBClustersRequest();
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 "DescribeDBClusters"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
48 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
49 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
50 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
51 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
52 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
54 inline DescribeDBClustersRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
55 inline DescribeDBClustersRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
57
59
70 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
71 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
72 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
73 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
74 inline DescribeDBClustersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
75 inline DescribeDBClustersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
76 inline DescribeDBClustersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
77 inline DescribeDBClustersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
79
81
87 inline int GetMaxRecords() const{ return m_maxRecords; }
88 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
89 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
90 inline DescribeDBClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
92
94
99 inline const Aws::String& GetMarker() const{ return m_marker; }
100 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
101 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
102 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
103 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
104 inline DescribeDBClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
105 inline DescribeDBClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
106 inline DescribeDBClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
108 private:
109
110 Aws::String m_dBClusterIdentifier;
111 bool m_dBClusterIdentifierHasBeenSet = false;
112
113 Aws::Vector<Filter> m_filters;
114 bool m_filtersHasBeenSet = false;
115
116 int m_maxRecords;
117 bool m_maxRecordsHasBeenSet = false;
118
119 Aws::String m_marker;
120 bool m_markerHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Neptune
125} // namespace Aws
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBClustersRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClustersRequest & WithMarker(Aws::String &&value)
DescribeDBClustersRequest & WithMaxRecords(int value)
virtual const char * GetServiceRequestName() const override
DescribeDBClustersRequest & AddFilters(Filter &&value)
DescribeDBClustersRequest & AddFilters(const Filter &value)
DescribeDBClustersRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClustersRequest & WithMarker(const char *value)
const Aws::Vector< Filter > & GetFilters() const
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClustersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClustersRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClustersRequest & WithMarker(const Aws::String &value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeDBClustersRequest & WithDBClusterIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector