7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace StorageGateway
55 inline void SetTapeBarcodePrefix(
const char* value) { m_tapeBarcodePrefixHasBeenSet =
true; m_tapeBarcodePrefix.assign(value); }
73 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
85 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
101 inline void SetMinimumNumTapes(
int value) { m_minimumNumTapesHasBeenSet =
true; m_minimumNumTapes = value; }
113 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
119 bool m_tapeBarcodePrefixHasBeenSet =
false;
122 bool m_poolIdHasBeenSet =
false;
124 long long m_tapeSizeInBytes;
125 bool m_tapeSizeInBytesHasBeenSet =
false;
127 int m_minimumNumTapes;
128 bool m_minimumNumTapesHasBeenSet =
false;
131 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(Aws::String &&value)
AutomaticTapeCreationRule & WithPoolId(const Aws::String &value)
AutomaticTapeCreationRule & WithTapeBarcodePrefix(const Aws::String &value)
AutomaticTapeCreationRule & WithWorm(bool value)
void SetTapeBarcodePrefix(const Aws::String &value)
AutomaticTapeCreationRule & WithTapeBarcodePrefix(Aws::String &&value)
bool TapeBarcodePrefixHasBeenSet() const
const Aws::String & GetPoolId() const
void SetTapeBarcodePrefix(const char *value)
void SetTapeBarcodePrefix(Aws::String &&value)
void SetPoolId(const Aws::String &value)
bool TapeSizeInBytesHasBeenSet() const
bool WormHasBeenSet() const
bool MinimumNumTapesHasBeenSet() const
void SetMinimumNumTapes(int value)
bool PoolIdHasBeenSet() const
long long GetTapeSizeInBytes() const
AWS_STORAGEGATEWAY_API AutomaticTapeCreationRule(Aws::Utils::Json::JsonView jsonValue)
void SetPoolId(const char *value)
AutomaticTapeCreationRule & WithPoolId(const char *value)
void SetTapeSizeInBytes(long long value)
AWS_STORAGEGATEWAY_API AutomaticTapeCreationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMinimumNumTapes() const
AutomaticTapeCreationRule & WithPoolId(Aws::String &&value)
AutomaticTapeCreationRule & WithTapeBarcodePrefix(const char *value)
AWS_STORAGEGATEWAY_API AutomaticTapeCreationRule()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue