7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetBackupVaultName(
const char* value) { m_backupVaultNameHasBeenSet =
true; m_backupVaultName.assign(value); }
59 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
67 bool m_backupVaultNameHasBeenSet =
false;
70 bool m_policyHasBeenSet =
false;
bool BackupVaultNameHasBeenSet() const
bool PolicyHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_BACKUP_API Aws::String SerializePayload() const override
PutBackupVaultAccessPolicyRequest & WithBackupVaultName(Aws::String &&value)
void SetPolicy(const Aws::String &value)
void SetBackupVaultName(Aws::String &&value)
const Aws::String & GetBackupVaultName() const
AWS_BACKUP_API PutBackupVaultAccessPolicyRequest()
PutBackupVaultAccessPolicyRequest & WithPolicy(const char *value)
PutBackupVaultAccessPolicyRequest & WithBackupVaultName(const Aws::String &value)
void SetBackupVaultName(const Aws::String &value)
void SetPolicy(Aws::String &&value)
void SetBackupVaultName(const char *value)
PutBackupVaultAccessPolicyRequest & WithPolicy(Aws::String &&value)
PutBackupVaultAccessPolicyRequest & WithBackupVaultName(const char *value)
PutBackupVaultAccessPolicyRequest & WithPolicy(const Aws::String &value)
const Aws::String & GetPolicy() const
void SetPolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String