AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetRecoveryPointIndexDetailsResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BACKUP_API GetRecoveryPointIndexDetailsResult() = default;
35
36
38
42 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
43 template<typename RecoveryPointArnT = Aws::String>
44 void SetRecoveryPointArn(RecoveryPointArnT&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::forward<RecoveryPointArnT>(value); }
45 template<typename RecoveryPointArnT = Aws::String>
46 GetRecoveryPointIndexDetailsResult& WithRecoveryPointArn(RecoveryPointArnT&& value) { SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value)); return *this;}
48
50
55 inline const Aws::String& GetBackupVaultArn() const { return m_backupVaultArn; }
56 template<typename BackupVaultArnT = Aws::String>
57 void SetBackupVaultArn(BackupVaultArnT&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::forward<BackupVaultArnT>(value); }
58 template<typename BackupVaultArnT = Aws::String>
59 GetRecoveryPointIndexDetailsResult& WithBackupVaultArn(BackupVaultArnT&& value) { SetBackupVaultArn(std::forward<BackupVaultArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetSourceResourceArn() const { return m_sourceResourceArn; }
68 template<typename SourceResourceArnT = Aws::String>
69 void SetSourceResourceArn(SourceResourceArnT&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::forward<SourceResourceArnT>(value); }
70 template<typename SourceResourceArnT = Aws::String>
71 GetRecoveryPointIndexDetailsResult& WithSourceResourceArn(SourceResourceArnT&& value) { SetSourceResourceArn(std::forward<SourceResourceArnT>(value)); return *this;}
73
75
81 inline const Aws::Utils::DateTime& GetIndexCreationDate() const { return m_indexCreationDate; }
82 template<typename IndexCreationDateT = Aws::Utils::DateTime>
83 void SetIndexCreationDate(IndexCreationDateT&& value) { m_indexCreationDateHasBeenSet = true; m_indexCreationDate = std::forward<IndexCreationDateT>(value); }
84 template<typename IndexCreationDateT = Aws::Utils::DateTime>
85 GetRecoveryPointIndexDetailsResult& WithIndexCreationDate(IndexCreationDateT&& value) { SetIndexCreationDate(std::forward<IndexCreationDateT>(value)); return *this;}
87
89
95 inline const Aws::Utils::DateTime& GetIndexDeletionDate() const { return m_indexDeletionDate; }
96 template<typename IndexDeletionDateT = Aws::Utils::DateTime>
97 void SetIndexDeletionDate(IndexDeletionDateT&& value) { m_indexDeletionDateHasBeenSet = true; m_indexDeletionDate = std::forward<IndexDeletionDateT>(value); }
98 template<typename IndexDeletionDateT = Aws::Utils::DateTime>
99 GetRecoveryPointIndexDetailsResult& WithIndexDeletionDate(IndexDeletionDateT&& value) { SetIndexDeletionDate(std::forward<IndexDeletionDateT>(value)); return *this;}
101
103
109 inline const Aws::Utils::DateTime& GetIndexCompletionDate() const { return m_indexCompletionDate; }
110 template<typename IndexCompletionDateT = Aws::Utils::DateTime>
111 void SetIndexCompletionDate(IndexCompletionDateT&& value) { m_indexCompletionDateHasBeenSet = true; m_indexCompletionDate = std::forward<IndexCompletionDateT>(value); }
112 template<typename IndexCompletionDateT = Aws::Utils::DateTime>
113 GetRecoveryPointIndexDetailsResult& WithIndexCompletionDate(IndexCompletionDateT&& value) { SetIndexCompletionDate(std::forward<IndexCompletionDateT>(value)); return *this;}
115
117
124 inline IndexStatus GetIndexStatus() const { return m_indexStatus; }
125 inline void SetIndexStatus(IndexStatus value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; }
128
130
134 inline const Aws::String& GetIndexStatusMessage() const { return m_indexStatusMessage; }
135 template<typename IndexStatusMessageT = Aws::String>
136 void SetIndexStatusMessage(IndexStatusMessageT&& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = std::forward<IndexStatusMessageT>(value); }
137 template<typename IndexStatusMessageT = Aws::String>
138 GetRecoveryPointIndexDetailsResult& WithIndexStatusMessage(IndexStatusMessageT&& value) { SetIndexStatusMessage(std::forward<IndexStatusMessageT>(value)); return *this;}
140
142
146 inline long long GetTotalItemsIndexed() const { return m_totalItemsIndexed; }
147 inline void SetTotalItemsIndexed(long long value) { m_totalItemsIndexedHasBeenSet = true; m_totalItemsIndexed = value; }
148 inline GetRecoveryPointIndexDetailsResult& WithTotalItemsIndexed(long long value) { SetTotalItemsIndexed(value); return *this;}
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template<typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
156 template<typename RequestIdT = Aws::String>
157 GetRecoveryPointIndexDetailsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
159 private:
160
161 Aws::String m_recoveryPointArn;
162 bool m_recoveryPointArnHasBeenSet = false;
163
164 Aws::String m_backupVaultArn;
165 bool m_backupVaultArnHasBeenSet = false;
166
167 Aws::String m_sourceResourceArn;
168 bool m_sourceResourceArnHasBeenSet = false;
169
170 Aws::Utils::DateTime m_indexCreationDate{};
171 bool m_indexCreationDateHasBeenSet = false;
172
173 Aws::Utils::DateTime m_indexDeletionDate{};
174 bool m_indexDeletionDateHasBeenSet = false;
175
176 Aws::Utils::DateTime m_indexCompletionDate{};
177 bool m_indexCompletionDateHasBeenSet = false;
178
179 IndexStatus m_indexStatus{IndexStatus::NOT_SET};
180 bool m_indexStatusHasBeenSet = false;
181
182 Aws::String m_indexStatusMessage;
183 bool m_indexStatusMessageHasBeenSet = false;
184
185 long long m_totalItemsIndexed{0};
186 bool m_totalItemsIndexedHasBeenSet = false;
187
188 Aws::String m_requestId;
189 bool m_requestIdHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace Backup
194} // namespace Aws
AWS_BACKUP_API GetRecoveryPointIndexDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API GetRecoveryPointIndexDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRecoveryPointIndexDetailsResult & WithIndexStatus(IndexStatus value)
GetRecoveryPointIndexDetailsResult & WithIndexCompletionDate(IndexCompletionDateT &&value)
GetRecoveryPointIndexDetailsResult & WithTotalItemsIndexed(long long value)
GetRecoveryPointIndexDetailsResult & WithBackupVaultArn(BackupVaultArnT &&value)
GetRecoveryPointIndexDetailsResult & WithRecoveryPointArn(RecoveryPointArnT &&value)
GetRecoveryPointIndexDetailsResult & WithIndexDeletionDate(IndexDeletionDateT &&value)
GetRecoveryPointIndexDetailsResult & WithIndexStatusMessage(IndexStatusMessageT &&value)
GetRecoveryPointIndexDetailsResult & WithIndexCreationDate(IndexCreationDateT &&value)
GetRecoveryPointIndexDetailsResult & WithRequestId(RequestIdT &&value)
GetRecoveryPointIndexDetailsResult & WithSourceResourceArn(SourceResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue