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