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
49 inline void SetPoolName(
const char* value) { m_poolNameHasBeenSet =
true; m_poolName.assign(value); }
117 bool m_poolNameHasBeenSet =
false;
120 bool m_storageClassHasBeenSet =
false;
123 bool m_retentionLockTypeHasBeenSet =
false;
125 int m_retentionLockTimeInDays;
126 bool m_retentionLockTimeInDaysHasBeenSet =
false;
129 bool m_tagsHasBeenSet =
false;
void SetStorageClass(const TapeStorageClass &value)
void SetPoolName(const Aws::String &value)
CreateTapePoolRequest & WithTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
CreateTapePoolRequest & WithPoolName(const char *value)
void SetRetentionLockTimeInDays(int value)
CreateTapePoolRequest & WithStorageClass(const TapeStorageClass &value)
CreateTapePoolRequest & WithRetentionLockType(RetentionLockType &&value)
CreateTapePoolRequest & WithRetentionLockTimeInDays(int value)
void SetTags(Aws::Vector< Tag > &&value)
void SetRetentionLockType(const RetentionLockType &value)
CreateTapePoolRequest & WithStorageClass(TapeStorageClass &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRetentionLockType(RetentionLockType &&value)
CreateTapePoolRequest & AddTags(Tag &&value)
virtual const char * GetServiceRequestName() const override
bool StorageClassHasBeenSet() const
const TapeStorageClass & GetStorageClass() const
bool RetentionLockTypeHasBeenSet() const
void SetPoolName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateTapePoolRequest & WithPoolName(const Aws::String &value)
bool PoolNameHasBeenSet() const
AWS_STORAGEGATEWAY_API CreateTapePoolRequest()
const Aws::String & GetPoolName() const
int GetRetentionLockTimeInDays() const
bool RetentionLockTimeInDaysHasBeenSet() const
void SetPoolName(Aws::String &&value)
const RetentionLockType & GetRetentionLockType() const
void SetStorageClass(TapeStorageClass &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
CreateTapePoolRequest & WithPoolName(Aws::String &&value)
CreateTapePoolRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTapePoolRequest & AddTags(const Tag &value)
const Aws::Vector< Tag > & GetTags() const
CreateTapePoolRequest & WithRetentionLockType(const RetentionLockType &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