7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetSnapshotIdentifier(
const char* value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier.assign(value); }
65 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
81 inline void SetSnapshotClusterIdentifier(
const char* value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier.assign(value); }
96 inline void SetAccountWithRestoreAccess(
const char* value) { m_accountWithRestoreAccessHasBeenSet =
true; m_accountWithRestoreAccess.assign(value); }
104 bool m_snapshotIdentifierHasBeenSet =
false;
107 bool m_snapshotArnHasBeenSet =
false;
110 bool m_snapshotClusterIdentifierHasBeenSet =
false;
113 bool m_accountWithRestoreAccessHasBeenSet =
false;
void SetAccountWithRestoreAccess(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetAccountWithRestoreAccess() const
void SetAccountWithRestoreAccess(const char *value)
void SetSnapshotIdentifier(const Aws::String &value)
void SetSnapshotClusterIdentifier(const Aws::String &value)
void SetSnapshotArn(const char *value)
AWS_REDSHIFT_API RevokeSnapshotAccessRequest()
void SetSnapshotClusterIdentifier(Aws::String &&value)
bool SnapshotClusterIdentifierHasBeenSet() const
RevokeSnapshotAccessRequest & WithAccountWithRestoreAccess(const char *value)
RevokeSnapshotAccessRequest & WithAccountWithRestoreAccess(Aws::String &&value)
RevokeSnapshotAccessRequest & WithSnapshotArn(const char *value)
RevokeSnapshotAccessRequest & WithSnapshotIdentifier(const Aws::String &value)
void SetSnapshotIdentifier(Aws::String &&value)
RevokeSnapshotAccessRequest & WithSnapshotIdentifier(const char *value)
bool SnapshotIdentifierHasBeenSet() const
RevokeSnapshotAccessRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
void SetSnapshotClusterIdentifier(const char *value)
RevokeSnapshotAccessRequest & WithAccountWithRestoreAccess(const Aws::String &value)
const Aws::String & GetSnapshotClusterIdentifier() const
void SetAccountWithRestoreAccess(Aws::String &&value)
void SetSnapshotArn(Aws::String &&value)
RevokeSnapshotAccessRequest & WithSnapshotIdentifier(Aws::String &&value)
const Aws::String & GetSnapshotIdentifier() const
void SetSnapshotIdentifier(const char *value)
bool AccountWithRestoreAccessHasBeenSet() const
virtual const char * GetServiceRequestName() const override
RevokeSnapshotAccessRequest & WithSnapshotArn(Aws::String &&value)
const Aws::String & GetSnapshotArn() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
bool SnapshotArnHasBeenSet() const
RevokeSnapshotAccessRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
RevokeSnapshotAccessRequest & WithSnapshotClusterIdentifier(const char *value)
RevokeSnapshotAccessRequest & WithSnapshotArn(const Aws::String &value)
void SetSnapshotArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String