AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeDBParametersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/neptune/NeptuneRequest.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Neptune {
17namespace Model {
18
22 public:
23 AWS_NEPTUNE_API DescribeDBParametersRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBParameters"; }
30
31 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
43 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
44 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
45 template <typename DBParameterGroupNameT = Aws::String>
46 void SetDBParameterGroupName(DBParameterGroupNameT&& value) {
47 m_dBParameterGroupNameHasBeenSet = true;
48 m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value);
49 }
50 template <typename DBParameterGroupNameT = Aws::String>
51 DescribeDBParametersRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) {
52 SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetSource() const { return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 template <typename SourceT = Aws::String>
65 void SetSource(SourceT&& value) {
66 m_sourceHasBeenSet = true;
67 m_source = std::forward<SourceT>(value);
68 }
69 template <typename SourceT = Aws::String>
71 SetSource(std::forward<SourceT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
81 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
82 template <typename FiltersT = Aws::Vector<Filter>>
83 void SetFilters(FiltersT&& value) {
84 m_filtersHasBeenSet = true;
85 m_filters = std::forward<FiltersT>(value);
86 }
87 template <typename FiltersT = Aws::Vector<Filter>>
89 SetFilters(std::forward<FiltersT>(value));
90 return *this;
91 }
92 template <typename FiltersT = Filter>
94 m_filtersHasBeenSet = true;
95 m_filters.emplace_back(std::forward<FiltersT>(value));
96 return *this;
97 }
99
101
107 inline int GetMaxRecords() const { return m_maxRecords; }
108 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
109 inline void SetMaxRecords(int value) {
110 m_maxRecordsHasBeenSet = true;
111 m_maxRecords = value;
112 }
114 SetMaxRecords(value);
115 return *this;
116 }
118
120
126 inline const Aws::String& GetMarker() const { return m_marker; }
127 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
128 template <typename MarkerT = Aws::String>
129 void SetMarker(MarkerT&& value) {
130 m_markerHasBeenSet = true;
131 m_marker = std::forward<MarkerT>(value);
132 }
133 template <typename MarkerT = Aws::String>
135 SetMarker(std::forward<MarkerT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_dBParameterGroupName;
141 bool m_dBParameterGroupNameHasBeenSet = false;
142
143 Aws::String m_source;
144 bool m_sourceHasBeenSet = false;
145
146 Aws::Vector<Filter> m_filters;
147 bool m_filtersHasBeenSet = false;
148
149 int m_maxRecords{0};
150 bool m_maxRecordsHasBeenSet = false;
151
152 Aws::String m_marker;
153 bool m_markerHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace Neptune
158} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetDBParameterGroupName(DBParameterGroupNameT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBParametersRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
DescribeDBParametersRequest & AddFilters(FiltersT &&value)
DescribeDBParametersRequest & WithMaxRecords(int value)
AWS_NEPTUNE_API DescribeDBParametersRequest()=default
DescribeDBParametersRequest & WithFilters(FiltersT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeDBParametersRequest & WithSource(SourceT &&value)
DescribeDBParametersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector