AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBParameterGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBParameterGroups"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
49  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
50 
56  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
57 
63  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
64 
70  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
71 
77  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
78 
84  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
85 
91  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
92 
98  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
99 
100 
104  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
105 
109  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
110 
114  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
115 
119  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
120 
124  inline DescribeDBParameterGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
125 
129  inline DescribeDBParameterGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
130 
134  inline DescribeDBParameterGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
135 
139  inline DescribeDBParameterGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
140 
141 
149  inline int GetMaxRecords() const{ return m_maxRecords; }
150 
158  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
159 
167  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
168 
176  inline DescribeDBParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
177 
178 
185  inline const Aws::String& GetMarker() const{ return m_marker; }
186 
193  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
194 
201  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
202 
209  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
210 
217  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
218 
225  inline DescribeDBParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
226 
233  inline DescribeDBParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
234 
241  inline DescribeDBParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
242 
243  private:
244 
245  Aws::String m_dBParameterGroupName;
246  bool m_dBParameterGroupNameHasBeenSet;
247 
248  Aws::Vector<Filter> m_filters;
249  bool m_filtersHasBeenSet;
250 
251  int m_maxRecords;
252  bool m_maxRecordsHasBeenSet;
253 
254  Aws::String m_marker;
255  bool m_markerHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace RDS
260 } // namespace Aws
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithFilters
DescribeDBParameterGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBParameterGroupsRequest.h:129
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:217
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithMarker
DescribeDBParameterGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:225
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithMarker
DescribeDBParameterGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:233
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBParameterGroupsRequest.h:167
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:77
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBParameterGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:193
Aws::RDS::Model::DescribeDBParameterGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBParameterGroupsRequest.h:185
Aws::RDS::Model::DescribeDBParameterGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBParameterGroupsRequest.h:149
Aws::RDS::Model::DescribeDBParameterGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:109
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithDBParameterGroupName
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBParameterGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBParameterGroupsRequest.h:104
AWSVector.h
Aws::RDS::Model::DescribeDBParameterGroupsRequest
Definition: DescribeDBParameterGroupsRequest.h:27
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithMaxRecords
DescribeDBParameterGroupsRequest & WithMaxRecords(int value)
Definition: DescribeDBParameterGroupsRequest.h:176
Aws::RDS::Model::DescribeDBParameterGroupsRequest::AddFilters
DescribeDBParameterGroupsRequest & AddFilters(Filter &&value)
Definition: DescribeDBParameterGroupsRequest.h:139
Aws::RDS::Model::DescribeDBParameterGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBParameterGroupsRequest.h:35
Aws::RDS::Model::Filter
Definition: Filter.h:43
AWSString.h
Filter.h
Aws::RDS::Model::DescribeDBParameterGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeDBParameterGroupsRequest::GetDBParameterGroupName
const Aws::String & GetDBParameterGroupName() const
Definition: DescribeDBParameterGroupsRequest.h:49
Aws::RDS::Model::DescribeDBParameterGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:158
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBParameterGroupsRequest.h:114
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBParameterGroupsRequest::DBParameterGroupNameHasBeenSet
bool DBParameterGroupNameHasBeenSet() const
Definition: DescribeDBParameterGroupsRequest.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBParameterGroupsRequest.h:119
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:63
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBParameterGroupsRequest.h:201
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBParameterGroupsRequest::DescribeDBParameterGroupsRequest
DescribeDBParameterGroupsRequest()
RDSRequest.h
Aws::RDS::Model::DescribeDBParameterGroupsRequest::AddFilters
DescribeDBParameterGroupsRequest & AddFilters(const Filter &value)
Definition: DescribeDBParameterGroupsRequest.h:134
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithDBParameterGroupName
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:91
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithMarker
DescribeDBParameterGroupsRequest & WithMarker(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:241
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:209
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithDBParameterGroupName
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const char *value)
Definition: DescribeDBParameterGroupsRequest.h:98
Aws::RDS::Model::DescribeDBParameterGroupsRequest::SetDBParameterGroupName
void SetDBParameterGroupName(Aws::String &&value)
Definition: DescribeDBParameterGroupsRequest.h:70
Aws::RDS::Model::DescribeDBParameterGroupsRequest::WithFilters
DescribeDBParameterGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBParameterGroupsRequest.h:124