7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGateway_EXPORTS.h>
19namespace StorageGateway {
47 template <
typename TapeBarcodePrefixT = Aws::String>
49 m_tapeBarcodePrefixHasBeenSet =
true;
50 m_tapeBarcodePrefix = std::forward<TapeBarcodePrefixT>(value);
52 template <
typename TapeBarcodePrefixT = Aws::String>
69 template <
typename PoolIdT = Aws::String>
71 m_poolIdHasBeenSet =
true;
72 m_poolId = std::forward<PoolIdT>(value);
74 template <
typename PoolIdT = Aws::String>
88 m_tapeSizeInBytesHasBeenSet =
true;
89 m_tapeSizeInBytes = value;
110 m_minimumNumTapesHasBeenSet =
true;
111 m_minimumNumTapes = value;
125 inline bool GetWorm()
const {
return m_worm; }
128 m_wormHasBeenSet =
true;
141 long long m_tapeSizeInBytes{0};
143 int m_minimumNumTapes{0};
146 bool m_tapeBarcodePrefixHasBeenSet =
false;
147 bool m_poolIdHasBeenSet =
false;
148 bool m_tapeSizeInBytesHasBeenSet =
false;
149 bool m_minimumNumTapesHasBeenSet =
false;
150 bool m_wormHasBeenSet =
false;
AutomaticTapeCreationRule & WithMinimumNumTapes(int value)
AutomaticTapeCreationRule & WithTapeSizeInBytes(long long value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTapeBarcodePrefix() const
void SetPoolId(PoolIdT &&value)
void SetTapeBarcodePrefix(TapeBarcodePrefixT &&value)
AutomaticTapeCreationRule & WithWorm(bool value)
AWS_STORAGEGATEWAY_API AutomaticTapeCreationRule()=default
bool TapeBarcodePrefixHasBeenSet() const
const Aws::String & GetPoolId() const
bool TapeSizeInBytesHasBeenSet() const
bool WormHasBeenSet() const
bool MinimumNumTapesHasBeenSet() const
void SetMinimumNumTapes(int value)
bool PoolIdHasBeenSet() const
AutomaticTapeCreationRule & WithTapeBarcodePrefix(TapeBarcodePrefixT &&value)
AutomaticTapeCreationRule & WithPoolId(PoolIdT &&value)
long long GetTapeSizeInBytes() const
AWS_STORAGEGATEWAY_API AutomaticTapeCreationRule(Aws::Utils::Json::JsonView jsonValue)
void SetTapeSizeInBytes(long long value)
AWS_STORAGEGATEWAY_API AutomaticTapeCreationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMinimumNumTapes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue