7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace StorageGateway
53 template<
typename TapeBarcodePrefixT = Aws::String>
54 void SetTapeBarcodePrefix(TapeBarcodePrefixT&& value) { m_tapeBarcodePrefixHasBeenSet =
true; m_tapeBarcodePrefix = std::forward<TapeBarcodePrefixT>(value); }
55 template<
typename TapeBarcodePrefixT = Aws::String>
69 template<
typename PoolIdT = Aws::String>
70 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet =
true; m_poolId = std::forward<PoolIdT>(value); }
71 template<
typename PoolIdT = Aws::String>
81 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
97 inline void SetMinimumNumTapes(
int value) { m_minimumNumTapesHasBeenSet =
true; m_minimumNumTapes = value; }
107 inline bool GetWorm()
const {
return m_worm; }
109 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
115 bool m_tapeBarcodePrefixHasBeenSet =
false;
118 bool m_poolIdHasBeenSet =
false;
120 long long m_tapeSizeInBytes{0};
121 bool m_tapeSizeInBytesHasBeenSet =
false;
123 int m_minimumNumTapes{0};
124 bool m_minimumNumTapesHasBeenSet =
false;
127 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