7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
9#include <aws/redshift-serverless/model/Snapshot.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace RedshiftServerless {
35 template <
typename SnapshotT = Snapshot>
37 m_snapshotHasBeenSet =
true;
38 m_snapshot = std::forward<SnapshotT>(value);
40 template <
typename SnapshotT = Snapshot>
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
65 bool m_snapshotHasBeenSet =
false;
66 bool m_requestIdHasBeenSet =
false;
void SetSnapshot(SnapshotT &&value)
GetSnapshotResult & WithRequestId(RequestIdT &&value)
const Snapshot & GetSnapshot() const
AWS_REDSHIFTSERVERLESS_API GetSnapshotResult()=default
AWS_REDSHIFTSERVERLESS_API GetSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetSnapshotResult & WithSnapshot(SnapshotT &&value)
AWS_REDSHIFTSERVERLESS_API GetSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue