7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
44 template <
typename SnapshotIdentifierT = Aws::String>
46 m_snapshotIdentifierHasBeenSet =
true;
47 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
49 template <
typename SnapshotIdentifierT = Aws::String>
63 template <
typename SnapshotArnT = Aws::String>
65 m_snapshotArnHasBeenSet =
true;
66 m_snapshotArn = std::forward<SnapshotArnT>(value);
68 template <
typename SnapshotArnT = Aws::String>
83 template <
typename SnapshotClusterIdentifierT = Aws::String>
85 m_snapshotClusterIdentifierHasBeenSet =
true;
86 m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value);
88 template <
typename SnapshotClusterIdentifierT = Aws::String>
102 template <
typename AccountWithRestoreAccessT = Aws::String>
104 m_accountWithRestoreAccessHasBeenSet =
true;
105 m_accountWithRestoreAccess = std::forward<AccountWithRestoreAccessT>(value);
107 template <
typename AccountWithRestoreAccessT = Aws::String>
121 bool m_snapshotIdentifierHasBeenSet =
false;
122 bool m_snapshotArnHasBeenSet =
false;
123 bool m_snapshotClusterIdentifierHasBeenSet =
false;
124 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