AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateRecoveryPointIndexSettingsRequest.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 <aws/backup/model/Index.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Backup
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BACKUP_API UpdateRecoveryPointIndexSettingsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecoveryPointIndexSettings"; }
32
33 AWS_BACKUP_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
44 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
45 template<typename BackupVaultNameT = Aws::String>
46 void SetBackupVaultName(BackupVaultNameT&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::forward<BackupVaultNameT>(value); }
47 template<typename BackupVaultNameT = Aws::String>
48 UpdateRecoveryPointIndexSettingsRequest& WithBackupVaultName(BackupVaultNameT&& value) { SetBackupVaultName(std::forward<BackupVaultNameT>(value)); return *this;}
50
52
56 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
57 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
58 template<typename RecoveryPointArnT = Aws::String>
59 void SetRecoveryPointArn(RecoveryPointArnT&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::forward<RecoveryPointArnT>(value); }
60 template<typename RecoveryPointArnT = Aws::String>
61 UpdateRecoveryPointIndexSettingsRequest& WithRecoveryPointArn(RecoveryPointArnT&& value) { SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value)); return *this;}
63
65
69 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
70 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
71 template<typename IamRoleArnT = Aws::String>
72 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
73 template<typename IamRoleArnT = Aws::String>
74 UpdateRecoveryPointIndexSettingsRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
76
78
85 inline Index GetIndex() const { return m_index; }
86 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
87 inline void SetIndex(Index value) { m_indexHasBeenSet = true; m_index = value; }
88 inline UpdateRecoveryPointIndexSettingsRequest& WithIndex(Index value) { SetIndex(value); return *this;}
90 private:
91
92 Aws::String m_backupVaultName;
93 bool m_backupVaultNameHasBeenSet = false;
94
95 Aws::String m_recoveryPointArn;
96 bool m_recoveryPointArnHasBeenSet = false;
97
98 Aws::String m_iamRoleArn;
99 bool m_iamRoleArnHasBeenSet = false;
100
101 Index m_index{Index::NOT_SET};
102 bool m_indexHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Backup
107} // namespace Aws
UpdateRecoveryPointIndexSettingsRequest & WithBackupVaultName(BackupVaultNameT &&value)
UpdateRecoveryPointIndexSettingsRequest & WithRecoveryPointArn(RecoveryPointArnT &&value)
UpdateRecoveryPointIndexSettingsRequest & WithIamRoleArn(IamRoleArnT &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String