7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
20namespace StorageGateway {
30 AWS_STORAGEGATEWAY_API
Tape() =
default;
41 template <
typename TapeARNT = Aws::String>
43 m_tapeARNHasBeenSet =
true;
44 m_tapeARN = std::forward<TapeARNT>(value);
46 template <
typename TapeARNT = Aws::String>
59 template <
typename TapeBarcodeT = Aws::String>
61 m_tapeBarcodeHasBeenSet =
true;
62 m_tapeBarcode = std::forward<TapeBarcodeT>(value);
64 template <
typename TapeBarcodeT = Aws::String>
77 template <
typename TapeCreatedDateT = Aws::Utils::DateTime>
79 m_tapeCreatedDateHasBeenSet =
true;
80 m_tapeCreatedDate = std::forward<TapeCreatedDateT>(value);
82 template <
typename TapeCreatedDateT = Aws::Utils::DateTime>
96 m_tapeSizeInBytesHasBeenSet =
true;
97 m_tapeSizeInBytes = value;
111 template <
typename TapeStatusT = Aws::String>
113 m_tapeStatusHasBeenSet =
true;
114 m_tapeStatus = std::forward<TapeStatusT>(value);
116 template <
typename TapeStatusT = Aws::String>
130 template <
typename VTLDeviceT = Aws::String>
132 m_vTLDeviceHasBeenSet =
true;
133 m_vTLDevice = std::forward<VTLDeviceT>(value);
135 template <
typename VTLDeviceT = Aws::String>
151 m_progressHasBeenSet =
true;
168 m_tapeUsedInBytesHasBeenSet =
true;
169 m_tapeUsedInBytes = value;
181 template <
typename KMSKeyT = Aws::String>
183 m_kMSKeyHasBeenSet =
true;
184 m_kMSKey = std::forward<KMSKeyT>(value);
186 template <
typename KMSKeyT = Aws::String>
203 template <
typename PoolIdT = Aws::String>
205 m_poolIdHasBeenSet =
true;
206 m_poolId = std::forward<PoolIdT>(value);
208 template <
typename PoolIdT = Aws::String>
220 inline bool GetWorm()
const {
return m_worm; }
223 m_wormHasBeenSet =
true;
239 template <
typename RetentionStartDateT = Aws::Utils::DateTime>
241 m_retentionStartDateHasBeenSet =
true;
242 m_retentionStartDate = std::forward<RetentionStartDateT>(value);
244 template <
typename RetentionStartDateT = Aws::Utils::DateTime>
257 template <
typename PoolEntryDateT = Aws::Utils::DateTime>
259 m_poolEntryDateHasBeenSet =
true;
260 m_poolEntryDate = std::forward<PoolEntryDateT>(value);
262 template <
typename PoolEntryDateT = Aws::Utils::DateTime>
275 long long m_tapeSizeInBytes{0};
281 double m_progress{0.0};
283 long long m_tapeUsedInBytes{0};
294 bool m_tapeARNHasBeenSet =
false;
295 bool m_tapeBarcodeHasBeenSet =
false;
296 bool m_tapeCreatedDateHasBeenSet =
false;
297 bool m_tapeSizeInBytesHasBeenSet =
false;
298 bool m_tapeStatusHasBeenSet =
false;
299 bool m_vTLDeviceHasBeenSet =
false;
300 bool m_progressHasBeenSet =
false;
301 bool m_tapeUsedInBytesHasBeenSet =
false;
302 bool m_kMSKeyHasBeenSet =
false;
303 bool m_poolIdHasBeenSet =
false;
304 bool m_wormHasBeenSet =
false;
305 bool m_retentionStartDateHasBeenSet =
false;
306 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