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>
62 template <
typename SnapshotArnT = Aws::String>
64 m_snapshotArnHasBeenSet =
true;
65 m_snapshotArn = std::forward<SnapshotArnT>(value);
67 template <
typename SnapshotArnT = Aws::String>
86 template <
typename SnapshotClusterIdentifierT = Aws::String>
88 m_snapshotClusterIdentifierHasBeenSet =
true;
89 m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value);
91 template <
typename SnapshotClusterIdentifierT = Aws::String>
106 template <
typename AccountWithRestoreAccessT = Aws::String>
108 m_accountWithRestoreAccessHasBeenSet =
true;
109 m_accountWithRestoreAccess = std::forward<AccountWithRestoreAccessT>(value);
111 template <
typename AccountWithRestoreAccessT = Aws::String>
125 bool m_snapshotIdentifierHasBeenSet =
false;
126 bool m_snapshotArnHasBeenSet =
false;
127 bool m_snapshotClusterIdentifierHasBeenSet =
false;
128 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