AWS SDK for C++  1.9.4
AWS SDK for C++
DeleteBackupVaultRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Backup
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteBackupVault"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
41  inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
42 
49  inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
50 
57  inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
58 
65  inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
66 
73  inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
74 
81  inline DeleteBackupVaultRequest& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
82 
89  inline DeleteBackupVaultRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
90 
97  inline DeleteBackupVaultRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
98 
99  private:
100 
101  Aws::String m_backupVaultName;
102  bool m_backupVaultNameHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace Backup
107 } // namespace Aws
Aws::Backup::Model::DeleteBackupVaultRequest::DeleteBackupVaultRequest
DeleteBackupVaultRequest()
Aws::Backup::Model::DeleteBackupVaultRequest::WithBackupVaultName
DeleteBackupVaultRequest & WithBackupVaultName(const char *value)
Definition: DeleteBackupVaultRequest.h:97
Aws::Backup::Model::DeleteBackupVaultRequest::BackupVaultNameHasBeenSet
bool BackupVaultNameHasBeenSet() const
Definition: DeleteBackupVaultRequest.h:49
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::DeleteBackupVaultRequest::SerializePayload
Aws::String SerializePayload() const override
BackupRequest.h
Aws::Backup::Model::DeleteBackupVaultRequest
Definition: DeleteBackupVaultRequest.h:22
Aws::Backup::Model::DeleteBackupVaultRequest::SetBackupVaultName
void SetBackupVaultName(const Aws::String &value)
Definition: DeleteBackupVaultRequest.h:57
Aws::Backup::Model::DeleteBackupVaultRequest::SetBackupVaultName
void SetBackupVaultName(Aws::String &&value)
Definition: DeleteBackupVaultRequest.h:65
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::DeleteBackupVaultRequest::WithBackupVaultName
DeleteBackupVaultRequest & WithBackupVaultName(const Aws::String &value)
Definition: DeleteBackupVaultRequest.h:81
AWSString.h
Aws::Backup::Model::DeleteBackupVaultRequest::GetBackupVaultName
const Aws::String & GetBackupVaultName() const
Definition: DeleteBackupVaultRequest.h:41
Aws::Backup::Model::DeleteBackupVaultRequest::WithBackupVaultName
DeleteBackupVaultRequest & WithBackupVaultName(Aws::String &&value)
Definition: DeleteBackupVaultRequest.h:89
Backup_EXPORTS.h
Aws::Backup::Model::DeleteBackupVaultRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBackupVaultRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::DeleteBackupVaultRequest::SetBackupVaultName
void SetBackupVaultName(const char *value)
Definition: DeleteBackupVaultRequest.h:73