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
50 inline void SetTapeARN(
const char* value) { m_tapeARNHasBeenSet =
true; m_tapeARN.assign(value); }
64 inline void SetTapeBarcode(
const char* value) { m_tapeBarcodeHasBeenSet =
true; m_tapeBarcode.assign(value); }
88 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
116 inline void SetRetrievedTo(
const char* value) { m_retrievedToHasBeenSet =
true; m_retrievedTo.assign(value); }
130 inline void SetTapeStatus(
const char* value) { m_tapeStatusHasBeenSet =
true; m_tapeStatus.assign(value); }
143 inline void SetTapeUsedInBytes(
long long value) { m_tapeUsedInBytesHasBeenSet =
true; m_tapeUsedInBytes = value; }
153 inline void SetKMSKey(
const char* value) { m_kMSKeyHasBeenSet =
true; m_kMSKey.assign(value); }
168 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
181 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
213 bool m_tapeARNHasBeenSet =
false;
216 bool m_tapeBarcodeHasBeenSet =
false;
219 bool m_tapeCreatedDateHasBeenSet =
false;
221 long long m_tapeSizeInBytes;
222 bool m_tapeSizeInBytesHasBeenSet =
false;
225 bool m_completionTimeHasBeenSet =
false;
228 bool m_retrievedToHasBeenSet =
false;
231 bool m_tapeStatusHasBeenSet =
false;
233 long long m_tapeUsedInBytes;
234 bool m_tapeUsedInBytesHasBeenSet =
false;
237 bool m_kMSKeyHasBeenSet =
false;
240 bool m_poolIdHasBeenSet =
false;
243 bool m_wormHasBeenSet =
false;
246 bool m_retentionStartDateHasBeenSet =
false;
249 bool m_poolEntryDateHasBeenSet =
false;
TapeArchive & WithRetentionStartDate(const Aws::Utils::DateTime &value)
void SetKMSKey(const Aws::String &value)
TapeArchive & WithTapeARN(const char *value)
TapeArchive & WithTapeSizeInBytes(long long value)
void SetRetentionStartDate(Aws::Utils::DateTime &&value)
long long GetTapeSizeInBytes() const
TapeArchive & WithKMSKey(const Aws::String &value)
TapeArchive & WithCompletionTime(Aws::Utils::DateTime &&value)
void SetTapeBarcode(const char *value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetPoolEntryDate() const
void SetTapeARN(Aws::String &&value)
void SetKMSKey(Aws::String &&value)
TapeArchive & WithTapeARN(const Aws::String &value)
void SetTapeStatus(Aws::String &&value)
TapeArchive & WithTapeStatus(const Aws::String &value)
TapeArchive & WithPoolEntryDate(Aws::Utils::DateTime &&value)
const Aws::String & GetTapeBarcode() const
const Aws::String & GetTapeStatus() const
void SetTapeStatus(const Aws::String &value)
TapeArchive & WithPoolId(const Aws::String &value)
TapeArchive & WithRetentionStartDate(Aws::Utils::DateTime &&value)
void SetPoolId(Aws::String &&value)
bool PoolEntryDateHasBeenSet() const
const Aws::String & GetRetrievedTo() const
void SetCompletionTime(const Aws::Utils::DateTime &value)
TapeArchive & WithTapeStatus(Aws::String &&value)
void SetCompletionTime(Aws::Utils::DateTime &&value)
TapeArchive & WithPoolEntryDate(const Aws::Utils::DateTime &value)
bool CompletionTimeHasBeenSet() const
void SetRetrievedTo(const Aws::String &value)
const Aws::Utils::DateTime & GetCompletionTime() const
TapeArchive & WithKMSKey(const char *value)
bool TapeCreatedDateHasBeenSet() const
const Aws::Utils::DateTime & GetRetentionStartDate() const
const Aws::Utils::DateTime & GetTapeCreatedDate() const
void SetTapeUsedInBytes(long long value)
void SetPoolId(const char *value)
void SetPoolId(const Aws::String &value)
TapeArchive & WithPoolId(const char *value)
bool RetrievedToHasBeenSet() const
void SetTapeARN(const Aws::String &value)
TapeArchive & WithKMSKey(Aws::String &&value)
TapeArchive & WithTapeARN(Aws::String &&value)
TapeArchive & WithWorm(bool value)
TapeArchive & WithTapeStatus(const char *value)
const Aws::String & GetPoolId() const
bool TapeARNHasBeenSet() const
void SetTapeBarcode(Aws::String &&value)
AWS_STORAGEGATEWAY_API TapeArchive & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTapeCreatedDate(const Aws::Utils::DateTime &value)
bool TapeBarcodeHasBeenSet() const
void SetRetrievedTo(const char *value)
void SetKMSKey(const char *value)
bool WormHasBeenSet() const
bool TapeStatusHasBeenSet() const
void SetRetrievedTo(Aws::String &&value)
bool TapeSizeInBytesHasBeenSet() const
void SetPoolEntryDate(Aws::Utils::DateTime &&value)
AWS_STORAGEGATEWAY_API TapeArchive(Aws::Utils::Json::JsonView jsonValue)
TapeArchive & WithTapeUsedInBytes(long long value)
void SetRetentionStartDate(const Aws::Utils::DateTime &value)
TapeArchive & WithTapeBarcode(const Aws::String &value)
TapeArchive & WithTapeBarcode(Aws::String &&value)
TapeArchive & WithRetrievedTo(Aws::String &&value)
bool KMSKeyHasBeenSet() const
void SetTapeStatus(const char *value)
bool PoolIdHasBeenSet() const
const Aws::String & GetTapeARN() const
bool TapeUsedInBytesHasBeenSet() const
void SetTapeCreatedDate(Aws::Utils::DateTime &&value)
TapeArchive & WithTapeCreatedDate(const Aws::Utils::DateTime &value)
void SetTapeARN(const char *value)
bool RetentionStartDateHasBeenSet() const
TapeArchive & WithTapeCreatedDate(Aws::Utils::DateTime &&value)
TapeArchive & WithRetrievedTo(const char *value)
TapeArchive & WithPoolId(Aws::String &&value)
void SetTapeSizeInBytes(long long value)
void SetPoolEntryDate(const Aws::Utils::DateTime &value)
TapeArchive & WithRetrievedTo(const Aws::String &value)
const Aws::String & GetKMSKey() const
void SetTapeBarcode(const Aws::String &value)
AWS_STORAGEGATEWAY_API TapeArchive()
TapeArchive & WithCompletionTime(const Aws::Utils::DateTime &value)
long long GetTapeUsedInBytes() const
TapeArchive & WithTapeBarcode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue