7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace RedshiftServerless
46 inline void SetAdminPasswordSecretKmsKeyId(
const char* value) { m_adminPasswordSecretKmsKeyIdHasBeenSet =
true; m_adminPasswordSecretKmsKeyId.assign(value); }
61 inline void SetManageAdminPassword(
bool value) { m_manageAdminPasswordHasBeenSet =
true; m_manageAdminPassword = value; }
73 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
87 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
105 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
120 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
134 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
142 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
144 bool m_manageAdminPassword;
145 bool m_manageAdminPasswordHasBeenSet =
false;
148 bool m_namespaceNameHasBeenSet =
false;
151 bool m_ownerAccountHasBeenSet =
false;
154 bool m_snapshotArnHasBeenSet =
false;
157 bool m_snapshotNameHasBeenSet =
false;
160 bool m_workgroupNameHasBeenSet =
false;
RestoreFromSnapshotRequest & WithSnapshotName(const char *value)
RestoreFromSnapshotRequest & WithWorkgroupName(Aws::String &&value)
RestoreFromSnapshotRequest & WithWorkgroupName(const Aws::String &value)
void SetNamespaceName(const char *value)
RestoreFromSnapshotRequest & WithNamespaceName(const char *value)
bool NamespaceNameHasBeenSet() const
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
void SetNamespaceName(Aws::String &&value)
void SetNamespaceName(const Aws::String &value)
RestoreFromSnapshotRequest & WithManageAdminPassword(bool value)
RestoreFromSnapshotRequest & WithAdminPasswordSecretKmsKeyId(const char *value)
RestoreFromSnapshotRequest & WithNamespaceName(Aws::String &&value)
void SetOwnerAccount(Aws::String &&value)
void SetSnapshotName(const char *value)
const Aws::String & GetNamespaceName() const
RestoreFromSnapshotRequest & WithOwnerAccount(const char *value)
RestoreFromSnapshotRequest & WithOwnerAccount(const Aws::String &value)
const Aws::String & GetWorkgroupName() const
void SetWorkgroupName(const char *value)
bool WorkgroupNameHasBeenSet() const
bool SnapshotArnHasBeenSet() const
RestoreFromSnapshotRequest & WithSnapshotArn(const char *value)
void SetWorkgroupName(Aws::String &&value)
const Aws::String & GetSnapshotName() const
bool GetManageAdminPassword() const
RestoreFromSnapshotRequest & WithAdminPasswordSecretKmsKeyId(const Aws::String &value)
RestoreFromSnapshotRequest & WithOwnerAccount(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API RestoreFromSnapshotRequest()
virtual const char * GetServiceRequestName() const override
bool ManageAdminPasswordHasBeenSet() const
const Aws::String & GetOwnerAccount() const
void SetAdminPasswordSecretKmsKeyId(const Aws::String &value)
void SetAdminPasswordSecretKmsKeyId(Aws::String &&value)
RestoreFromSnapshotRequest & WithSnapshotArn(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetManageAdminPassword(bool value)
RestoreFromSnapshotRequest & WithAdminPasswordSecretKmsKeyId(Aws::String &&value)
void SetAdminPasswordSecretKmsKeyId(const char *value)
void SetWorkgroupName(const Aws::String &value)
RestoreFromSnapshotRequest & WithWorkgroupName(const char *value)
bool OwnerAccountHasBeenSet() const
void SetSnapshotArn(const Aws::String &value)
bool SnapshotNameHasBeenSet() const
void SetOwnerAccount(const Aws::String &value)
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
void SetSnapshotArn(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetSnapshotName(Aws::String &&value)
RestoreFromSnapshotRequest & WithNamespaceName(const Aws::String &value)
void SetOwnerAccount(const char *value)
void SetSnapshotName(const Aws::String &value)
RestoreFromSnapshotRequest & WithSnapshotName(Aws::String &&value)
void SetSnapshotArn(const char *value)
const Aws::String & GetSnapshotArn() const
RestoreFromSnapshotRequest & WithSnapshotName(const Aws::String &value)
RestoreFromSnapshotRequest & WithSnapshotArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String