7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
9#include <aws/redshift-serverless/model/Namespace.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace RedshiftServerless {
33 template <
typename NamespaceT = Namespace>
35 m_namespaceHasBeenSet =
true;
36 m_namespace = std::forward<NamespaceT>(value);
38 template <
typename NamespaceT = Namespace>
50 template <
typename OwnerAccountT = Aws::String>
52 m_ownerAccountHasBeenSet =
true;
53 m_ownerAccount = std::forward<OwnerAccountT>(value);
55 template <
typename OwnerAccountT = Aws::String>
67 template <
typename SnapshotNameT = Aws::String>
69 m_snapshotNameHasBeenSet =
true;
70 m_snapshotName = std::forward<SnapshotNameT>(value);
72 template <
typename SnapshotNameT = Aws::String>
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
101 bool m_namespaceHasBeenSet =
false;
102 bool m_ownerAccountHasBeenSet =
false;
103 bool m_snapshotNameHasBeenSet =
false;
104 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