AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeCacheEngineVersionsRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElastiCache
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ELASTICACHE_API DescribeCacheEngineVersionsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeCacheEngineVersions"; }
35
36 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
48 inline const Aws::String& GetEngine() const { return m_engine; }
49 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
50 template<typename EngineT = Aws::String>
51 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
52 template<typename EngineT = Aws::String>
53 DescribeCacheEngineVersionsRequest& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
55
57
60 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
61 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
62 template<typename EngineVersionT = Aws::String>
63 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
64 template<typename EngineVersionT = Aws::String>
65 DescribeCacheEngineVersionsRequest& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
67
69
80 inline const Aws::String& GetCacheParameterGroupFamily() const { return m_cacheParameterGroupFamily; }
81 inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
82 template<typename CacheParameterGroupFamilyT = Aws::String>
83 void SetCacheParameterGroupFamily(CacheParameterGroupFamilyT&& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = std::forward<CacheParameterGroupFamilyT>(value); }
84 template<typename CacheParameterGroupFamilyT = Aws::String>
85 DescribeCacheEngineVersionsRequest& WithCacheParameterGroupFamily(CacheParameterGroupFamilyT&& value) { SetCacheParameterGroupFamily(std::forward<CacheParameterGroupFamilyT>(value)); return *this;}
87
89
95 inline int GetMaxRecords() const { return m_maxRecords; }
96 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
97 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
98 inline DescribeCacheEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
100
102
108 inline const Aws::String& GetMarker() const { return m_marker; }
109 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
110 template<typename MarkerT = Aws::String>
111 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
112 template<typename MarkerT = Aws::String>
113 DescribeCacheEngineVersionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
115
117
121 inline bool GetDefaultOnly() const { return m_defaultOnly; }
122 inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; }
123 inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; }
124 inline DescribeCacheEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;}
126 private:
127
128 Aws::String m_engine;
129 bool m_engineHasBeenSet = false;
130
131 Aws::String m_engineVersion;
132 bool m_engineVersionHasBeenSet = false;
133
134 Aws::String m_cacheParameterGroupFamily;
135 bool m_cacheParameterGroupFamilyHasBeenSet = false;
136
137 int m_maxRecords{0};
138 bool m_maxRecordsHasBeenSet = false;
139
140 Aws::String m_marker;
141 bool m_markerHasBeenSet = false;
142
143 bool m_defaultOnly{false};
144 bool m_defaultOnlyHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace ElastiCache
149} // namespace Aws
DescribeCacheEngineVersionsRequest & WithEngineVersion(EngineVersionT &&value)
DescribeCacheEngineVersionsRequest & WithEngine(EngineT &&value)
DescribeCacheEngineVersionsRequest & WithMarker(MarkerT &&value)
AWS_ELASTICACHE_API DescribeCacheEngineVersionsRequest()=default
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(CacheParameterGroupFamilyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String