AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IndexedRecoveryPoint.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/backup/model/IndexStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Backup
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_BACKUP_API IndexedRecoveryPoint() = default;
41 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
51 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
52 template<typename RecoveryPointArnT = Aws::String>
53 void SetRecoveryPointArn(RecoveryPointArnT&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::forward<RecoveryPointArnT>(value); }
54 template<typename RecoveryPointArnT = Aws::String>
55 IndexedRecoveryPoint& WithRecoveryPointArn(RecoveryPointArnT&& value) { SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value)); return *this;}
57
59
63 inline const Aws::String& GetSourceResourceArn() const { return m_sourceResourceArn; }
64 inline bool SourceResourceArnHasBeenSet() const { return m_sourceResourceArnHasBeenSet; }
65 template<typename SourceResourceArnT = Aws::String>
66 void SetSourceResourceArn(SourceResourceArnT&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::forward<SourceResourceArnT>(value); }
67 template<typename SourceResourceArnT = Aws::String>
68 IndexedRecoveryPoint& WithSourceResourceArn(SourceResourceArnT&& value) { SetSourceResourceArn(std::forward<SourceResourceArnT>(value)); return *this;}
70
72
76 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
77 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
78 template<typename IamRoleArnT = Aws::String>
79 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
80 template<typename IamRoleArnT = Aws::String>
81 IndexedRecoveryPoint& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
83
85
91 inline const Aws::Utils::DateTime& GetBackupCreationDate() const { return m_backupCreationDate; }
92 inline bool BackupCreationDateHasBeenSet() const { return m_backupCreationDateHasBeenSet; }
93 template<typename BackupCreationDateT = Aws::Utils::DateTime>
94 void SetBackupCreationDate(BackupCreationDateT&& value) { m_backupCreationDateHasBeenSet = true; m_backupCreationDate = std::forward<BackupCreationDateT>(value); }
95 template<typename BackupCreationDateT = Aws::Utils::DateTime>
96 IndexedRecoveryPoint& WithBackupCreationDate(BackupCreationDateT&& value) { SetBackupCreationDate(std::forward<BackupCreationDateT>(value)); return *this;}
98
100
105 inline const Aws::String& GetResourceType() const { return m_resourceType; }
106 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
107 template<typename ResourceTypeT = Aws::String>
108 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
109 template<typename ResourceTypeT = Aws::String>
110 IndexedRecoveryPoint& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
112
114
120 inline const Aws::Utils::DateTime& GetIndexCreationDate() const { return m_indexCreationDate; }
121 inline bool IndexCreationDateHasBeenSet() const { return m_indexCreationDateHasBeenSet; }
122 template<typename IndexCreationDateT = Aws::Utils::DateTime>
123 void SetIndexCreationDate(IndexCreationDateT&& value) { m_indexCreationDateHasBeenSet = true; m_indexCreationDate = std::forward<IndexCreationDateT>(value); }
124 template<typename IndexCreationDateT = Aws::Utils::DateTime>
125 IndexedRecoveryPoint& WithIndexCreationDate(IndexCreationDateT&& value) { SetIndexCreationDate(std::forward<IndexCreationDateT>(value)); return *this;}
127
129
136 inline IndexStatus GetIndexStatus() const { return m_indexStatus; }
137 inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; }
138 inline void SetIndexStatus(IndexStatus value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; }
139 inline IndexedRecoveryPoint& WithIndexStatus(IndexStatus value) { SetIndexStatus(value); return *this;}
141
143
147 inline const Aws::String& GetIndexStatusMessage() const { return m_indexStatusMessage; }
148 inline bool IndexStatusMessageHasBeenSet() const { return m_indexStatusMessageHasBeenSet; }
149 template<typename IndexStatusMessageT = Aws::String>
150 void SetIndexStatusMessage(IndexStatusMessageT&& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = std::forward<IndexStatusMessageT>(value); }
151 template<typename IndexStatusMessageT = Aws::String>
152 IndexedRecoveryPoint& WithIndexStatusMessage(IndexStatusMessageT&& value) { SetIndexStatusMessage(std::forward<IndexStatusMessageT>(value)); return *this;}
154
156
161 inline const Aws::String& GetBackupVaultArn() const { return m_backupVaultArn; }
162 inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
163 template<typename BackupVaultArnT = Aws::String>
164 void SetBackupVaultArn(BackupVaultArnT&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::forward<BackupVaultArnT>(value); }
165 template<typename BackupVaultArnT = Aws::String>
166 IndexedRecoveryPoint& WithBackupVaultArn(BackupVaultArnT&& value) { SetBackupVaultArn(std::forward<BackupVaultArnT>(value)); return *this;}
168 private:
169
170 Aws::String m_recoveryPointArn;
171 bool m_recoveryPointArnHasBeenSet = false;
172
173 Aws::String m_sourceResourceArn;
174 bool m_sourceResourceArnHasBeenSet = false;
175
176 Aws::String m_iamRoleArn;
177 bool m_iamRoleArnHasBeenSet = false;
178
179 Aws::Utils::DateTime m_backupCreationDate{};
180 bool m_backupCreationDateHasBeenSet = false;
181
182 Aws::String m_resourceType;
183 bool m_resourceTypeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_indexCreationDate{};
186 bool m_indexCreationDateHasBeenSet = false;
187
188 IndexStatus m_indexStatus{IndexStatus::NOT_SET};
189 bool m_indexStatusHasBeenSet = false;
190
191 Aws::String m_indexStatusMessage;
192 bool m_indexStatusMessageHasBeenSet = false;
193
194 Aws::String m_backupVaultArn;
195 bool m_backupVaultArnHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace Backup
200} // namespace Aws
void SetBackupVaultArn(BackupVaultArnT &&value)
const Aws::String & GetSourceResourceArn() const
const Aws::String & GetIndexStatusMessage() const
void SetRecoveryPointArn(RecoveryPointArnT &&value)
AWS_BACKUP_API IndexedRecoveryPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceResourceArn(SourceResourceArnT &&value)
AWS_BACKUP_API IndexedRecoveryPoint(Aws::Utils::Json::JsonView jsonValue)
void SetIndexCreationDate(IndexCreationDateT &&value)
IndexedRecoveryPoint & WithIndexCreationDate(IndexCreationDateT &&value)
const Aws::String & GetRecoveryPointArn() const
void SetBackupCreationDate(BackupCreationDateT &&value)
IndexedRecoveryPoint & WithIndexStatus(IndexStatus value)
IndexedRecoveryPoint & WithResourceType(ResourceTypeT &&value)
IndexedRecoveryPoint & WithBackupCreationDate(BackupCreationDateT &&value)
IndexedRecoveryPoint & WithSourceResourceArn(SourceResourceArnT &&value)
void SetIndexStatusMessage(IndexStatusMessageT &&value)
AWS_BACKUP_API IndexedRecoveryPoint()=default
IndexedRecoveryPoint & WithBackupVaultArn(BackupVaultArnT &&value)
const Aws::Utils::DateTime & GetIndexCreationDate() const
IndexedRecoveryPoint & WithRecoveryPointArn(RecoveryPointArnT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetBackupCreationDate() const
IndexedRecoveryPoint & WithIndexStatusMessage(IndexStatusMessageT &&value)
IndexedRecoveryPoint & WithIamRoleArn(IamRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue