AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBParameterGroupsRequest.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
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_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
50 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
51 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
52 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
53 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
54 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
57 inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
59
61
64 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
65 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
66 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
67 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
68 inline DescribeDBParameterGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
69 inline DescribeDBParameterGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
70 inline DescribeDBParameterGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
71 inline DescribeDBParameterGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
73
75
82 inline int GetMaxRecords() const{ return m_maxRecords; }
83 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
84 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
85 inline DescribeDBParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
87
89
95 inline const Aws::String& GetMarker() const{ return m_marker; }
96 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
97 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
98 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
99 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
100 inline DescribeDBParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
101 inline DescribeDBParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 inline DescribeDBParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
104 private:
105
106 Aws::String m_dBParameterGroupName;
107 bool m_dBParameterGroupNameHasBeenSet = false;
108
109 Aws::Vector<Filter> m_filters;
110 bool m_filtersHasBeenSet = false;
111
112 int m_maxRecords;
113 bool m_maxRecordsHasBeenSet = false;
114
115 Aws::String m_marker;
116 bool m_markerHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace RDS
121} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBParameterGroupsRequest & WithMarker(const char *value)
DescribeDBParameterGroupsRequest & WithMaxRecords(int value)
DescribeDBParameterGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const Aws::String &value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(Aws::String &&value)
DescribeDBParameterGroupsRequest & AddFilters(Filter &&value)
DescribeDBParameterGroupsRequest & WithMarker(const Aws::String &value)
DescribeDBParameterGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const char *value)
DescribeDBParameterGroupsRequest & WithMarker(Aws::String &&value)
DescribeDBParameterGroupsRequest & AddFilters(const Filter &value)
AWS_RDS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector