7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace StorageGateway
35 AWS_STORAGEGATEWAY_API
Tape() =
default;
47 template<
typename TapeARNT = Aws::String>
48 void SetTapeARN(TapeARNT&& value) { m_tapeARNHasBeenSet =
true; m_tapeARN = std::forward<TapeARNT>(value); }
49 template<
typename TapeARNT = Aws::String>
59 template<
typename TapeBarcodeT = Aws::String>
60 void SetTapeBarcode(TapeBarcodeT&& value) { m_tapeBarcodeHasBeenSet =
true; m_tapeBarcode = std::forward<TapeBarcodeT>(value); }
61 template<
typename TapeBarcodeT = Aws::String>
71 template<
typename TapeCreatedDateT = Aws::Utils::DateTime>
72 void SetTapeCreatedDate(TapeCreatedDateT&& value) { m_tapeCreatedDateHasBeenSet =
true; m_tapeCreatedDate = std::forward<TapeCreatedDateT>(value); }
73 template<
typename TapeCreatedDateT = Aws::Utils::DateTime>
83 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
93 template<
typename TapeStatusT = Aws::String>
94 void SetTapeStatus(TapeStatusT&& value) { m_tapeStatusHasBeenSet =
true; m_tapeStatus = std::forward<TapeStatusT>(value); }
95 template<
typename TapeStatusT = Aws::String>
106 template<
typename VTLDeviceT = Aws::String>
107 void SetVTLDevice(VTLDeviceT&& value) { m_vTLDeviceHasBeenSet =
true; m_vTLDevice = std::forward<VTLDeviceT>(value); }
108 template<
typename VTLDeviceT = Aws::String>
120 inline void SetProgress(
double value) { m_progressHasBeenSet =
true; m_progress = value; }
131 inline void SetTapeUsedInBytes(
long long value) { m_tapeUsedInBytesHasBeenSet =
true; m_tapeUsedInBytes = value; }
139 template<
typename KMSKeyT = Aws::String>
140 void SetKMSKey(KMSKeyT&& value) { m_kMSKeyHasBeenSet =
true; m_kMSKey = std::forward<KMSKeyT>(value); }
141 template<
typename KMSKeyT = Aws::String>
155 template<
typename PoolIdT = Aws::String>
156 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet =
true; m_poolId = std::forward<PoolIdT>(value); }
157 template<
typename PoolIdT = Aws::String>
166 inline bool GetWorm()
const {
return m_worm; }
168 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
179 template<
typename RetentionStartDateT = Aws::Utils::DateTime>
180 void SetRetentionStartDate(RetentionStartDateT&& value) { m_retentionStartDateHasBeenSet =
true; m_retentionStartDate = std::forward<RetentionStartDateT>(value); }
181 template<
typename RetentionStartDateT = Aws::Utils::DateTime>
191 template<
typename PoolEntryDateT = Aws::Utils::DateTime>
192 void SetPoolEntryDate(PoolEntryDateT&& value) { m_poolEntryDateHasBeenSet =
true; m_poolEntryDate = std::forward<PoolEntryDateT>(value); }
193 template<
typename PoolEntryDateT = Aws::Utils::DateTime>
199 bool m_tapeARNHasBeenSet =
false;
202 bool m_tapeBarcodeHasBeenSet =
false;
205 bool m_tapeCreatedDateHasBeenSet =
false;
207 long long m_tapeSizeInBytes{0};
208 bool m_tapeSizeInBytesHasBeenSet =
false;
211 bool m_tapeStatusHasBeenSet =
false;
214 bool m_vTLDeviceHasBeenSet =
false;
216 double m_progress{0.0};
217 bool m_progressHasBeenSet =
false;
219 long long m_tapeUsedInBytes{0};
220 bool m_tapeUsedInBytesHasBeenSet =
false;
223 bool m_kMSKeyHasBeenSet =
false;
226 bool m_poolIdHasBeenSet =
false;
229 bool m_wormHasBeenSet =
false;
232 bool m_retentionStartDateHasBeenSet =
false;
235 bool m_poolEntryDateHasBeenSet =
false;
const Aws::String & GetVTLDevice() const
bool ProgressHasBeenSet() const
AWS_STORAGEGATEWAY_API Tape(Aws::Utils::Json::JsonView jsonValue)
bool TapeSizeInBytesHasBeenSet() const
Tape & WithWorm(bool value)
Tape & WithPoolEntryDate(PoolEntryDateT &&value)
const Aws::String & GetTapeARN() const
void SetPoolId(PoolIdT &&value)
void SetTapeCreatedDate(TapeCreatedDateT &&value)
bool VTLDeviceHasBeenSet() const
void SetKMSKey(KMSKeyT &&value)
Tape & WithTapeStatus(TapeStatusT &&value)
Tape & WithKMSKey(KMSKeyT &&value)
void SetTapeBarcode(TapeBarcodeT &&value)
void SetTapeUsedInBytes(long long value)
void SetVTLDevice(VTLDeviceT &&value)
const Aws::String & GetKMSKey() const
double GetProgress() const
Tape & WithTapeUsedInBytes(long long value)
void SetProgress(double value)
const Aws::Utils::DateTime & GetPoolEntryDate() const
Tape & WithTapeSizeInBytes(long long value)
void SetPoolEntryDate(PoolEntryDateT &&value)
Tape & WithTapeCreatedDate(TapeCreatedDateT &&value)
Tape & WithPoolId(PoolIdT &&value)
AWS_STORAGEGATEWAY_API Tape()=default
bool KMSKeyHasBeenSet() const
const Aws::Utils::DateTime & GetRetentionStartDate() const
void SetTapeStatus(TapeStatusT &&value)
Tape & WithTapeBarcode(TapeBarcodeT &&value)
Tape & WithTapeARN(TapeARNT &&value)
const Aws::Utils::DateTime & GetTapeCreatedDate() const
bool RetentionStartDateHasBeenSet() const
const Aws::String & GetTapeBarcode() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TapeStatusHasBeenSet() const
bool TapeBarcodeHasBeenSet() const
const Aws::String & GetPoolId() const
Tape & WithVTLDevice(VTLDeviceT &&value)
void SetTapeSizeInBytes(long long value)
bool TapeARNHasBeenSet() const
const Aws::String & GetTapeStatus() const
bool TapeCreatedDateHasBeenSet() const
Tape & WithRetentionStartDate(RetentionStartDateT &&value)
AWS_STORAGEGATEWAY_API Tape & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetTapeUsedInBytes() const
bool WormHasBeenSet() const
void SetRetentionStartDate(RetentionStartDateT &&value)
long long GetTapeSizeInBytes() const
bool PoolIdHasBeenSet() const
bool TapeUsedInBytesHasBeenSet() const
Tape & WithProgress(double value)
void SetTapeARN(TapeARNT &&value)
bool PoolEntryDateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue