AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
51 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
52 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
53 inline DescribeCacheEngineVersionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
54 inline DescribeCacheEngineVersionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
55 inline DescribeCacheEngineVersionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
57
59
62 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
63 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
64 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
65 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
66 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
68 inline DescribeCacheEngineVersionsRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
69 inline DescribeCacheEngineVersionsRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
71
73
84 inline const Aws::String& GetCacheParameterGroupFamily() const{ return m_cacheParameterGroupFamily; }
85 inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
86 inline void SetCacheParameterGroupFamily(const Aws::String& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = value; }
87 inline void SetCacheParameterGroupFamily(Aws::String&& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = std::move(value); }
88 inline void SetCacheParameterGroupFamily(const char* value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily.assign(value); }
93
95
101 inline int GetMaxRecords() const{ return m_maxRecords; }
102 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
103 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
104 inline DescribeCacheEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
106
108
114 inline const Aws::String& GetMarker() const{ return m_marker; }
115 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
116 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
117 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
118 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
119 inline DescribeCacheEngineVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
120 inline DescribeCacheEngineVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
121 inline DescribeCacheEngineVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
123
125
129 inline bool GetDefaultOnly() const{ return m_defaultOnly; }
130 inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; }
131 inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; }
132 inline DescribeCacheEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;}
134 private:
135
136 Aws::String m_engine;
137 bool m_engineHasBeenSet = false;
138
139 Aws::String m_engineVersion;
140 bool m_engineVersionHasBeenSet = false;
141
142 Aws::String m_cacheParameterGroupFamily;
143 bool m_cacheParameterGroupFamilyHasBeenSet = false;
144
145 int m_maxRecords;
146 bool m_maxRecordsHasBeenSet = false;
147
148 Aws::String m_marker;
149 bool m_markerHasBeenSet = false;
150
151 bool m_defaultOnly;
152 bool m_defaultOnlyHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace ElastiCache
157} // namespace Aws
DescribeCacheEngineVersionsRequest & WithEngine(const Aws::String &value)
DescribeCacheEngineVersionsRequest & WithEngine(Aws::String &&value)
DescribeCacheEngineVersionsRequest & WithMarker(const Aws::String &value)
DescribeCacheEngineVersionsRequest & WithMarker(Aws::String &&value)
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(const Aws::String &value)
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(const char *value)
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(Aws::String &&value)
DescribeCacheEngineVersionsRequest & WithMarker(const char *value)
DescribeCacheEngineVersionsRequest & WithEngine(const char *value)
DescribeCacheEngineVersionsRequest & WithEngineVersion(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeCacheEngineVersionsRequest & WithEngineVersion(const Aws::String &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeCacheEngineVersionsRequest & WithEngineVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String