AWS SDK for C++  1.9.1
AWS SDK for C++
GetRecoveryPointRestoreMetadataRequest.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 "GetRecoveryPointRestoreMetadata"; }
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 GetRecoveryPointRestoreMetadataRequest& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
82 
89  inline GetRecoveryPointRestoreMetadataRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
90 
97  inline GetRecoveryPointRestoreMetadataRequest& 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 GetRecoveryPointRestoreMetadataRequest& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
141 
147  inline GetRecoveryPointRestoreMetadataRequest& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
148 
154  inline GetRecoveryPointRestoreMetadataRequest& 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::GetRecoveryPointRestoreMetadataRequest::WithRecoveryPointArn
GetRecoveryPointRestoreMetadataRequest & WithRecoveryPointArn(const Aws::String &value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:140
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::WithBackupVaultName
GetRecoveryPointRestoreMetadataRequest & WithBackupVaultName(Aws::String &&value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:89
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::WithBackupVaultName
GetRecoveryPointRestoreMetadataRequest & WithBackupVaultName(const Aws::String &value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:81
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SetRecoveryPointArn
void SetRecoveryPointArn(Aws::String &&value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:126
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRecoveryPointRestoreMetadataRequest.h:30
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SetBackupVaultName
void SetBackupVaultName(const Aws::String &value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:57
BackupRequest.h
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SetBackupVaultName
void SetBackupVaultName(Aws::String &&value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:65
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SetBackupVaultName
void SetBackupVaultName(const char *value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:73
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::GetRecoveryPointRestoreMetadataRequest
GetRecoveryPointRestoreMetadataRequest()
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::BackupVaultNameHasBeenSet
bool BackupVaultNameHasBeenSet() const
Definition: GetRecoveryPointRestoreMetadataRequest.h:49
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::GetBackupVaultName
const Aws::String & GetBackupVaultName() const
Definition: GetRecoveryPointRestoreMetadataRequest.h:41
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::RecoveryPointArnHasBeenSet
bool RecoveryPointArnHasBeenSet() const
Definition: GetRecoveryPointRestoreMetadataRequest.h:112
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest
Definition: GetRecoveryPointRestoreMetadataRequest.h:22
AWSString.h
Backup_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::GetRecoveryPointArn
const Aws::String & GetRecoveryPointArn() const
Definition: GetRecoveryPointRestoreMetadataRequest.h:105
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SetRecoveryPointArn
void SetRecoveryPointArn(const char *value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:133
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::WithRecoveryPointArn
GetRecoveryPointRestoreMetadataRequest & WithRecoveryPointArn(Aws::String &&value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::SetRecoveryPointArn
void SetRecoveryPointArn(const Aws::String &value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:119
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::WithBackupVaultName
GetRecoveryPointRestoreMetadataRequest & WithBackupVaultName(const char *value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:97
Aws::Backup::Model::GetRecoveryPointRestoreMetadataRequest::WithRecoveryPointArn
GetRecoveryPointRestoreMetadataRequest & WithRecoveryPointArn(const char *value)
Definition: GetRecoveryPointRestoreMetadataRequest.h:154