AWS SDK for C++  1.8.154
AWS SDK for C++
DescribeCacheEngineVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElastiCache
15 {
16 namespace 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::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetEngine() const{ return m_engine; }
48 
53  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
54 
59  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
60 
65  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
66 
71  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
72 
77  inline DescribeCacheEngineVersionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
78 
83  inline DescribeCacheEngineVersionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
84 
89  inline DescribeCacheEngineVersionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
90 
91 
95  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
96 
100  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
101 
105  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
106 
110  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
111 
115  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
116 
120  inline DescribeCacheEngineVersionsRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
121 
125  inline DescribeCacheEngineVersionsRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
126 
130  inline DescribeCacheEngineVersionsRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
131 
132 
143  inline const Aws::String& GetCacheParameterGroupFamily() const{ return m_cacheParameterGroupFamily; }
144 
155  inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
156 
167  inline void SetCacheParameterGroupFamily(const Aws::String& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = value; }
168 
179  inline void SetCacheParameterGroupFamily(Aws::String&& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = std::move(value); }
180 
191  inline void SetCacheParameterGroupFamily(const char* value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily.assign(value); }
192 
203  inline DescribeCacheEngineVersionsRequest& WithCacheParameterGroupFamily(const Aws::String& value) { SetCacheParameterGroupFamily(value); return *this;}
204 
215  inline DescribeCacheEngineVersionsRequest& WithCacheParameterGroupFamily(Aws::String&& value) { SetCacheParameterGroupFamily(std::move(value)); return *this;}
216 
227  inline DescribeCacheEngineVersionsRequest& WithCacheParameterGroupFamily(const char* value) { SetCacheParameterGroupFamily(value); return *this;}
228 
229 
236  inline int GetMaxRecords() const{ return m_maxRecords; }
237 
244  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
245 
252  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
253 
260  inline DescribeCacheEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
261 
262 
269  inline const Aws::String& GetMarker() const{ return m_marker; }
270 
277  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
278 
285  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
286 
293  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
294 
301  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
302 
309  inline DescribeCacheEngineVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
310 
317  inline DescribeCacheEngineVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
318 
325  inline DescribeCacheEngineVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
326 
327 
332  inline bool GetDefaultOnly() const{ return m_defaultOnly; }
333 
338  inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; }
339 
344  inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; }
345 
350  inline DescribeCacheEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;}
351 
352  private:
353 
354  Aws::String m_engine;
355  bool m_engineHasBeenSet;
356 
357  Aws::String m_engineVersion;
358  bool m_engineVersionHasBeenSet;
359 
360  Aws::String m_cacheParameterGroupFamily;
361  bool m_cacheParameterGroupFamilyHasBeenSet;
362 
363  int m_maxRecords;
364  bool m_maxRecordsHasBeenSet;
365 
366  Aws::String m_marker;
367  bool m_markerHasBeenSet;
368 
369  bool m_defaultOnly;
370  bool m_defaultOnlyHasBeenSet;
371  };
372 
373 } // namespace Model
374 } // namespace ElastiCache
375 } // namespace Aws
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithMaxRecords
DescribeCacheEngineVersionsRequest & WithMaxRecords(int value)
Definition: DescribeCacheEngineVersionsRequest.h:260
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithMarker
DescribeCacheEngineVersionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:309
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithEngine
DescribeCacheEngineVersionsRequest & WithEngine(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:83
Aws::Http::URI
Definition: URI.h:32
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithEngineVersion
DescribeCacheEngineVersionsRequest & WithEngineVersion(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:120
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithEngine
DescribeCacheEngineVersionsRequest & WithEngine(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:89
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithCacheParameterGroupFamily
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:215
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithCacheParameterGroupFamily
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:227
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest
Definition: DescribeCacheEngineVersionsRequest.h:26
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetCacheParameterGroupFamily
void SetCacheParameterGroupFamily(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:167
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeCacheEngineVersionsRequest.h:252
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetEngine
void SetEngine(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:65
ElastiCacheRequest.h
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:293
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetEngine
void SetEngine(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:71
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetEngineVersion
void SetEngineVersion(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:105
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeCacheEngineVersionsRequest.h:244
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithCacheParameterGroupFamily
DescribeCacheEngineVersionsRequest & WithCacheParameterGroupFamily(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:203
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetEngineVersion
void SetEngineVersion(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:115
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::DefaultOnlyHasBeenSet
bool DefaultOnlyHasBeenSet() const
Definition: DescribeCacheEngineVersionsRequest.h:338
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: DescribeCacheEngineVersionsRequest.h:100
ElastiCache_EXPORTS.h
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:285
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetCacheParameterGroupFamily
const Aws::String & GetCacheParameterGroupFamily() const
Definition: DescribeCacheEngineVersionsRequest.h:143
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:301
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::EngineHasBeenSet
bool EngineHasBeenSet() const
Definition: DescribeCacheEngineVersionsRequest.h:53
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeCacheEngineVersionsRequest.h:277
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithDefaultOnly
DescribeCacheEngineVersionsRequest & WithDefaultOnly(bool value)
Definition: DescribeCacheEngineVersionsRequest.h:350
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetCacheParameterGroupFamily
void SetCacheParameterGroupFamily(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:191
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetDefaultOnly
bool GetDefaultOnly() const
Definition: DescribeCacheEngineVersionsRequest.h:332
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetEngine
void SetEngine(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:59
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetCacheParameterGroupFamily
void SetCacheParameterGroupFamily(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:179
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithEngineVersion
DescribeCacheEngineVersionsRequest & WithEngineVersion(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:125
AWSString.h
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetDefaultOnly
void SetDefaultOnly(bool value)
Definition: DescribeCacheEngineVersionsRequest.h:344
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCacheEngineVersionsRequest.h:34
AWS_ELASTICACHE_API
#define AWS_ELASTICACHE_API
Definition: ElastiCache_EXPORTS.h:28
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SetEngineVersion
void SetEngineVersion(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:110
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeCacheEngineVersionsRequest.h:269
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeCacheEngineVersionsRequest.h:236
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithEngineVersion
DescribeCacheEngineVersionsRequest & WithEngineVersion(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:130
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithEngine
DescribeCacheEngineVersionsRequest & WithEngine(const Aws::String &value)
Definition: DescribeCacheEngineVersionsRequest.h:77
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::DescribeCacheEngineVersionsRequest
DescribeCacheEngineVersionsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithMarker
DescribeCacheEngineVersionsRequest & WithMarker(const char *value)
Definition: DescribeCacheEngineVersionsRequest.h:325
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetEngineVersion
const Aws::String & GetEngineVersion() const
Definition: DescribeCacheEngineVersionsRequest.h:95
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::GetEngine
const Aws::String & GetEngine() const
Definition: DescribeCacheEngineVersionsRequest.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElastiCache::ElastiCacheRequest
Definition: ElastiCacheRequest.h:17
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::CacheParameterGroupFamilyHasBeenSet
bool CacheParameterGroupFamilyHasBeenSet() const
Definition: DescribeCacheEngineVersionsRequest.h:155
Aws::ElastiCache::Model::DescribeCacheEngineVersionsRequest::WithMarker
DescribeCacheEngineVersionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeCacheEngineVersionsRequest.h:317