7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/storagegateway/model/TapeStorageClass.h>
11#include <aws/storagegateway/model/RetentionLockType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/storagegateway/model/Tag.h>
18namespace StorageGateway
47 template<
typename PoolNameT = Aws::String>
48 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet =
true; m_poolName = std::forward<PoolNameT>(value); }
49 template<
typename PoolNameT = Aws::String>
101 template<
typename TagsT = Aws::Vector<Tag>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
103 template<
typename TagsT = Aws::Vector<Tag>>
105 template<
typename TagsT = Tag>
111 bool m_poolNameHasBeenSet =
false;
114 bool m_storageClassHasBeenSet =
false;
117 bool m_retentionLockTypeHasBeenSet =
false;
119 int m_retentionLockTimeInDays{0};
120 bool m_retentionLockTimeInDaysHasBeenSet =
false;
123 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