AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CopyServerlessCacheSnapshotResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/model/ResponseMetadata.h>
9#include <aws/elasticache/model/ServerlessCacheSnapshot.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache {
23namespace Model {
25 public:
26 AWS_ELASTICACHE_API CopyServerlessCacheSnapshotResult() = default;
29
31
35 inline const ServerlessCacheSnapshot& GetServerlessCacheSnapshot() const { return m_serverlessCacheSnapshot; }
36 template <typename ServerlessCacheSnapshotT = ServerlessCacheSnapshot>
37 void SetServerlessCacheSnapshot(ServerlessCacheSnapshotT&& value) {
38 m_serverlessCacheSnapshotHasBeenSet = true;
39 m_serverlessCacheSnapshot = std::forward<ServerlessCacheSnapshotT>(value);
40 }
41 template <typename ServerlessCacheSnapshotT = ServerlessCacheSnapshot>
43 SetServerlessCacheSnapshot(std::forward<ServerlessCacheSnapshotT>(value));
44 return *this;
45 }
47
49
50 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
51 template <typename ResponseMetadataT = ResponseMetadata>
52 void SetResponseMetadata(ResponseMetadataT&& value) {
53 m_responseMetadataHasBeenSet = true;
54 m_responseMetadata = std::forward<ResponseMetadataT>(value);
55 }
56 template <typename ResponseMetadataT = ResponseMetadata>
58 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
59 return *this;
60 }
62 private:
63 ServerlessCacheSnapshot m_serverlessCacheSnapshot;
64
65 ResponseMetadata m_responseMetadata;
66 bool m_serverlessCacheSnapshotHasBeenSet = false;
67 bool m_responseMetadataHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace ElastiCache
72} // namespace Aws
CopyServerlessCacheSnapshotResult & WithServerlessCacheSnapshot(ServerlessCacheSnapshotT &&value)
CopyServerlessCacheSnapshotResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API CopyServerlessCacheSnapshotResult()=default
AWS_ELASTICACHE_API CopyServerlessCacheSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API CopyServerlessCacheSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument