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/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
41 template <
typename BackupVaultNameT = Aws::String>
43 m_backupVaultNameHasBeenSet =
true;
44 m_backupVaultName = std::forward<BackupVaultNameT>(value);
46 template <
typename BackupVaultNameT = Aws::String>
60 template <
typename BackupVaultArnT = Aws::String>
62 m_backupVaultArnHasBeenSet =
true;
63 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
65 template <
typename BackupVaultArnT = Aws::String>
78 m_vaultTypeHasBeenSet =
true;
93 m_vaultStateHasBeenSet =
true;
109 template <
typename EncryptionKeyArnT = Aws::String>
111 m_encryptionKeyArnHasBeenSet =
true;
112 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
114 template <
typename EncryptionKeyArnT = Aws::String>
129 template <
typename CreationDateT = Aws::Utils::DateTime>
131 m_creationDateHasBeenSet =
true;
132 m_creationDate = std::forward<CreationDateT>(value);
134 template <
typename CreationDateT = Aws::Utils::DateTime>
149 template <
typename CreatorRequestIdT = Aws::String>
151 m_creatorRequestIdHasBeenSet =
true;
152 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
154 template <
typename CreatorRequestIdT = Aws::String>
172 m_numberOfRecoveryPointsHasBeenSet =
true;
173 m_numberOfRecoveryPoints = value;
189 m_lockedHasBeenSet =
true;
212 m_minRetentionDaysHasBeenSet =
true;
213 m_minRetentionDays = value;
236 m_maxRetentionDaysHasBeenSet =
true;
237 m_maxRetentionDays = value;
255 template <
typename LockDateT = Aws::Utils::DateTime>
257 m_lockDateHasBeenSet =
true;
258 m_lockDate = std::forward<LockDateT>(value);
260 template <
typename LockDateT = Aws::Utils::DateTime>
273 template <
typename SourceBackupVaultArnT = Aws::String>
275 m_sourceBackupVaultArnHasBeenSet =
true;
276 m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value);
278 template <
typename SourceBackupVaultArnT = Aws::String>
290 template <
typename MpaApprovalTeamArnT = Aws::String>
292 m_mpaApprovalTeamArnHasBeenSet =
true;
293 m_mpaApprovalTeamArn = std::forward<MpaApprovalTeamArnT>(value);
295 template <
typename MpaApprovalTeamArnT = Aws::String>
307 template <
typename MpaSessionArnT = Aws::String>
309 m_mpaSessionArnHasBeenSet =
true;
310 m_mpaSessionArn = std::forward<MpaSessionArnT>(value);
312 template <
typename MpaSessionArnT = Aws::String>
325 template <
typename LatestMpaApprovalTeamUpdateT = LatestMpaApprovalTeamUpdate>
327 m_latestMpaApprovalTeamUpdateHasBeenSet =
true;
328 m_latestMpaApprovalTeamUpdate = std::forward<LatestMpaApprovalTeamUpdateT>(value);
330 template <
typename LatestMpaApprovalTeamUpdateT = LatestMpaApprovalTeamUpdate>
345 m_encryptionKeyTypeHasBeenSet =
true;
346 m_encryptionKeyType = value;
357 template <
typename RequestIdT = Aws::String>
359 m_requestIdHasBeenSet =
true;
360 m_requestId = std::forward<RequestIdT>(value);
362 template <
typename RequestIdT = Aws::String>
383 long long m_numberOfRecoveryPoints{0};
385 bool m_locked{
false};
387 long long m_minRetentionDays{0};
389 long long m_maxRetentionDays{0};
399 LatestMpaApprovalTeamUpdate m_latestMpaApprovalTeamUpdate;
404 bool m_backupVaultNameHasBeenSet =
false;
405 bool m_backupVaultArnHasBeenSet =
false;
406 bool m_vaultTypeHasBeenSet =
false;
407 bool m_vaultStateHasBeenSet =
false;
408 bool m_encryptionKeyArnHasBeenSet =
false;
409 bool m_creationDateHasBeenSet =
false;
410 bool m_creatorRequestIdHasBeenSet =
false;
411 bool m_numberOfRecoveryPointsHasBeenSet =
false;
412 bool m_lockedHasBeenSet =
false;
413 bool m_minRetentionDaysHasBeenSet =
false;
414 bool m_maxRetentionDaysHasBeenSet =
false;
415 bool m_lockDateHasBeenSet =
false;
416 bool m_sourceBackupVaultArnHasBeenSet =
false;
417 bool m_mpaApprovalTeamArnHasBeenSet =
false;
418 bool m_mpaSessionArnHasBeenSet =
false;
419 bool m_latestMpaApprovalTeamUpdateHasBeenSet =
false;
420 bool m_encryptionKeyTypeHasBeenSet =
false;
421 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)
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