7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/storagegateway/StorageGatewayRequest.h>
10#include <aws/storagegateway/StorageGateway_EXPORTS.h>
11#include <aws/storagegateway/model/RetentionLockType.h>
12#include <aws/storagegateway/model/Tag.h>
13#include <aws/storagegateway/model/TapeStorageClass.h>
18namespace StorageGateway {
43 template <
typename PoolNameT = Aws::String>
45 m_poolNameHasBeenSet =
true;
46 m_poolName = std::forward<PoolNameT>(value);
48 template <
typename PoolNameT = Aws::String>
65 m_storageClassHasBeenSet =
true;
66 m_storageClass = value;
85 m_retentionLockTypeHasBeenSet =
true;
86 m_retentionLockType = value;
102 m_retentionLockTimeInDaysHasBeenSet =
true;
103 m_retentionLockTimeInDays = value;
121 template <
typename TagsT = Aws::Vector<Tag>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Vector<Tag>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsT = Tag>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace_back(std::forward<TagsT>(value));
145 int m_retentionLockTimeInDays{0};
148 bool m_poolNameHasBeenSet =
false;
149 bool m_storageClassHasBeenSet =
false;
150 bool m_retentionLockTypeHasBeenSet =
false;
151 bool m_retentionLockTimeInDaysHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
RetentionLockType GetRetentionLockType() const
bool TagsHasBeenSet() const
AWS_STORAGEGATEWAY_API CreateTapePoolRequest()=default
void SetRetentionLockTimeInDays(int value)
CreateTapePoolRequest & WithRetentionLockTimeInDays(int value)
void SetRetentionLockType(RetentionLockType value)
void SetStorageClass(TapeStorageClass value)
TapeStorageClass GetStorageClass() const
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTapePoolRequest & WithRetentionLockType(RetentionLockType value)
virtual const char * GetServiceRequestName() const override
CreateTapePoolRequest & WithTags(TagsT &&value)
CreateTapePoolRequest & WithPoolName(PoolNameT &&value)
bool StorageClassHasBeenSet() const
bool RetentionLockTypeHasBeenSet() const
void SetPoolName(PoolNameT &&value)
bool PoolNameHasBeenSet() const
CreateTapePoolRequest & WithStorageClass(TapeStorageClass value)
const Aws::String & GetPoolName() const
int GetRetentionLockTimeInDays() const
bool RetentionLockTimeInDaysHasBeenSet() const
void SetTags(TagsT &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
CreateTapePoolRequest & AddTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector