7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/model/Namespace.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace RedshiftServerless
39 template<
typename NamespaceT = Namespace>
40 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
41 template<
typename NamespaceT = Namespace>
50 template<
typename OwnerAccountT = Aws::String>
51 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
52 template<
typename OwnerAccountT = Aws::String>
61 template<
typename SnapshotNameT = Aws::String>
62 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet =
true; m_snapshotName = std::forward<SnapshotNameT>(value); }
63 template<
typename SnapshotNameT = Aws::String>
70 template<
typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
72 template<
typename RequestIdT = Aws::String>
78 bool m_namespaceHasBeenSet =
false;
81 bool m_ownerAccountHasBeenSet =
false;
84 bool m_snapshotNameHasBeenSet =
false;
87 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_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