AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeServerlessCacheSnapshotsResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/model/ResponseMetadata.h>
11#include <aws/elasticache/model/ServerlessCacheSnapshot.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElastiCache
27{
28namespace Model
29{
31 {
32 public:
36
37
39
45 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
50 inline DescribeServerlessCacheSnapshotsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline DescribeServerlessCacheSnapshotsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
59 inline const Aws::Vector<ServerlessCacheSnapshot>& GetServerlessCacheSnapshots() const{ return m_serverlessCacheSnapshots; }
60 inline void SetServerlessCacheSnapshots(const Aws::Vector<ServerlessCacheSnapshot>& value) { m_serverlessCacheSnapshots = value; }
61 inline void SetServerlessCacheSnapshots(Aws::Vector<ServerlessCacheSnapshot>&& value) { m_serverlessCacheSnapshots = std::move(value); }
64 inline DescribeServerlessCacheSnapshotsResult& AddServerlessCacheSnapshots(const ServerlessCacheSnapshot& value) { m_serverlessCacheSnapshots.push_back(value); return *this; }
65 inline DescribeServerlessCacheSnapshotsResult& AddServerlessCacheSnapshots(ServerlessCacheSnapshot&& value) { m_serverlessCacheSnapshots.push_back(std::move(value)); return *this; }
67
69
70 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
71 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
76 private:
77
78 Aws::String m_nextToken;
79
80 Aws::Vector<ServerlessCacheSnapshot> m_serverlessCacheSnapshots;
81
82 ResponseMetadata m_responseMetadata;
83 };
84
85} // namespace Model
86} // namespace ElastiCache
87} // namespace Aws
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeServerlessCacheSnapshotsResult & WithServerlessCacheSnapshots(Aws::Vector< ServerlessCacheSnapshot > &&value)
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeServerlessCacheSnapshotsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeServerlessCacheSnapshotsResult & AddServerlessCacheSnapshots(ServerlessCacheSnapshot &&value)
DescribeServerlessCacheSnapshotsResult & WithNextToken(const char *value)
DescribeServerlessCacheSnapshotsResult & WithNextToken(Aws::String &&value)
DescribeServerlessCacheSnapshotsResult & WithNextToken(const Aws::String &value)
DescribeServerlessCacheSnapshotsResult & WithServerlessCacheSnapshots(const Aws::Vector< ServerlessCacheSnapshot > &value)
DescribeServerlessCacheSnapshotsResult & AddServerlessCacheSnapshots(const ServerlessCacheSnapshot &value)
void SetServerlessCacheSnapshots(const Aws::Vector< ServerlessCacheSnapshot > &value)
void SetServerlessCacheSnapshots(Aws::Vector< ServerlessCacheSnapshot > &&value)
const Aws::Vector< ServerlessCacheSnapshot > & GetServerlessCacheSnapshots() const
DescribeServerlessCacheSnapshotsResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument