/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a virtual tape that is archived in the virtual tape shelf
* (VTS).See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline const Aws::String& GetTapeARN() const{ return m_tapeARN; } /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; } /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::move(value); } /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); } /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline TapeArchive& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;} /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline TapeArchive& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an archived virtual tape.
*/ inline TapeArchive& WithTapeARN(const char* value) { SetTapeARN(value); return *this;} /** *The barcode that identifies the archived virtual tape.
*/ inline const Aws::String& GetTapeBarcode() const{ return m_tapeBarcode; } /** *The barcode that identifies the archived virtual tape.
*/ inline bool TapeBarcodeHasBeenSet() const { return m_tapeBarcodeHasBeenSet; } /** *The barcode that identifies the archived virtual tape.
*/ inline void SetTapeBarcode(const Aws::String& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = value; } /** *The barcode that identifies the archived virtual tape.
*/ inline void SetTapeBarcode(Aws::String&& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = std::move(value); } /** *The barcode that identifies the archived virtual tape.
*/ inline void SetTapeBarcode(const char* value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode.assign(value); } /** *The barcode that identifies the archived virtual tape.
*/ inline TapeArchive& WithTapeBarcode(const Aws::String& value) { SetTapeBarcode(value); return *this;} /** *The barcode that identifies the archived virtual tape.
*/ inline TapeArchive& WithTapeBarcode(Aws::String&& value) { SetTapeBarcode(std::move(value)); return *this;} /** *The barcode that identifies the archived virtual tape.
*/ inline TapeArchive& WithTapeBarcode(const char* value) { SetTapeBarcode(value); return *this;} /** *The date the virtual tape was created.
*/ inline const Aws::Utils::DateTime& GetTapeCreatedDate() const{ return m_tapeCreatedDate; } /** *The date the virtual tape was created.
*/ inline bool TapeCreatedDateHasBeenSet() const { return m_tapeCreatedDateHasBeenSet; } /** *The date the virtual tape was created.
*/ inline void SetTapeCreatedDate(const Aws::Utils::DateTime& value) { m_tapeCreatedDateHasBeenSet = true; m_tapeCreatedDate = value; } /** *The date the virtual tape was created.
*/ inline void SetTapeCreatedDate(Aws::Utils::DateTime&& value) { m_tapeCreatedDateHasBeenSet = true; m_tapeCreatedDate = std::move(value); } /** *The date the virtual tape was created.
*/ inline TapeArchive& WithTapeCreatedDate(const Aws::Utils::DateTime& value) { SetTapeCreatedDate(value); return *this;} /** *The date the virtual tape was created.
*/ inline TapeArchive& WithTapeCreatedDate(Aws::Utils::DateTime&& value) { SetTapeCreatedDate(std::move(value)); return *this;} /** *The size, in bytes, of the archived virtual tape.
*/ inline long long GetTapeSizeInBytes() const{ return m_tapeSizeInBytes; } /** *The size, in bytes, of the archived virtual tape.
*/ inline bool TapeSizeInBytesHasBeenSet() const { return m_tapeSizeInBytesHasBeenSet; } /** *The size, in bytes, of the archived virtual tape.
*/ inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; } /** *The size, in bytes, of the archived virtual tape.
*/ inline TapeArchive& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;} /** *The time that the archiving of the virtual tape was completed.
The * default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.
*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *The time that the archiving of the virtual tape was completed.
The * default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.
*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *The time that the archiving of the virtual tape was completed.
The * default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.
*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *The time that the archiving of the virtual tape was completed.
The * default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.
*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *The time that the archiving of the virtual tape was completed.
The * default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.
*/ inline TapeArchive& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *The time that the archiving of the virtual tape was completed.
The * default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.
*/ inline TapeArchive& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline const Aws::String& GetRetrievedTo() const{ return m_retrievedTo; } /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline bool RetrievedToHasBeenSet() const { return m_retrievedToHasBeenSet; } /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline void SetRetrievedTo(const Aws::String& value) { m_retrievedToHasBeenSet = true; m_retrievedTo = value; } /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline void SetRetrievedTo(Aws::String&& value) { m_retrievedToHasBeenSet = true; m_retrievedTo = std::move(value); } /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline void SetRetrievedTo(const char* value) { m_retrievedToHasBeenSet = true; m_retrievedTo.assign(value); } /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline TapeArchive& WithRetrievedTo(const Aws::String& value) { SetRetrievedTo(value); return *this;} /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline TapeArchive& WithRetrievedTo(Aws::String&& value) { SetRetrievedTo(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is * being retrieved to.
The virtual tape is retrieved from the virtual tape * shelf (VTS).
*/ inline TapeArchive& WithRetrievedTo(const char* value) { SetRetrievedTo(value); return *this;} /** *The current state of the archived virtual tape.
*/ inline const Aws::String& GetTapeStatus() const{ return m_tapeStatus; } /** *The current state of the archived virtual tape.
*/ inline bool TapeStatusHasBeenSet() const { return m_tapeStatusHasBeenSet; } /** *The current state of the archived virtual tape.
*/ inline void SetTapeStatus(const Aws::String& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = value; } /** *The current state of the archived virtual tape.
*/ inline void SetTapeStatus(Aws::String&& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = std::move(value); } /** *The current state of the archived virtual tape.
*/ inline void SetTapeStatus(const char* value) { m_tapeStatusHasBeenSet = true; m_tapeStatus.assign(value); } /** *The current state of the archived virtual tape.
*/ inline TapeArchive& WithTapeStatus(const Aws::String& value) { SetTapeStatus(value); return *this;} /** *The current state of the archived virtual tape.
*/ inline TapeArchive& WithTapeStatus(Aws::String&& value) { SetTapeStatus(std::move(value)); return *this;} /** *The current state of the archived virtual tape.
*/ inline TapeArchive& WithTapeStatus(const char* value) { SetTapeStatus(value); return *this;} /** *The size, in bytes, of data stored on the virtual tape.
This * value is not available for tapes created prior to May 13, 2015.
*/ inline long long GetTapeUsedInBytes() const{ return m_tapeUsedInBytes; } /** *The size, in bytes, of data stored on the virtual tape.
This * value is not available for tapes created prior to May 13, 2015.
*/ inline bool TapeUsedInBytesHasBeenSet() const { return m_tapeUsedInBytesHasBeenSet; } /** *The size, in bytes, of data stored on the virtual tape.
This * value is not available for tapes created prior to May 13, 2015.
*/ inline void SetTapeUsedInBytes(long long value) { m_tapeUsedInBytesHasBeenSet = true; m_tapeUsedInBytes = value; } /** *The size, in bytes, of data stored on the virtual tape.
This * value is not available for tapes created prior to May 13, 2015.
*/ inline TapeArchive& WithTapeUsedInBytes(long long value) { SetTapeUsedInBytes(value); return *this;} inline const Aws::String& GetKMSKey() const{ return m_kMSKey; } inline bool KMSKeyHasBeenSet() const { return m_kMSKeyHasBeenSet; } inline void SetKMSKey(const Aws::String& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = value; } inline void SetKMSKey(Aws::String&& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = std::move(value); } inline void SetKMSKey(const char* value) { m_kMSKeyHasBeenSet = true; m_kMSKey.assign(value); } inline TapeArchive& WithKMSKey(const Aws::String& value) { SetKMSKey(value); return *this;} inline TapeArchive& WithKMSKey(Aws::String&& value) { SetKMSKey(std::move(value)); return *this;} inline TapeArchive& WithKMSKey(const char* value) { SetKMSKey(value); return *this;} /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; } /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); } /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); } /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline TapeArchive& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline TapeArchive& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *The ID of the pool that was used to archive the tape. The tapes in this pool * are archived in the S3 storage class that is associated with the pool.
*/ inline TapeArchive& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *Set to true
if the archived tape is stored as
* write-once-read-many (WORM).
Set to true
if the archived tape is stored as
* write-once-read-many (WORM).
Set to true
if the archived tape is stored as
* write-once-read-many (WORM).
Set to true
if the archived tape is stored as
* write-once-read-many (WORM).
If the archived tape is subject to tape retention lock, the date that the * archived tape started being retained.
*/ inline const Aws::Utils::DateTime& GetRetentionStartDate() const{ return m_retentionStartDate; } /** *If the archived tape is subject to tape retention lock, the date that the * archived tape started being retained.
*/ inline bool RetentionStartDateHasBeenSet() const { return m_retentionStartDateHasBeenSet; } /** *If the archived tape is subject to tape retention lock, the date that the * archived tape started being retained.
*/ inline void SetRetentionStartDate(const Aws::Utils::DateTime& value) { m_retentionStartDateHasBeenSet = true; m_retentionStartDate = value; } /** *If the archived tape is subject to tape retention lock, the date that the * archived tape started being retained.
*/ inline void SetRetentionStartDate(Aws::Utils::DateTime&& value) { m_retentionStartDateHasBeenSet = true; m_retentionStartDate = std::move(value); } /** *If the archived tape is subject to tape retention lock, the date that the * archived tape started being retained.
*/ inline TapeArchive& WithRetentionStartDate(const Aws::Utils::DateTime& value) { SetRetentionStartDate(value); return *this;} /** *If the archived tape is subject to tape retention lock, the date that the * archived tape started being retained.
*/ inline TapeArchive& WithRetentionStartDate(Aws::Utils::DateTime&& value) { SetRetentionStartDate(std::move(value)); return *this;} /** *The time that the tape entered the custom tape pool.
The default * timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
*/ inline const Aws::Utils::DateTime& GetPoolEntryDate() const{ return m_poolEntryDate; } /** *The time that the tape entered the custom tape pool.
The default * timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
*/ inline bool PoolEntryDateHasBeenSet() const { return m_poolEntryDateHasBeenSet; } /** *The time that the tape entered the custom tape pool.
The default * timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
*/ inline void SetPoolEntryDate(const Aws::Utils::DateTime& value) { m_poolEntryDateHasBeenSet = true; m_poolEntryDate = value; } /** *The time that the tape entered the custom tape pool.
The default * timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
*/ inline void SetPoolEntryDate(Aws::Utils::DateTime&& value) { m_poolEntryDateHasBeenSet = true; m_poolEntryDate = std::move(value); } /** *The time that the tape entered the custom tape pool.
The default * timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
*/ inline TapeArchive& WithPoolEntryDate(const Aws::Utils::DateTime& value) { SetPoolEntryDate(value); return *this;} /** *The time that the tape entered the custom tape pool.
The default * timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
*/ inline TapeArchive& WithPoolEntryDate(Aws::Utils::DateTime&& value) { SetPoolEntryDate(std::move(value)); return *this;} private: Aws::String m_tapeARN; bool m_tapeARNHasBeenSet = false; Aws::String m_tapeBarcode; bool m_tapeBarcodeHasBeenSet = false; Aws::Utils::DateTime m_tapeCreatedDate; bool m_tapeCreatedDateHasBeenSet = false; long long m_tapeSizeInBytes; bool m_tapeSizeInBytesHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::String m_retrievedTo; bool m_retrievedToHasBeenSet = false; Aws::String m_tapeStatus; bool m_tapeStatusHasBeenSet = false; long long m_tapeUsedInBytes; bool m_tapeUsedInBytesHasBeenSet = false; Aws::String m_kMSKey; bool m_kMSKeyHasBeenSet = false; Aws::String m_poolId; bool m_poolIdHasBeenSet = false; bool m_worm; bool m_wormHasBeenSet = false; Aws::Utils::DateTime m_retentionStartDate; bool m_retentionStartDateHasBeenSet = false; Aws::Utils::DateTime m_poolEntryDate; bool m_poolEntryDateHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws