AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeServerlessCachesRequest.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
22 {
23 public:
24 AWS_ELASTICACHE_API DescribeServerlessCachesRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeServerlessCaches"; }
31
32 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
44 inline const Aws::String& GetServerlessCacheName() const{ return m_serverlessCacheName; }
45 inline bool ServerlessCacheNameHasBeenSet() const { return m_serverlessCacheNameHasBeenSet; }
46 inline void SetServerlessCacheName(const Aws::String& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = value; }
47 inline void SetServerlessCacheName(Aws::String&& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = std::move(value); }
48 inline void SetServerlessCacheName(const char* value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName.assign(value); }
51 inline DescribeServerlessCachesRequest& WithServerlessCacheName(const char* value) { SetServerlessCacheName(value); return *this;}
53
55
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline DescribeServerlessCachesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
73 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
78 inline DescribeServerlessCachesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
79 inline DescribeServerlessCachesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline DescribeServerlessCachesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82 private:
83
84 Aws::String m_serverlessCacheName;
85 bool m_serverlessCacheNameHasBeenSet = false;
86
87 int m_maxResults;
88 bool m_maxResultsHasBeenSet = false;
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ElastiCache
96} // namespace Aws
DescribeServerlessCachesRequest & WithServerlessCacheName(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeServerlessCachesRequest & WithServerlessCacheName(const Aws::String &value)
DescribeServerlessCachesRequest & WithNextToken(const char *value)
DescribeServerlessCachesRequest & WithServerlessCacheName(Aws::String &&value)
DescribeServerlessCachesRequest & WithNextToken(const Aws::String &value)
DescribeServerlessCachesRequest & WithNextToken(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String