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();
49 inline void SetTapeARN(
const char* value) { m_tapeARNHasBeenSet =
true; m_tapeARN.assign(value); }
63 inline void SetTapeBarcode(
const char* value) { m_tapeBarcodeHasBeenSet =
true; m_tapeBarcode.assign(value); }
87 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
99 inline void SetTapeStatus(
const char* value) { m_tapeStatusHasBeenSet =
true; m_tapeStatus.assign(value); }
114 inline void SetVTLDevice(
const char* value) { m_vTLDeviceHasBeenSet =
true; m_vTLDevice.assign(value); }
128 inline void SetProgress(
double value) { m_progressHasBeenSet =
true; m_progress = value; }
139 inline void SetTapeUsedInBytes(
long long value) { m_tapeUsedInBytesHasBeenSet =
true; m_tapeUsedInBytes = value; }
149 inline void SetKMSKey(
const char* value) { m_kMSKeyHasBeenSet =
true; m_kMSKey.assign(value); }
167 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
180 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
211 bool m_tapeARNHasBeenSet =
false;
214 bool m_tapeBarcodeHasBeenSet =
false;
217 bool m_tapeCreatedDateHasBeenSet =
false;
219 long long m_tapeSizeInBytes;
220 bool m_tapeSizeInBytesHasBeenSet =
false;
223 bool m_tapeStatusHasBeenSet =
false;
226 bool m_vTLDeviceHasBeenSet =
false;
229 bool m_progressHasBeenSet =
false;
231 long long m_tapeUsedInBytes;
232 bool m_tapeUsedInBytesHasBeenSet =
false;
235 bool m_kMSKeyHasBeenSet =
false;
238 bool m_poolIdHasBeenSet =
false;
241 bool m_wormHasBeenSet =
false;
244 bool m_retentionStartDateHasBeenSet =
false;
247 bool m_poolEntryDateHasBeenSet =
false;
void SetPoolEntryDate(Aws::Utils::DateTime &&value)
Tape & WithPoolEntryDate(const Aws::Utils::DateTime &value)
void SetTapeARN(Aws::String &&value)
const Aws::String & GetVTLDevice() const
bool ProgressHasBeenSet() const
AWS_STORAGEGATEWAY_API Tape(Aws::Utils::Json::JsonView jsonValue)
Tape & WithVTLDevice(Aws::String &&value)
Tape & WithPoolId(const Aws::String &value)
Tape & WithTapeStatus(Aws::String &&value)
void SetTapeBarcode(const Aws::String &value)
Tape & WithTapeStatus(const char *value)
void SetRetentionStartDate(const Aws::Utils::DateTime &value)
Tape & WithPoolId(const char *value)
bool TapeSizeInBytesHasBeenSet() const
Tape & WithWorm(bool value)
void SetKMSKey(const Aws::String &value)
Tape & WithPoolEntryDate(Aws::Utils::DateTime &&value)
const Aws::String & GetTapeARN() const
void SetVTLDevice(Aws::String &&value)
Tape & WithVTLDevice(const char *value)
Tape & WithKMSKey(Aws::String &&value)
AWS_STORAGEGATEWAY_API Tape()
Tape & WithTapeStatus(const Aws::String &value)
bool VTLDeviceHasBeenSet() const
void SetKMSKey(const char *value)
Tape & WithTapeCreatedDate(Aws::Utils::DateTime &&value)
void SetRetentionStartDate(Aws::Utils::DateTime &&value)
void SetTapeCreatedDate(const Aws::Utils::DateTime &value)
void SetTapeUsedInBytes(long long value)
const Aws::String & GetKMSKey() const
void SetKMSKey(Aws::String &&value)
double GetProgress() const
void SetTapeBarcode(const char *value)
Tape & WithTapeUsedInBytes(long long value)
void SetProgress(double value)
Tape & WithTapeARN(const char *value)
const Aws::Utils::DateTime & GetPoolEntryDate() const
Tape & WithTapeSizeInBytes(long long value)
Tape & WithKMSKey(const Aws::String &value)
Tape & WithTapeBarcode(Aws::String &&value)
void SetTapeARN(const char *value)
void SetTapeStatus(const char *value)
void SetPoolId(Aws::String &&value)
void SetPoolEntryDate(const Aws::Utils::DateTime &value)
void SetTapeStatus(const Aws::String &value)
void SetTapeStatus(Aws::String &&value)
bool KMSKeyHasBeenSet() const
void SetTapeARN(const Aws::String &value)
const Aws::Utils::DateTime & GetRetentionStartDate() const
void SetPoolId(const Aws::String &value)
const Aws::Utils::DateTime & GetTapeCreatedDate() const
Tape & WithTapeARN(const Aws::String &value)
bool RetentionStartDateHasBeenSet() const
const Aws::String & GetTapeBarcode() const
void SetPoolId(const char *value)
Tape & WithTapeARN(Aws::String &&value)
Tape & WithRetentionStartDate(Aws::Utils::DateTime &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TapeStatusHasBeenSet() const
bool TapeBarcodeHasBeenSet() const
const Aws::String & GetPoolId() const
void SetVTLDevice(const Aws::String &value)
void SetTapeCreatedDate(Aws::Utils::DateTime &&value)
void SetTapeSizeInBytes(long long value)
bool TapeARNHasBeenSet() const
const Aws::String & GetTapeStatus() const
bool TapeCreatedDateHasBeenSet() const
Tape & WithTapeBarcode(const Aws::String &value)
AWS_STORAGEGATEWAY_API Tape & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetTapeUsedInBytes() const
bool WormHasBeenSet() const
Tape & WithKMSKey(const char *value)
long long GetTapeSizeInBytes() const
bool PoolIdHasBeenSet() const
Tape & WithTapeCreatedDate(const Aws::Utils::DateTime &value)
Tape & WithTapeBarcode(const char *value)
Tape & WithPoolId(Aws::String &&value)
bool TapeUsedInBytesHasBeenSet() const
void SetVTLDevice(const char *value)
Tape & WithProgress(double value)
bool PoolEntryDateHasBeenSet() const
void SetTapeBarcode(Aws::String &&value)
Tape & WithRetentionStartDate(const Aws::Utils::DateTime &value)
Tape & WithVTLDevice(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue