7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/EncryptionKeyType.h>
9#include <aws/backup/model/LatestMpaApprovalTeamUpdate.h>
10#include <aws/backup/model/VaultState.h>
11#include <aws/backup/model/VaultType.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
42 template <
typename BackupVaultNameT = Aws::String>
44 m_backupVaultNameHasBeenSet =
true;
45 m_backupVaultName = std::forward<BackupVaultNameT>(value);
47 template <
typename BackupVaultNameT = Aws::String>
61 template <
typename BackupVaultArnT = Aws::String>
63 m_backupVaultArnHasBeenSet =
true;
64 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
66 template <
typename BackupVaultArnT = Aws::String>
79 m_vaultTypeHasBeenSet =
true;
94 m_vaultStateHasBeenSet =
true;
110 template <
typename EncryptionKeyArnT = Aws::String>
112 m_encryptionKeyArnHasBeenSet =
true;
113 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
115 template <
typename EncryptionKeyArnT = Aws::String>
130 template <
typename CreationDateT = Aws::Utils::DateTime>
132 m_creationDateHasBeenSet =
true;
133 m_creationDate = std::forward<CreationDateT>(value);
135 template <
typename CreationDateT = Aws::Utils::DateTime>
150 template <
typename CreatorRequestIdT = Aws::String>
152 m_creatorRequestIdHasBeenSet =
true;
153 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
155 template <
typename CreatorRequestIdT = Aws::String>
173 m_numberOfRecoveryPointsHasBeenSet =
true;
174 m_numberOfRecoveryPoints = value;
190 m_lockedHasBeenSet =
true;
213 m_minRetentionDaysHasBeenSet =
true;
214 m_minRetentionDays = value;
237 m_maxRetentionDaysHasBeenSet =
true;
238 m_maxRetentionDays = value;
256 template <
typename LockDateT = Aws::Utils::DateTime>
258 m_lockDateHasBeenSet =
true;
259 m_lockDate = std::forward<LockDateT>(value);
261 template <
typename LockDateT = Aws::Utils::DateTime>
274 template <
typename SourceBackupVaultArnT = Aws::String>
276 m_sourceBackupVaultArnHasBeenSet =
true;
277 m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value);
279 template <
typename SourceBackupVaultArnT = Aws::String>
291 template <
typename MpaApprovalTeamArnT = Aws::String>
293 m_mpaApprovalTeamArnHasBeenSet =
true;
294 m_mpaApprovalTeamArn = std::forward<MpaApprovalTeamArnT>(value);
296 template <
typename MpaApprovalTeamArnT = Aws::String>
308 template <
typename MpaSessionArnT = Aws::String>
310 m_mpaSessionArnHasBeenSet =
true;
311 m_mpaSessionArn = std::forward<MpaSessionArnT>(value);
313 template <
typename MpaSessionArnT = Aws::String>
326 template <
typename LatestMpaApprovalTeamUpdateT = LatestMpaApprovalTeamUpdate>
328 m_latestMpaApprovalTeamUpdateHasBeenSet =
true;
329 m_latestMpaApprovalTeamUpdate = std::forward<LatestMpaApprovalTeamUpdateT>(value);
331 template <
typename LatestMpaApprovalTeamUpdateT = LatestMpaApprovalTeamUpdate>
346 m_encryptionKeyTypeHasBeenSet =
true;
347 m_encryptionKeyType = value;
358 template <
typename RequestIdT = Aws::String>
360 m_requestIdHasBeenSet =
true;
361 m_requestId = std::forward<RequestIdT>(value);
363 template <
typename RequestIdT = Aws::String>
386 long long m_numberOfRecoveryPoints{0};
388 bool m_locked{
false};
390 long long m_minRetentionDays{0};
392 long long m_maxRetentionDays{0};
402 LatestMpaApprovalTeamUpdate m_latestMpaApprovalTeamUpdate;
408 bool m_backupVaultNameHasBeenSet =
false;
409 bool m_backupVaultArnHasBeenSet =
false;
410 bool m_vaultTypeHasBeenSet =
false;
411 bool m_vaultStateHasBeenSet =
false;
412 bool m_encryptionKeyArnHasBeenSet =
false;
413 bool m_creationDateHasBeenSet =
false;
414 bool m_creatorRequestIdHasBeenSet =
false;
415 bool m_numberOfRecoveryPointsHasBeenSet =
false;
416 bool m_lockedHasBeenSet =
false;
417 bool m_minRetentionDaysHasBeenSet =
false;
418 bool m_maxRetentionDaysHasBeenSet =
false;
419 bool m_lockDateHasBeenSet =
false;
420 bool m_sourceBackupVaultArnHasBeenSet =
false;
421 bool m_mpaApprovalTeamArnHasBeenSet =
false;
422 bool m_mpaSessionArnHasBeenSet =
false;
423 bool m_latestMpaApprovalTeamUpdateHasBeenSet =
false;
424 bool m_encryptionKeyTypeHasBeenSet =
false;
425 bool m_requestIdHasBeenSet =
false;
DescribeBackupVaultResult & WithMaxRetentionDays(long long value)
const Aws::Utils::DateTime & GetLockDate() const
const Aws::String & GetMpaSessionArn() const
DescribeBackupVaultResult & WithNumberOfRecoveryPoints(long long value)
const Aws::String & GetCreatorRequestId() const
void SetLocked(bool value)
DescribeBackupVaultResult & WithCreatorRequestId(CreatorRequestIdT &&value)
AWS_BACKUP_API DescribeBackupVaultResult()=default
const Aws::String & GetSourceBackupVaultArn() const
DescribeBackupVaultResult & WithRequestId(RequestIdT &&value)
DescribeBackupVaultResult & WithMpaSessionArn(MpaSessionArnT &&value)
DescribeBackupVaultResult & WithMpaApprovalTeamArn(MpaApprovalTeamArnT &&value)
void SetCreationDate(CreationDateT &&value)
DescribeBackupVaultResult & WithMinRetentionDays(long long value)
void SetEncryptionKeyType(EncryptionKeyType value)
void SetCreatorRequestId(CreatorRequestIdT &&value)
void SetRequestId(RequestIdT &&value)
DescribeBackupVaultResult & WithCreationDate(CreationDateT &&value)
void SetNumberOfRecoveryPoints(long long value)
void SetMaxRetentionDays(long long value)
DescribeBackupVaultResult & WithLatestMpaApprovalTeamUpdate(LatestMpaApprovalTeamUpdateT &&value)
const Aws::String & GetBackupVaultArn() const
long long GetMinRetentionDays() const
const Aws::String & GetMpaApprovalTeamArn() const
VaultState GetVaultState() const
const Aws::String & GetRequestId() const
void SetBackupVaultName(BackupVaultNameT &&value)
void SetVaultType(VaultType value)
void SetLockDate(LockDateT &&value)
DescribeBackupVaultResult & WithEncryptionKeyType(EncryptionKeyType value)
DescribeBackupVaultResult & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetSourceBackupVaultArn(SourceBackupVaultArnT &&value)
void SetBackupVaultArn(BackupVaultArnT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetMinRetentionDays(long long value)
DescribeBackupVaultResult & WithSourceBackupVaultArn(SourceBackupVaultArnT &&value)
EncryptionKeyType GetEncryptionKeyType() const
DescribeBackupVaultResult & WithLocked(bool value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetVaultState(VaultState value)
void SetLatestMpaApprovalTeamUpdate(LatestMpaApprovalTeamUpdateT &&value)
DescribeBackupVaultResult & WithBackupVaultArn(BackupVaultArnT &&value)
void SetMpaSessionArn(MpaSessionArnT &&value)
DescribeBackupVaultResult & WithBackupVaultName(BackupVaultNameT &&value)
DescribeBackupVaultResult & WithVaultState(VaultState value)
void SetMpaApprovalTeamArn(MpaApprovalTeamArnT &&value)
long long GetNumberOfRecoveryPoints() const
const Aws::String & GetBackupVaultName() const
DescribeBackupVaultResult & WithVaultType(VaultType value)
AWS_BACKUP_API DescribeBackupVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBackupVaultResult & WithLockDate(LockDateT &&value)
const LatestMpaApprovalTeamUpdate & GetLatestMpaApprovalTeamUpdate() const
long long GetMaxRetentionDays() const
AWS_BACKUP_API DescribeBackupVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VaultType GetVaultType() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::String & GetEncryptionKeyArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue