AWS SDK for C++  1.9.4
AWS SDK for C++
DeleteRecoveryPointRequest.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 "DeleteRecoveryPoint"; }
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 DeleteRecoveryPointRequest& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
82 
89  inline DeleteRecoveryPointRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
90 
97  inline DeleteRecoveryPointRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
98 
99 
105  inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
106 
112  inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
113 
119  inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; }
120 
126  inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); }
127 
133  inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); }
134 
140  inline DeleteRecoveryPointRequest& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
141 
147  inline DeleteRecoveryPointRequest& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
148 
154  inline DeleteRecoveryPointRequest& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
155 
156  private:
157 
158  Aws::String m_backupVaultName;
159  bool m_backupVaultNameHasBeenSet;
160 
161  Aws::String m_recoveryPointArn;
162  bool m_recoveryPointArnHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace Backup
167 } // namespace Aws
Aws::Backup::Model::DeleteRecoveryPointRequest::BackupVaultNameHasBeenSet
bool BackupVaultNameHasBeenSet() const
Definition: DeleteRecoveryPointRequest.h:49
Aws::Backup::Model::DeleteRecoveryPointRequest::GetRecoveryPointArn
const Aws::String & GetRecoveryPointArn() const
Definition: DeleteRecoveryPointRequest.h:105
Aws::Backup::Model::DeleteRecoveryPointRequest::RecoveryPointArnHasBeenSet
bool RecoveryPointArnHasBeenSet() const
Definition: DeleteRecoveryPointRequest.h:112
Aws::Backup::Model::DeleteRecoveryPointRequest::GetBackupVaultName
const Aws::String & GetBackupVaultName() const
Definition: DeleteRecoveryPointRequest.h:41
Aws::Backup::Model::DeleteRecoveryPointRequest::WithRecoveryPointArn
DeleteRecoveryPointRequest & WithRecoveryPointArn(const Aws::String &value)
Definition: DeleteRecoveryPointRequest.h:140
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::DeleteRecoveryPointRequest::WithBackupVaultName
DeleteRecoveryPointRequest & WithBackupVaultName(const char *value)
Definition: DeleteRecoveryPointRequest.h:97
BackupRequest.h
Aws::Backup::Model::DeleteRecoveryPointRequest::SetBackupVaultName
void SetBackupVaultName(const char *value)
Definition: DeleteRecoveryPointRequest.h:73
Aws::Backup::Model::DeleteRecoveryPointRequest::SetRecoveryPointArn
void SetRecoveryPointArn(const char *value)
Definition: DeleteRecoveryPointRequest.h:133
Aws::Backup::Model::DeleteRecoveryPointRequest::DeleteRecoveryPointRequest
DeleteRecoveryPointRequest()
Aws::Backup::Model::DeleteRecoveryPointRequest::SetRecoveryPointArn
void SetRecoveryPointArn(const Aws::String &value)
Definition: DeleteRecoveryPointRequest.h:119
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
AWSString.h
Aws::Backup::Model::DeleteRecoveryPointRequest
Definition: DeleteRecoveryPointRequest.h:22
Aws::Backup::Model::DeleteRecoveryPointRequest::SerializePayload
Aws::String SerializePayload() const override
Backup_EXPORTS.h
Aws::Backup::Model::DeleteRecoveryPointRequest::WithRecoveryPointArn
DeleteRecoveryPointRequest & WithRecoveryPointArn(Aws::String &&value)
Definition: DeleteRecoveryPointRequest.h:147
Aws::Backup::Model::DeleteRecoveryPointRequest::SetBackupVaultName
void SetBackupVaultName(Aws::String &&value)
Definition: DeleteRecoveryPointRequest.h:65
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::DeleteRecoveryPointRequest::WithBackupVaultName
DeleteRecoveryPointRequest & WithBackupVaultName(Aws::String &&value)
Definition: DeleteRecoveryPointRequest.h:89
Aws::Backup::Model::DeleteRecoveryPointRequest::SetBackupVaultName
void SetBackupVaultName(const Aws::String &value)
Definition: DeleteRecoveryPointRequest.h:57
Aws::Backup::Model::DeleteRecoveryPointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRecoveryPointRequest.h:30
Aws::Backup::Model::DeleteRecoveryPointRequest::WithRecoveryPointArn
DeleteRecoveryPointRequest & WithRecoveryPointArn(const char *value)
Definition: DeleteRecoveryPointRequest.h:154
Aws::Backup::Model::DeleteRecoveryPointRequest::SetRecoveryPointArn
void SetRecoveryPointArn(Aws::String &&value)
Definition: DeleteRecoveryPointRequest.h:126
Aws::Backup::Model::DeleteRecoveryPointRequest::WithBackupVaultName
DeleteRecoveryPointRequest & WithBackupVaultName(const Aws::String &value)
Definition: DeleteRecoveryPointRequest.h:81