7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGateway_EXPORTS.h>
9#include <aws/storagegateway/model/PoolStatus.h>
10#include <aws/storagegateway/model/RetentionLockType.h>
11#include <aws/storagegateway/model/TapeStorageClass.h>
22namespace StorageGateway {
45 template <
typename PoolARNT = Aws::String>
47 m_poolARNHasBeenSet =
true;
48 m_poolARN = std::forward<PoolARNT>(value);
50 template <
typename PoolARNT = Aws::String>
64 template <
typename PoolNameT = Aws::String>
66 m_poolNameHasBeenSet =
true;
67 m_poolName = std::forward<PoolNameT>(value);
69 template <
typename PoolNameT = Aws::String>
86 m_storageClassHasBeenSet =
true;
87 m_storageClass = value;
107 m_retentionLockTypeHasBeenSet =
true;
108 m_retentionLockType = value;
124 m_retentionLockTimeInDaysHasBeenSet =
true;
125 m_retentionLockTimeInDays = value;
141 m_poolStatusHasBeenSet =
true;
142 m_poolStatus = value;
158 int m_retentionLockTimeInDays{0};
161 bool m_poolARNHasBeenSet =
false;
162 bool m_poolNameHasBeenSet =
false;
163 bool m_storageClassHasBeenSet =
false;
164 bool m_retentionLockTypeHasBeenSet =
false;
165 bool m_retentionLockTimeInDaysHasBeenSet =
false;
166 bool m_poolStatusHasBeenSet =
false;
const Aws::String & GetPoolARN() const
void SetStorageClass(TapeStorageClass value)
bool StorageClassHasBeenSet() const
PoolStatus GetPoolStatus() const
void SetPoolStatus(PoolStatus value)
void SetPoolARN(PoolARNT &&value)
int GetRetentionLockTimeInDays() const
AWS_STORAGEGATEWAY_API PoolInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPoolName() const
AWS_STORAGEGATEWAY_API PoolInfo()=default
PoolInfo & WithPoolARN(PoolARNT &&value)
void SetPoolName(PoolNameT &&value)
void SetRetentionLockTimeInDays(int value)
PoolInfo & WithPoolName(PoolNameT &&value)
PoolInfo & WithRetentionLockType(RetentionLockType value)
AWS_STORAGEGATEWAY_API PoolInfo(Aws::Utils::Json::JsonView jsonValue)
bool RetentionLockTimeInDaysHasBeenSet() const
bool PoolNameHasBeenSet() const
PoolInfo & WithRetentionLockTimeInDays(int value)
TapeStorageClass GetStorageClass() const
void SetRetentionLockType(RetentionLockType value)
bool PoolStatusHasBeenSet() const
PoolInfo & WithPoolStatus(PoolStatus value)
bool RetentionLockTypeHasBeenSet() const
PoolInfo & WithStorageClass(TapeStorageClass value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
RetentionLockType GetRetentionLockType() const
bool PoolARNHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue