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); }
64 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
84 inline void SetSnapshotClusterIdentifier(
const char* value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier.assign(value); }
100 inline void SetAccountWithRestoreAccess(
const char* value) { m_accountWithRestoreAccessHasBeenSet =
true; m_accountWithRestoreAccess.assign(value); }
108 bool m_snapshotIdentifierHasBeenSet =
false;
111 bool m_snapshotArnHasBeenSet =
false;
114 bool m_snapshotClusterIdentifierHasBeenSet =
false;
117 bool m_accountWithRestoreAccessHasBeenSet =
false;
void SetSnapshotArn(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AuthorizeSnapshotAccessRequest & WithSnapshotIdentifier(const Aws::String &value)
bool SnapshotArnHasBeenSet() const
AuthorizeSnapshotAccessRequest & WithSnapshotArn(Aws::String &&value)
AuthorizeSnapshotAccessRequest & WithSnapshotArn(const char *value)
const Aws::String & GetSnapshotArn() const
AuthorizeSnapshotAccessRequest & WithAccountWithRestoreAccess(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSnapshotArn(const char *value)
AuthorizeSnapshotAccessRequest & WithAccountWithRestoreAccess(const char *value)
AuthorizeSnapshotAccessRequest & WithSnapshotClusterIdentifier(const char *value)
void SetSnapshotArn(Aws::String &&value)
AuthorizeSnapshotAccessRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
AuthorizeSnapshotAccessRequest & WithSnapshotIdentifier(const char *value)
const Aws::String & GetSnapshotClusterIdentifier() const
void SetSnapshotIdentifier(Aws::String &&value)
void SetSnapshotIdentifier(const Aws::String &value)
const Aws::String & GetAccountWithRestoreAccess() const
void SetSnapshotClusterIdentifier(const Aws::String &value)
void SetAccountWithRestoreAccess(Aws::String &&value)
bool AccountWithRestoreAccessHasBeenSet() const
void SetSnapshotIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
AuthorizeSnapshotAccessRequest & WithAccountWithRestoreAccess(Aws::String &&value)
AuthorizeSnapshotAccessRequest & WithSnapshotArn(const Aws::String &value)
AWS_REDSHIFT_API AuthorizeSnapshotAccessRequest()
void SetAccountWithRestoreAccess(const Aws::String &value)
void SetSnapshotClusterIdentifier(Aws::String &&value)
AuthorizeSnapshotAccessRequest & WithSnapshotIdentifier(Aws::String &&value)
void SetAccountWithRestoreAccess(const char *value)
AuthorizeSnapshotAccessRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
const Aws::String & GetSnapshotIdentifier() const
void SetSnapshotClusterIdentifier(const char *value)
bool SnapshotIdentifierHasBeenSet() const
bool SnapshotClusterIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String