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>
60 template<
typename SnapshotArnT = Aws::String>
61 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
62 template<
typename SnapshotArnT = Aws::String>
78 template<
typename SnapshotClusterIdentifierT = Aws::String>
79 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value); }
80 template<
typename SnapshotClusterIdentifierT = Aws::String>
92 template<
typename AccountWithRestoreAccessT = Aws::String>
93 void SetAccountWithRestoreAccess(AccountWithRestoreAccessT&& value) { m_accountWithRestoreAccessHasBeenSet =
true; m_accountWithRestoreAccess = std::forward<AccountWithRestoreAccessT>(value); }
94 template<
typename AccountWithRestoreAccessT = Aws::String>
100 bool m_snapshotIdentifierHasBeenSet =
false;
103 bool m_snapshotArnHasBeenSet =
false;
106 bool m_snapshotClusterIdentifierHasBeenSet =
false;
109 bool m_accountWithRestoreAccessHasBeenSet =
false;
AuthorizeSnapshotAccessRequest & WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AuthorizeSnapshotAccessRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
bool SnapshotArnHasBeenSet() const
const Aws::String & GetSnapshotArn() const
void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
void SetAccountWithRestoreAccess(AccountWithRestoreAccessT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetSnapshotClusterIdentifier() const
AuthorizeSnapshotAccessRequest & WithAccountWithRestoreAccess(AccountWithRestoreAccessT &&value)
AWS_REDSHIFT_API AuthorizeSnapshotAccessRequest()=default
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
void SetSnapshotArn(SnapshotArnT &&value)
const Aws::String & GetAccountWithRestoreAccess() const
bool AccountWithRestoreAccessHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSnapshotIdentifier() const
AuthorizeSnapshotAccessRequest & WithSnapshotArn(SnapshotArnT &&value)
bool SnapshotIdentifierHasBeenSet() const
bool SnapshotClusterIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String