7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/ResponseMetadata.h>
11#include <aws/elasticache/model/ServerlessCacheSnapshot.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ElastiCache {
41 template <
typename NextTokenT = Aws::String>
43 m_nextTokenHasBeenSet =
true;
44 m_nextToken = std::forward<NextTokenT>(value);
46 template <
typename NextTokenT = Aws::String>
59 template <
typename ServerlessCacheSnapshotsT = Aws::Vector<ServerlessCacheSnapshot>>
61 m_serverlessCacheSnapshotsHasBeenSet =
true;
62 m_serverlessCacheSnapshots = std::forward<ServerlessCacheSnapshotsT>(value);
64 template <
typename ServerlessCacheSnapshotsT = Aws::Vector<ServerlessCacheSnapshot>>
69 template <
typename ServerlessCacheSnapshotsT = ServerlessCacheSnapshot>
71 m_serverlessCacheSnapshotsHasBeenSet =
true;
72 m_serverlessCacheSnapshots.emplace_back(std::forward<ServerlessCacheSnapshotsT>(value));
80 template <
typename ResponseMetadataT = ResponseMetadata>
82 m_responseMetadataHasBeenSet =
true;
83 m_responseMetadata = std::forward<ResponseMetadataT>(value);
85 template <
typename ResponseMetadataT = ResponseMetadata>
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_serverlessCacheSnapshotsHasBeenSet =
false;
99 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
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