AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeParameterGroupsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/memorydb/MemoryDBRequest.h>
9#include <aws/memorydb/MemoryDB_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MemoryDB {
15namespace Model {
16
20 public:
21 AWS_MEMORYDB_API DescribeParameterGroupsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeParameterGroups"; }
28
29 AWS_MEMORYDB_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
38 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
39 template <typename ParameterGroupNameT = Aws::String>
40 void SetParameterGroupName(ParameterGroupNameT&& value) {
41 m_parameterGroupNameHasBeenSet = true;
42 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
43 }
44 template <typename ParameterGroupNameT = Aws::String>
46 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
47 return *this;
48 }
50
52
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) {
60 m_maxResultsHasBeenSet = true;
61 m_maxResults = value;
62 }
64 SetMaxResults(value);
65 return *this;
66 }
68
70
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 template <typename NextTokenT = Aws::String>
80 void SetNextToken(NextTokenT&& value) {
81 m_nextTokenHasBeenSet = true;
82 m_nextToken = std::forward<NextTokenT>(value);
83 }
84 template <typename NextTokenT = Aws::String>
86 SetNextToken(std::forward<NextTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_parameterGroupName;
92
93 int m_maxResults{0};
94
95 Aws::String m_nextToken;
96 bool m_parameterGroupNameHasBeenSet = false;
97 bool m_maxResultsHasBeenSet = false;
98 bool m_nextTokenHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MemoryDB
103} // namespace Aws
DescribeParameterGroupsRequest & WithMaxResults(int value)
AWS_MEMORYDB_API Aws::String SerializePayload() const override
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeParameterGroupsRequest & WithNextToken(NextTokenT &&value)
DescribeParameterGroupsRequest & WithParameterGroupName(ParameterGroupNameT &&value)
AWS_MEMORYDB_API DescribeParameterGroupsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String