/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a virtual tape object.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the virtual tape.
*/ inline const Aws::String& GetTapeARN() const{ return m_tapeARN; } /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; } /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); } /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline Tape& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline Tape& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the virtual tape.
*/ inline Tape& WithTapeARN(const char* value) { SetTapeARN(value); return *this;} /** *The barcode that identifies a specific virtual tape.
*/ inline const Aws::String& GetTapeBarcode() const{ return m_tapeBarcode; } /** *The barcode that identifies a specific virtual tape.
*/ inline bool TapeBarcodeHasBeenSet() const { return m_tapeBarcodeHasBeenSet; } /** *The barcode that identifies a specific virtual tape.
*/ inline void SetTapeBarcode(const Aws::String& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = value; } /** *The barcode that identifies a specific virtual tape.
*/ inline void SetTapeBarcode(Aws::String&& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = std::move(value); } /** *The barcode that identifies a specific virtual tape.
*/ inline void SetTapeBarcode(const char* value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode.assign(value); } /** *The barcode that identifies a specific virtual tape.
*/ inline Tape& WithTapeBarcode(const Aws::String& value) { SetTapeBarcode(value); return *this;} /** *The barcode that identifies a specific virtual tape.
*/ inline Tape& WithTapeBarcode(Aws::String&& value) { SetTapeBarcode(std::move(value)); return *this;} /** *The barcode that identifies a specific virtual tape.
*/ inline Tape& 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 Tape& WithTapeCreatedDate(const Aws::Utils::DateTime& value) { SetTapeCreatedDate(value); return *this;} /** *The date the virtual tape was created.
*/ inline Tape& WithTapeCreatedDate(Aws::Utils::DateTime&& value) { SetTapeCreatedDate(std::move(value)); return *this;} /** *The size, in bytes, of the virtual tape capacity.
*/ inline long long GetTapeSizeInBytes() const{ return m_tapeSizeInBytes; } /** *The size, in bytes, of the virtual tape capacity.
*/ inline bool TapeSizeInBytesHasBeenSet() const { return m_tapeSizeInBytesHasBeenSet; } /** *The size, in bytes, of the virtual tape capacity.
*/ inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; } /** *The size, in bytes, of the virtual tape capacity.
*/ inline Tape& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;} /** *The current state of the virtual tape.
*/ inline const Aws::String& GetTapeStatus() const{ return m_tapeStatus; } /** *The current state of the virtual tape.
*/ inline bool TapeStatusHasBeenSet() const { return m_tapeStatusHasBeenSet; } /** *The current state of the virtual tape.
*/ inline void SetTapeStatus(const Aws::String& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = value; } /** *The current state of the virtual tape.
*/ inline void SetTapeStatus(Aws::String&& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = std::move(value); } /** *The current state of the virtual tape.
*/ inline void SetTapeStatus(const char* value) { m_tapeStatusHasBeenSet = true; m_tapeStatus.assign(value); } /** *The current state of the virtual tape.
*/ inline Tape& WithTapeStatus(const Aws::String& value) { SetTapeStatus(value); return *this;} /** *The current state of the virtual tape.
*/ inline Tape& WithTapeStatus(Aws::String&& value) { SetTapeStatus(std::move(value)); return *this;} /** *The current state of the virtual tape.
*/ inline Tape& WithTapeStatus(const char* value) { SetTapeStatus(value); return *this;} /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline const Aws::String& GetVTLDevice() const{ return m_vTLDevice; } /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline bool VTLDeviceHasBeenSet() const { return m_vTLDeviceHasBeenSet; } /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline void SetVTLDevice(const Aws::String& value) { m_vTLDeviceHasBeenSet = true; m_vTLDevice = value; } /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline void SetVTLDevice(Aws::String&& value) { m_vTLDeviceHasBeenSet = true; m_vTLDevice = std::move(value); } /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline void SetVTLDevice(const char* value) { m_vTLDeviceHasBeenSet = true; m_vTLDevice.assign(value); } /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline Tape& WithVTLDevice(const Aws::String& value) { SetVTLDevice(value); return *this;} /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline Tape& WithVTLDevice(Aws::String&& value) { SetVTLDevice(std::move(value)); return *this;} /** *The virtual tape library (VTL) device that the virtual tape is associated * with.
*/ inline Tape& WithVTLDevice(const char* value) { SetVTLDevice(value); return *this;} /** *For archiving virtual tapes, indicates how much data remains to be uploaded * before archiving is complete.
Range: 0 (not started) to 100 * (complete).
*/ inline double GetProgress() const{ return m_progress; } /** *For archiving virtual tapes, indicates how much data remains to be uploaded * before archiving is complete.
Range: 0 (not started) to 100 * (complete).
*/ inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; } /** *For archiving virtual tapes, indicates how much data remains to be uploaded * before archiving is complete.
Range: 0 (not started) to 100 * (complete).
*/ inline void SetProgress(double value) { m_progressHasBeenSet = true; m_progress = value; } /** *For archiving virtual tapes, indicates how much data remains to be uploaded * before archiving is complete.
Range: 0 (not started) to 100 * (complete).
*/ inline Tape& WithProgress(double value) { SetProgress(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 Tape& 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 Tape& WithKMSKey(const Aws::String& value) { SetKMSKey(value); return *this;} inline Tape& WithKMSKey(Aws::String&& value) { SetKMSKey(std::move(value)); return *this;} inline Tape& WithKMSKey(const char* value) { SetKMSKey(value); return *this;} /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; } /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); } /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); } /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline Tape& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline Tape& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *The ID of the pool that contains tapes that will be archived. The tapes in * this pool are archived in the S3 storage class that is associated with the pool. * When you use your backup application to eject the tape, the tape is archived * directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that * corresponds to the pool.
*/ inline Tape& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *If the tape is archived as write-once-read-many (WORM), this value is
* true
.
If the tape is archived as write-once-read-many (WORM), this value is
* true
.
If the tape is archived as write-once-read-many (WORM), this value is
* true
.
If the tape is archived as write-once-read-many (WORM), this value is
* true
.
The date that the tape is first archived with tape retention lock * enabled.
*/ inline const Aws::Utils::DateTime& GetRetentionStartDate() const{ return m_retentionStartDate; } /** *The date that the tape is first archived with tape retention lock * enabled.
*/ inline bool RetentionStartDateHasBeenSet() const { return m_retentionStartDateHasBeenSet; } /** *The date that the tape is first archived with tape retention lock * enabled.
*/ inline void SetRetentionStartDate(const Aws::Utils::DateTime& value) { m_retentionStartDateHasBeenSet = true; m_retentionStartDate = value; } /** *The date that the tape is first archived with tape retention lock * enabled.
*/ inline void SetRetentionStartDate(Aws::Utils::DateTime&& value) { m_retentionStartDateHasBeenSet = true; m_retentionStartDate = std::move(value); } /** *The date that the tape is first archived with tape retention lock * enabled.
*/ inline Tape& WithRetentionStartDate(const Aws::Utils::DateTime& value) { SetRetentionStartDate(value); return *this;} /** *The date that the tape is first archived with tape retention lock * enabled.
*/ inline Tape& WithRetentionStartDate(Aws::Utils::DateTime&& value) { SetRetentionStartDate(std::move(value)); return *this;} /** *The date that the tape enters a custom tape pool.
*/ inline const Aws::Utils::DateTime& GetPoolEntryDate() const{ return m_poolEntryDate; } /** *The date that the tape enters a custom tape pool.
*/ inline bool PoolEntryDateHasBeenSet() const { return m_poolEntryDateHasBeenSet; } /** *The date that the tape enters a custom tape pool.
*/ inline void SetPoolEntryDate(const Aws::Utils::DateTime& value) { m_poolEntryDateHasBeenSet = true; m_poolEntryDate = value; } /** *The date that the tape enters a custom tape pool.
*/ inline void SetPoolEntryDate(Aws::Utils::DateTime&& value) { m_poolEntryDateHasBeenSet = true; m_poolEntryDate = std::move(value); } /** *The date that the tape enters a custom tape pool.
*/ inline Tape& WithPoolEntryDate(const Aws::Utils::DateTime& value) { SetPoolEntryDate(value); return *this;} /** *The date that the tape enters a custom tape pool.
*/ inline Tape& 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::String m_tapeStatus; bool m_tapeStatusHasBeenSet = false; Aws::String m_vTLDevice; bool m_vTLDeviceHasBeenSet = false; double m_progress; bool m_progressHasBeenSet = 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