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 SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
60 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
74 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
82 bool m_ownerAccountHasBeenSet =
false;
85 bool m_snapshotArnHasBeenSet =
false;
88 bool m_snapshotNameHasBeenSet =
false;
void SetSnapshotName(const char *value)
const Aws::String & GetSnapshotArn() const
void SetSnapshotArn(const Aws::String &value)
void SetOwnerAccount(const Aws::String &value)
GetSnapshotRequest & WithSnapshotArn(Aws::String &&value)
bool OwnerAccountHasBeenSet() const
const Aws::String & GetSnapshotName() const
AWS_REDSHIFTSERVERLESS_API GetSnapshotRequest()
bool SnapshotArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
GetSnapshotRequest & WithSnapshotName(const Aws::String &value)
GetSnapshotRequest & WithOwnerAccount(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSnapshotName(const Aws::String &value)
GetSnapshotRequest & WithOwnerAccount(const char *value)
const Aws::String & GetOwnerAccount() const
GetSnapshotRequest & WithSnapshotArn(const Aws::String &value)
void SetSnapshotArn(Aws::String &&value)
void SetSnapshotArn(const char *value)
void SetOwnerAccount(Aws::String &&value)
GetSnapshotRequest & WithSnapshotArn(const char *value)
void SetSnapshotName(Aws::String &&value)
GetSnapshotRequest & WithSnapshotName(Aws::String &&value)
void SetOwnerAccount(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
GetSnapshotRequest & WithOwnerAccount(const Aws::String &value)
GetSnapshotRequest & WithSnapshotName(const char *value)
bool SnapshotNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String