7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/TapeStorageClass.h>
10#include <aws/storagegateway/model/RetentionLockType.h>
11#include <aws/storagegateway/model/PoolStatus.h>
24namespace StorageGateway
53 inline void SetPoolARN(
const char* value) { m_poolARNHasBeenSet =
true; m_poolARN.assign(value); }
68 inline void SetPoolName(
const char* value) { m_poolNameHasBeenSet =
true; m_poolName.assign(value); }
132 bool m_poolARNHasBeenSet =
false;
135 bool m_poolNameHasBeenSet =
false;
138 bool m_storageClassHasBeenSet =
false;
141 bool m_retentionLockTypeHasBeenSet =
false;
143 int m_retentionLockTimeInDays;
144 bool m_retentionLockTimeInDaysHasBeenSet =
false;
147 bool m_poolStatusHasBeenSet =
false;
void SetPoolARN(Aws::String &&value)
void SetPoolName(const Aws::String &value)
PoolInfo & WithPoolName(const Aws::String &value)
const Aws::String & GetPoolARN() const
bool StorageClassHasBeenSet() const
void SetRetentionLockType(const RetentionLockType &value)
AWS_STORAGEGATEWAY_API PoolInfo()
void SetPoolStatus(PoolStatus &&value)
void SetPoolARN(const Aws::String &value)
void SetPoolName(Aws::String &&value)
int GetRetentionLockTimeInDays() const
PoolInfo & WithPoolARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API PoolInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPoolName() const
void SetStorageClass(TapeStorageClass &&value)
PoolInfo & WithRetentionLockType(const RetentionLockType &value)
PoolInfo & WithPoolStatus(const PoolStatus &value)
PoolInfo & WithStorageClass(TapeStorageClass &&value)
PoolInfo & WithStorageClass(const TapeStorageClass &value)
const TapeStorageClass & GetStorageClass() const
PoolInfo & WithPoolName(const char *value)
void SetRetentionLockTimeInDays(int value)
const PoolStatus & GetPoolStatus() const
PoolInfo & WithRetentionLockType(RetentionLockType &&value)
AWS_STORAGEGATEWAY_API PoolInfo(Aws::Utils::Json::JsonView jsonValue)
bool RetentionLockTimeInDaysHasBeenSet() const
void SetPoolARN(const char *value)
void SetPoolName(const char *value)
bool PoolNameHasBeenSet() const
PoolInfo & WithRetentionLockTimeInDays(int value)
PoolInfo & WithPoolARN(const char *value)
PoolInfo & WithPoolStatus(PoolStatus &&value)
bool PoolStatusHasBeenSet() const
bool RetentionLockTypeHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorageClass(const TapeStorageClass &value)
void SetRetentionLockType(RetentionLockType &&value)
PoolInfo & WithPoolARN(const Aws::String &value)
void SetPoolStatus(const PoolStatus &value)
PoolInfo & WithPoolName(Aws::String &&value)
const RetentionLockType & GetRetentionLockType() const
bool PoolARNHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue