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
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 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
81 template<
typename TapeStatusT = Aws::String>
82 void SetTapeStatus(TapeStatusT&& value) { m_tapeStatusHasBeenSet =
true; m_tapeStatus = std::forward<TapeStatusT>(value); }
83 template<
typename TapeStatusT = Aws::String>
95 template<
typename GatewayARNT = Aws::String>
96 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN = std::forward<GatewayARNT>(value); }
97 template<
typename GatewayARNT = Aws::String>
111 template<
typename PoolIdT = Aws::String>
112 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet =
true; m_poolId = std::forward<PoolIdT>(value); }
113 template<
typename PoolIdT = Aws::String>
123 template<
typename RetentionStartDateT = Aws::Utils::DateTime>
124 void SetRetentionStartDate(RetentionStartDateT&& value) { m_retentionStartDateHasBeenSet =
true; m_retentionStartDate = std::forward<RetentionStartDateT>(value); }
125 template<
typename RetentionStartDateT = Aws::Utils::DateTime>
136 template<
typename PoolEntryDateT = Aws::Utils::DateTime>
137 void SetPoolEntryDate(PoolEntryDateT&& value) { m_poolEntryDateHasBeenSet =
true; m_poolEntryDate = std::forward<PoolEntryDateT>(value); }
138 template<
typename PoolEntryDateT = Aws::Utils::DateTime>
144 bool m_tapeARNHasBeenSet =
false;
147 bool m_tapeBarcodeHasBeenSet =
false;
149 long long m_tapeSizeInBytes{0};
150 bool m_tapeSizeInBytesHasBeenSet =
false;
153 bool m_tapeStatusHasBeenSet =
false;
156 bool m_gatewayARNHasBeenSet =
false;
159 bool m_poolIdHasBeenSet =
false;
162 bool m_retentionStartDateHasBeenSet =
false;
165 bool m_poolEntryDateHasBeenSet =
false;
void SetTapeStatus(TapeStatusT &&value)
const Aws::String & GetTapeStatus() const
void SetGatewayARN(GatewayARNT &&value)
void SetRetentionStartDate(RetentionStartDateT &&value)
TapeInfo & WithPoolId(PoolIdT &&value)
void SetPoolEntryDate(PoolEntryDateT &&value)
void SetTapeBarcode(TapeBarcodeT &&value)
bool RetentionStartDateHasBeenSet() const
TapeInfo & WithGatewayARN(GatewayARNT &&value)
const Aws::String & GetTapeBarcode() const
TapeInfo & WithTapeStatus(TapeStatusT &&value)
const Aws::String & GetGatewayARN() const
const Aws::String & GetPoolId() const
TapeInfo & WithTapeBarcode(TapeBarcodeT &&value)
AWS_STORAGEGATEWAY_API TapeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
TapeInfo & WithTapeARN(TapeARNT &&value)
TapeInfo & WithRetentionStartDate(RetentionStartDateT &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TapeBarcodeHasBeenSet() const
AWS_STORAGEGATEWAY_API TapeInfo()=default
bool PoolIdHasBeenSet() const
void SetTapeSizeInBytes(long long value)
void SetPoolId(PoolIdT &&value)
bool TapeStatusHasBeenSet() const
const Aws::Utils::DateTime & GetPoolEntryDate() const
const Aws::Utils::DateTime & GetRetentionStartDate() const
bool TapeSizeInBytesHasBeenSet() const
TapeInfo & WithPoolEntryDate(PoolEntryDateT &&value)
long long GetTapeSizeInBytes() const
bool PoolEntryDateHasBeenSet() const
AWS_STORAGEGATEWAY_API TapeInfo(Aws::Utils::Json::JsonView jsonValue)
TapeInfo & WithTapeSizeInBytes(long long value)
void SetTapeARN(TapeARNT &&value)
const Aws::String & GetTapeARN() const
bool TapeARNHasBeenSet() const
bool GatewayARNHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue