7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/Snapshot.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename SnapshotT = Snapshot>
39 m_snapshotHasBeenSet =
true;
40 m_snapshot = std::forward<SnapshotT>(value);
42 template <
typename SnapshotT = Snapshot>
52 template <
typename RequestIdT = Aws::String>
54 m_requestIdHasBeenSet =
true;
55 m_requestId = std::forward<RequestIdT>(value);
57 template <
typename RequestIdT = Aws::String>
70 bool m_snapshotHasBeenSet =
false;
71 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
CopySnapshotResult & WithSnapshot(SnapshotT &&value)
const Snapshot & GetSnapshot() const
CopySnapshotResult & WithRequestId(RequestIdT &&value)
AWS_MEMORYDB_API CopySnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetRequestId() const
AWS_MEMORYDB_API CopySnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetSnapshot(SnapshotT &&value)
AWS_MEMORYDB_API CopySnapshotResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String