AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRecoveryPointRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Backup
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeRecoveryPoint"; }
35
36 AWS_BACKUP_API Aws::String SerializePayload() const override;
37
38 AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
48 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
49 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
50 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
51 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
53 inline DescribeRecoveryPointRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
54 inline DescribeRecoveryPointRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
56
58
63 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
64 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
65 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; }
66 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); }
67 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); }
69 inline DescribeRecoveryPointRequest& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
70 inline DescribeRecoveryPointRequest& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
72
74
77 inline const Aws::String& GetBackupVaultAccountId() const{ return m_backupVaultAccountId; }
78 inline bool BackupVaultAccountIdHasBeenSet() const { return m_backupVaultAccountIdHasBeenSet; }
79 inline void SetBackupVaultAccountId(const Aws::String& value) { m_backupVaultAccountIdHasBeenSet = true; m_backupVaultAccountId = value; }
80 inline void SetBackupVaultAccountId(Aws::String&& value) { m_backupVaultAccountIdHasBeenSet = true; m_backupVaultAccountId = std::move(value); }
81 inline void SetBackupVaultAccountId(const char* value) { m_backupVaultAccountIdHasBeenSet = true; m_backupVaultAccountId.assign(value); }
84 inline DescribeRecoveryPointRequest& WithBackupVaultAccountId(const char* value) { SetBackupVaultAccountId(value); return *this;}
86 private:
87
88 Aws::String m_backupVaultName;
89 bool m_backupVaultNameHasBeenSet = false;
90
91 Aws::String m_recoveryPointArn;
92 bool m_recoveryPointArnHasBeenSet = false;
93
94 Aws::String m_backupVaultAccountId;
95 bool m_backupVaultAccountIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Backup
100} // namespace Aws
AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeRecoveryPointRequest & WithBackupVaultAccountId(Aws::String &&value)
DescribeRecoveryPointRequest & WithBackupVaultName(const char *value)
DescribeRecoveryPointRequest & WithBackupVaultName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeRecoveryPointRequest & WithBackupVaultName(const Aws::String &value)
DescribeRecoveryPointRequest & WithBackupVaultAccountId(const Aws::String &value)
DescribeRecoveryPointRequest & WithRecoveryPointArn(Aws::String &&value)
DescribeRecoveryPointRequest & WithBackupVaultAccountId(const char *value)
DescribeRecoveryPointRequest & WithRecoveryPointArn(const Aws::String &value)
AWS_BACKUP_API Aws::String SerializePayload() const override
DescribeRecoveryPointRequest & WithRecoveryPointArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String