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 {
42 template <
typename TapeARNT = Aws::String>
44 m_tapeARNHasBeenSet =
true;
45 m_tapeARN = std::forward<TapeARNT>(value);
47 template <
typename TapeARNT = Aws::String>
60 template <
typename TapeBarcodeT = Aws::String>
62 m_tapeBarcodeHasBeenSet =
true;
63 m_tapeBarcode = std::forward<TapeBarcodeT>(value);
65 template <
typename TapeBarcodeT = Aws::String>
78 template <
typename TapeCreatedDateT = Aws::Utils::DateTime>
80 m_tapeCreatedDateHasBeenSet =
true;
81 m_tapeCreatedDate = std::forward<TapeCreatedDateT>(value);
83 template <
typename TapeCreatedDateT = Aws::Utils::DateTime>
97 m_tapeSizeInBytesHasBeenSet =
true;
98 m_tapeSizeInBytes = value;
114 template <
typename CompletionTimeT = Aws::Utils::DateTime>
116 m_completionTimeHasBeenSet =
true;
117 m_completionTime = std::forward<CompletionTimeT>(value);
119 template <
typename CompletionTimeT = Aws::Utils::DateTime>
134 template <
typename RetrievedToT = Aws::String>
136 m_retrievedToHasBeenSet =
true;
137 m_retrievedTo = std::forward<RetrievedToT>(value);
139 template <
typename RetrievedToT = Aws::String>
152 template <
typename TapeStatusT = Aws::String>
154 m_tapeStatusHasBeenSet =
true;
155 m_tapeStatus = std::forward<TapeStatusT>(value);
157 template <
typename TapeStatusT = Aws::String>
172 m_tapeUsedInBytesHasBeenSet =
true;
173 m_tapeUsedInBytes = value;
185 template <
typename KMSKeyT = Aws::String>
187 m_kMSKeyHasBeenSet =
true;
188 m_kMSKey = std::forward<KMSKeyT>(value);
190 template <
typename KMSKeyT = Aws::String>
204 template <
typename PoolIdT = Aws::String>
206 m_poolIdHasBeenSet =
true;
207 m_poolId = std::forward<PoolIdT>(value);
209 template <
typename PoolIdT = Aws::String>
221 inline bool GetWorm()
const {
return m_worm; }
224 m_wormHasBeenSet =
true;
240 template <
typename RetentionStartDateT = Aws::Utils::DateTime>
242 m_retentionStartDateHasBeenSet =
true;
243 m_retentionStartDate = std::forward<RetentionStartDateT>(value);
245 template <
typename RetentionStartDateT = Aws::Utils::DateTime>
259 template <
typename PoolEntryDateT = Aws::Utils::DateTime>
261 m_poolEntryDateHasBeenSet =
true;
262 m_poolEntryDate = std::forward<PoolEntryDateT>(value);
264 template <
typename PoolEntryDateT = Aws::Utils::DateTime>
277 long long m_tapeSizeInBytes{0};
285 long long m_tapeUsedInBytes{0};
296 bool m_tapeARNHasBeenSet =
false;
297 bool m_tapeBarcodeHasBeenSet =
false;
298 bool m_tapeCreatedDateHasBeenSet =
false;
299 bool m_tapeSizeInBytesHasBeenSet =
false;
300 bool m_completionTimeHasBeenSet =
false;
301 bool m_retrievedToHasBeenSet =
false;
302 bool m_tapeStatusHasBeenSet =
false;
303 bool m_tapeUsedInBytesHasBeenSet =
false;
304 bool m_kMSKeyHasBeenSet =
false;
305 bool m_poolIdHasBeenSet =
false;
306 bool m_wormHasBeenSet =
false;
307 bool m_retentionStartDateHasBeenSet =
false;
308 bool m_poolEntryDateHasBeenSet =
false;
AWS_STORAGEGATEWAY_API TapeArchive()=default
void SetCompletionTime(CompletionTimeT &&value)
TapeArchive & WithTapeSizeInBytes(long long value)
long long GetTapeSizeInBytes() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetPoolEntryDate() const
TapeArchive & WithTapeCreatedDate(TapeCreatedDateT &&value)
const Aws::String & GetTapeBarcode() const
const Aws::String & GetTapeStatus() const
TapeArchive & WithTapeARN(TapeARNT &&value)
void SetPoolId(PoolIdT &&value)
TapeArchive & WithTapeStatus(TapeStatusT &&value)
void SetRetentionStartDate(RetentionStartDateT &&value)
bool PoolEntryDateHasBeenSet() const
const Aws::String & GetRetrievedTo() const
TapeArchive & WithTapeBarcode(TapeBarcodeT &&value)
bool CompletionTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCompletionTime() const
bool TapeCreatedDateHasBeenSet() const
const Aws::Utils::DateTime & GetRetentionStartDate() const
TapeArchive & WithPoolId(PoolIdT &&value)
const Aws::Utils::DateTime & GetTapeCreatedDate() const
void SetRetrievedTo(RetrievedToT &&value)
void SetTapeARN(TapeARNT &&value)
void SetTapeUsedInBytes(long long value)
bool RetrievedToHasBeenSet() const
TapeArchive & WithWorm(bool value)
const Aws::String & GetPoolId() const
bool TapeARNHasBeenSet() const
AWS_STORAGEGATEWAY_API TapeArchive & operator=(Aws::Utils::Json::JsonView jsonValue)
TapeArchive & WithCompletionTime(CompletionTimeT &&value)
bool TapeBarcodeHasBeenSet() const
void SetTapeBarcode(TapeBarcodeT &&value)
void SetTapeStatus(TapeStatusT &&value)
bool WormHasBeenSet() const
bool TapeStatusHasBeenSet() const
void SetPoolEntryDate(PoolEntryDateT &&value)
bool TapeSizeInBytesHasBeenSet() const
TapeArchive & WithRetrievedTo(RetrievedToT &&value)
AWS_STORAGEGATEWAY_API TapeArchive(Aws::Utils::Json::JsonView jsonValue)
TapeArchive & WithTapeUsedInBytes(long long value)
TapeArchive & WithKMSKey(KMSKeyT &&value)
TapeArchive & WithPoolEntryDate(PoolEntryDateT &&value)
bool KMSKeyHasBeenSet() const
bool PoolIdHasBeenSet() const
const Aws::String & GetTapeARN() const
bool TapeUsedInBytesHasBeenSet() const
void SetTapeCreatedDate(TapeCreatedDateT &&value)
void SetKMSKey(KMSKeyT &&value)
TapeArchive & WithRetentionStartDate(RetentionStartDateT &&value)
bool RetentionStartDateHasBeenSet() const
void SetTapeSizeInBytes(long long value)
const Aws::String & GetKMSKey() const
long long GetTapeUsedInBytes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue