7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10#include <aws/redshift-serverless/model/Namespace.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace RedshiftServerless {
34 template <
typename NamespaceT = Namespace>
36 m_namespaceHasBeenSet =
true;
37 m_namespace = std::forward<NamespaceT>(value);
39 template <
typename NamespaceT = Namespace>
51 template <
typename OwnerAccountT = Aws::String>
53 m_ownerAccountHasBeenSet =
true;
54 m_ownerAccount = std::forward<OwnerAccountT>(value);
56 template <
typename OwnerAccountT = Aws::String>
68 template <
typename SnapshotNameT = Aws::String>
70 m_snapshotNameHasBeenSet =
true;
71 m_snapshotName = std::forward<SnapshotNameT>(value);
73 template <
typename SnapshotNameT = Aws::String>
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
105 bool m_namespaceHasBeenSet =
false;
106 bool m_ownerAccountHasBeenSet =
false;
107 bool m_snapshotNameHasBeenSet =
false;
108 bool m_requestIdHasBeenSet =
false;
RestoreFromSnapshotResult & WithRequestId(RequestIdT &&value)
const Namespace & GetNamespace() const
RestoreFromSnapshotResult & WithOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetSnapshotName() const
const Aws::String & GetOwnerAccount() const
void SetSnapshotName(SnapshotNameT &&value)
const Aws::String & GetRequestId() const
void SetOwnerAccount(OwnerAccountT &&value)
void SetRequestId(RequestIdT &&value)
AWS_REDSHIFTSERVERLESS_API RestoreFromSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreFromSnapshotResult & WithSnapshotName(SnapshotNameT &&value)
void SetNamespace(NamespaceT &&value)
AWS_REDSHIFTSERVERLESS_API RestoreFromSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_REDSHIFTSERVERLESS_API RestoreFromSnapshotResult()=default
RestoreFromSnapshotResult & WithNamespace(NamespaceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue