7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename SnapshotIdentifierT = Aws::String>
49 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
50 template<
typename SnapshotIdentifierT = Aws::String>
61 template<
typename SnapshotArnT = Aws::String>
62 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
63 template<
typename SnapshotArnT = Aws::String>
75 template<
typename SnapshotClusterIdentifierT = Aws::String>
76 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value); }
77 template<
typename SnapshotClusterIdentifierT = Aws::String>
88 template<
typename AccountWithRestoreAccessT = Aws::String>
89 void SetAccountWithRestoreAccess(AccountWithRestoreAccessT&& value) { m_accountWithRestoreAccessHasBeenSet =
true; m_accountWithRestoreAccess = std::forward<AccountWithRestoreAccessT>(value); }
90 template<
typename AccountWithRestoreAccessT = Aws::String>
96 bool m_snapshotIdentifierHasBeenSet =
false;
99 bool m_snapshotArnHasBeenSet =
false;
102 bool m_snapshotClusterIdentifierHasBeenSet =
false;
105 bool m_accountWithRestoreAccessHasBeenSet =
false;
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetAccountWithRestoreAccess() const
bool SnapshotClusterIdentifierHasBeenSet() const
RevokeSnapshotAccessRequest & WithAccountWithRestoreAccess(AccountWithRestoreAccessT &&value)
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
bool SnapshotIdentifierHasBeenSet() const
const Aws::String & GetSnapshotClusterIdentifier() const
const Aws::String & GetSnapshotIdentifier() const
RevokeSnapshotAccessRequest & WithSnapshotArn(SnapshotArnT &&value)
bool AccountWithRestoreAccessHasBeenSet() const
void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
RevokeSnapshotAccessRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSnapshotArn() const
void SetAccountWithRestoreAccess(AccountWithRestoreAccessT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
RevokeSnapshotAccessRequest & WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
bool SnapshotArnHasBeenSet() const
AWS_REDSHIFT_API RevokeSnapshotAccessRequest()=default
void SetSnapshotArn(SnapshotArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String