7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12#include <aws/elasticache/model/ServerlessCacheSnapshot.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ElastiCache {
42 template <
typename NextTokenT = Aws::String>
44 m_nextTokenHasBeenSet =
true;
45 m_nextToken = std::forward<NextTokenT>(value);
47 template <
typename NextTokenT = Aws::String>
60 template <
typename ServerlessCacheSnapshotsT = Aws::Vector<ServerlessCacheSnapshot>>
62 m_serverlessCacheSnapshotsHasBeenSet =
true;
63 m_serverlessCacheSnapshots = std::forward<ServerlessCacheSnapshotsT>(value);
65 template <
typename ServerlessCacheSnapshotsT = Aws::Vector<ServerlessCacheSnapshot>>
70 template <
typename ServerlessCacheSnapshotsT = ServerlessCacheSnapshot>
72 m_serverlessCacheSnapshotsHasBeenSet =
true;
73 m_serverlessCacheSnapshots.emplace_back(std::forward<ServerlessCacheSnapshotsT>(value));
81 template <
typename ResponseMetadataT = ResponseMetadata>
83 m_responseMetadataHasBeenSet =
true;
84 m_responseMetadata = std::forward<ResponseMetadataT>(value);
86 template <
typename ResponseMetadataT = ResponseMetadata>
101 bool m_nextTokenHasBeenSet =
false;
102 bool m_serverlessCacheSnapshotsHasBeenSet =
false;
103 bool m_responseMetadataHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
DescribeServerlessCacheSnapshotsResult & WithNextToken(NextTokenT &&value)
void SetServerlessCacheSnapshots(ServerlessCacheSnapshotsT &&value)
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeServerlessCacheSnapshotsResult & AddServerlessCacheSnapshots(ServerlessCacheSnapshotsT &&value)
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeServerlessCacheSnapshotsResult & WithServerlessCacheSnapshots(ServerlessCacheSnapshotsT &&value)
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsResult()=default
DescribeServerlessCacheSnapshotsResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetNextToken() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< ServerlessCacheSnapshot > & GetServerlessCacheSnapshots() const
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument