AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeRecoveryPointRequest.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 Http {
15class URI;
16} // namespace Http
17namespace Backup {
18namespace Model {
19
23 public:
24 AWS_BACKUP_API DescribeRecoveryPointRequest() = default;
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_BACKUP_API Aws::String SerializePayload() const override;
33
34 AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
43 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
44 template <typename BackupVaultNameT = Aws::String>
45 void SetBackupVaultName(BackupVaultNameT&& value) {
46 m_backupVaultNameHasBeenSet = true;
47 m_backupVaultName = std::forward<BackupVaultNameT>(value);
48 }
49 template <typename BackupVaultNameT = Aws::String>
51 SetBackupVaultName(std::forward<BackupVaultNameT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
63 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
64 template <typename RecoveryPointArnT = Aws::String>
65 void SetRecoveryPointArn(RecoveryPointArnT&& value) {
66 m_recoveryPointArnHasBeenSet = true;
67 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
68 }
69 template <typename RecoveryPointArnT = Aws::String>
71 SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetBackupVaultAccountId() const { return m_backupVaultAccountId; }
81 inline bool BackupVaultAccountIdHasBeenSet() const { return m_backupVaultAccountIdHasBeenSet; }
82 template <typename BackupVaultAccountIdT = Aws::String>
83 void SetBackupVaultAccountId(BackupVaultAccountIdT&& value) {
84 m_backupVaultAccountIdHasBeenSet = true;
85 m_backupVaultAccountId = std::forward<BackupVaultAccountIdT>(value);
86 }
87 template <typename BackupVaultAccountIdT = Aws::String>
89 SetBackupVaultAccountId(std::forward<BackupVaultAccountIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_backupVaultName;
95
96 Aws::String m_recoveryPointArn;
97
98 Aws::String m_backupVaultAccountId;
99 bool m_backupVaultNameHasBeenSet = false;
100 bool m_recoveryPointArnHasBeenSet = false;
101 bool m_backupVaultAccountIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Backup
106} // namespace Aws
AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeRecoveryPointRequest & WithBackupVaultAccountId(BackupVaultAccountIdT &&value)
DescribeRecoveryPointRequest & WithBackupVaultName(BackupVaultNameT &&value)
AWS_BACKUP_API DescribeRecoveryPointRequest()=default
virtual const char * GetServiceRequestName() const override
DescribeRecoveryPointRequest & WithRecoveryPointArn(RecoveryPointArnT &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String