AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeDBParameterGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Neptune
17 {
18 namespace 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 "DescribeDBParameterGroups"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
46  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
47 
53  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
54 
60  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
61 
67  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
68 
74  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
75 
81  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
82 
88  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
89 
95  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
96 
97 
101  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
102 
106  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
107 
111  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
112 
116  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
117 
121  inline DescribeDBParameterGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
122 
126  inline DescribeDBParameterGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
127 
131  inline DescribeDBParameterGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
132 
136  inline DescribeDBParameterGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
137 
138 
145  inline int GetMaxRecords() const{ return m_maxRecords; }
146 
153  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
154 
161  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
162 
169  inline DescribeDBParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
170 
171 
178  inline const Aws::String& GetMarker() const{ return m_marker; }
179 
186  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
187 
194  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
195 
202  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
203 
210  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
211 
218  inline DescribeDBParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
219 
226  inline DescribeDBParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
227 
234  inline DescribeDBParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
235 
236  private:
237 
238  Aws::String m_dBParameterGroupName;
239  bool m_dBParameterGroupNameHasBeenSet;
240 
241  Aws::Vector<Filter> m_filters;
242  bool m_filtersHasBeenSet;
243 
244  int m_maxRecords;
245  bool m_maxRecordsHasBeenSet;
246 
247  Aws::String m_marker;
248  bool m_markerHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace Neptune
253 } // namespace Aws
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetDBParameterGroupName
void SetDBParameterGroupName(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:67
Aws::Neptune::Model::Filter
Definition: Filter.h:33
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithFilters
DescribeDBParameterGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBParameterGroupsRequest.h:121
Aws::Http::URI
Definition: URI.h:32
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:210
Neptune_EXPORTS.h
Filter.h
Aws::Neptune::Model::DescribeDBParameterGroupsRequest
Definition: DescribeDBParameterGroupsRequest.h:24
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBParameterGroupsRequest.h:178
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBParameterGroupsRequest.h:161
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithMaxRecords
DescribeDBParameterGroupsRequest & WithMaxRecords(int value)
Definition: DescribeDBParameterGroupsRequest.h:169
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithDBParameterGroupName
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:81
AWSVector.h
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::AddFilters
DescribeDBParameterGroupsRequest & AddFilters(const Filter &value)
Definition: DescribeDBParameterGroupsRequest.h:131
Aws::Neptune::NeptuneRequest
Definition: NeptuneRequest.h:17
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBParameterGroupsRequest.h:116
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:186
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithMarker
DescribeDBParameterGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:218
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::DescribeDBParameterGroupsRequest
DescribeDBParameterGroupsRequest()
AWSString.h
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:202
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithMarker
DescribeDBParameterGroupsRequest & WithMarker(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:234
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:194
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:153
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::DBParameterGroupNameHasBeenSet
bool DBParameterGroupNameHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:53
NeptuneRequest.h
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBParameterGroupsRequest.h:145
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:60
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithMarker
DescribeDBParameterGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:226
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::GetDBParameterGroupName
const Aws::String & GetDBParameterGroupName() const
Definition: DescribeDBParameterGroupsRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithFilters
DescribeDBParameterGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBParameterGroupsRequest.h:126
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithDBParameterGroupName
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:88
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBParameterGroupsRequest.h:101
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBParameterGroupsRequest.h:111
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::WithDBParameterGroupName
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:95
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::AddFilters
DescribeDBParameterGroupsRequest & AddFilters(Filter &&value)
Definition: DescribeDBParameterGroupsRequest.h:136
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:74
Aws::Neptune::Model::DescribeDBParameterGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBParameterGroupsRequest.h:32