AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteRecoveryPointRequest.h
1
6#pragma once
7#include <aws/backup/BackupRequest.h>
8#include <aws/backup/Backup_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Backup {
15namespace Model {
16
20 public:
21 AWS_BACKUP_API DeleteRecoveryPointRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteRecoveryPoint"; }
28
29 AWS_BACKUP_API Aws::String SerializePayload() const override;
30
32
37 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
38 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
39 template <typename BackupVaultNameT = Aws::String>
40 void SetBackupVaultName(BackupVaultNameT&& value) {
41 m_backupVaultNameHasBeenSet = true;
42 m_backupVaultName = std::forward<BackupVaultNameT>(value);
43 }
44 template <typename BackupVaultNameT = Aws::String>
46 SetBackupVaultName(std::forward<BackupVaultNameT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
58 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
59 template <typename RecoveryPointArnT = Aws::String>
60 void SetRecoveryPointArn(RecoveryPointArnT&& value) {
61 m_recoveryPointArnHasBeenSet = true;
62 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
63 }
64 template <typename RecoveryPointArnT = Aws::String>
66 SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_backupVaultName;
72
73 Aws::String m_recoveryPointArn;
74 bool m_backupVaultNameHasBeenSet = false;
75 bool m_recoveryPointArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Backup
80} // namespace Aws
AWS_BACKUP_API DeleteRecoveryPointRequest()=default
DeleteRecoveryPointRequest & WithRecoveryPointArn(RecoveryPointArnT &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteRecoveryPointRequest & WithBackupVaultName(BackupVaultNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String