AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeEngineDefaultParametersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElastiCache {
15namespace Model {
16
24 public:
25 AWS_ELASTICACHE_API DescribeEngineDefaultParametersRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeEngineDefaultParameters"; }
32
33 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
47 inline const Aws::String& GetCacheParameterGroupFamily() const { return m_cacheParameterGroupFamily; }
48 inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
49 template <typename CacheParameterGroupFamilyT = Aws::String>
50 void SetCacheParameterGroupFamily(CacheParameterGroupFamilyT&& value) {
51 m_cacheParameterGroupFamilyHasBeenSet = true;
52 m_cacheParameterGroupFamily = std::forward<CacheParameterGroupFamilyT>(value);
53 }
54 template <typename CacheParameterGroupFamilyT = Aws::String>
56 SetCacheParameterGroupFamily(std::forward<CacheParameterGroupFamilyT>(value));
57 return *this;
58 }
60
62
68 inline int GetMaxRecords() const { return m_maxRecords; }
69 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
70 inline void SetMaxRecords(int value) {
71 m_maxRecordsHasBeenSet = true;
72 m_maxRecords = value;
73 }
75 SetMaxRecords(value);
76 return *this;
77 }
79
81
87 inline const Aws::String& GetMarker() const { return m_marker; }
88 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
89 template <typename MarkerT = Aws::String>
90 void SetMarker(MarkerT&& value) {
91 m_markerHasBeenSet = true;
92 m_marker = std::forward<MarkerT>(value);
93 }
94 template <typename MarkerT = Aws::String>
96 SetMarker(std::forward<MarkerT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_cacheParameterGroupFamily;
102
103 int m_maxRecords{0};
104
105 Aws::String m_marker;
106 bool m_cacheParameterGroupFamilyHasBeenSet = false;
107 bool m_maxRecordsHasBeenSet = false;
108 bool m_markerHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace ElastiCache
113} // namespace Aws
DescribeEngineDefaultParametersRequest & WithCacheParameterGroupFamily(CacheParameterGroupFamilyT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeEngineDefaultParametersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String