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/core/utils/memory/stl/AWSVector.h>
11#include <aws/storagegateway/model/Tag.h>
16namespace StorageGateway
52 inline void SetGatewayARN(
const char* value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN.assign(value); }
65 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
80 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
92 inline void SetNumTapesToCreate(
int value) { m_numTapesToCreateHasBeenSet =
true; m_numTapesToCreate = value; }
107 inline void SetTapeBarcodePrefix(
const char* value) { m_tapeBarcodePrefixHasBeenSet =
true; m_tapeBarcodePrefix.assign(value); }
121 inline void SetKMSEncrypted(
bool value) { m_kMSEncryptedHasBeenSet =
true; m_kMSEncrypted = value; }
136 inline void SetKMSKey(
const char* value) { m_kMSKeyHasBeenSet =
true; m_kMSKey.assign(value); }
154 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
167 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
191 bool m_gatewayARNHasBeenSet =
false;
193 long long m_tapeSizeInBytes;
194 bool m_tapeSizeInBytesHasBeenSet =
false;
197 bool m_clientTokenHasBeenSet =
false;
199 int m_numTapesToCreate;
200 bool m_numTapesToCreateHasBeenSet =
false;
203 bool m_tapeBarcodePrefixHasBeenSet =
false;
206 bool m_kMSEncryptedHasBeenSet =
false;
209 bool m_kMSKeyHasBeenSet =
false;
212 bool m_poolIdHasBeenSet =
false;
215 bool m_wormHasBeenSet =
false;
218 bool m_tagsHasBeenSet =
false;
long long GetTapeSizeInBytes() const
const Aws::String & GetGatewayARN() const
void SetTags(Aws::Vector< Tag > &&value)
CreateTapesRequest & WithPoolId(const Aws::String &value)
CreateTapesRequest & WithKMSKey(const char *value)
CreateTapesRequest & WithTags(Aws::Vector< Tag > &&value)
void SetKMSKey(const Aws::String &value)
void SetKMSKey(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
void SetKMSKey(Aws::String &&value)
CreateTapesRequest & WithPoolId(Aws::String &&value)
void SetGatewayARN(const char *value)
CreateTapesRequest & WithClientToken(const char *value)
void SetClientToken(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
void SetTapeBarcodePrefix(const Aws::String &value)
CreateTapesRequest & WithPoolId(const char *value)
bool NumTapesToCreateHasBeenSet() const
const Aws::String & GetTapeBarcodePrefix() const
CreateTapesRequest & WithTags(const Aws::Vector< Tag > &value)
bool KMSEncryptedHasBeenSet() const
CreateTapesRequest & WithKMSEncrypted(bool value)
CreateTapesRequest & WithKMSKey(const Aws::String &value)
void SetTapeBarcodePrefix(Aws::String &&value)
bool WormHasBeenSet() const
const Aws::String & GetClientToken() const
CreateTapesRequest & WithGatewayARN(Aws::String &&value)
CreateTapesRequest & WithWorm(bool value)
bool KMSKeyHasBeenSet() const
CreateTapesRequest & WithGatewayARN(const Aws::String &value)
void SetPoolId(const char *value)
int GetNumTapesToCreate() const
CreateTapesRequest & AddTags(Tag &&value)
void SetKMSEncrypted(bool value)
void SetGatewayARN(Aws::String &&value)
void SetTapeSizeInBytes(long long value)
bool TagsHasBeenSet() const
void SetClientToken(const Aws::String &value)
bool GatewayARNHasBeenSet() const
void SetNumTapesToCreate(int value)
bool TapeSizeInBytesHasBeenSet() const
CreateTapesRequest & WithTapeBarcodePrefix(const char *value)
void SetClientToken(const char *value)
CreateTapesRequest & WithNumTapesToCreate(int value)
CreateTapesRequest & AddTags(const Tag &value)
CreateTapesRequest & WithClientToken(const Aws::String &value)
void SetGatewayARN(const Aws::String &value)
void SetPoolId(const Aws::String &value)
void SetPoolId(Aws::String &&value)
const Aws::String & GetPoolId() const
bool PoolIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateTapesRequest & WithTapeSizeInBytes(long long value)
CreateTapesRequest & WithClientToken(Aws::String &&value)
CreateTapesRequest & WithKMSKey(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetKMSKey() const
AWS_STORAGEGATEWAY_API CreateTapesRequest()
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTapesRequest & WithTapeBarcodePrefix(Aws::String &&value)
bool TapeBarcodePrefixHasBeenSet() const
void SetTapeBarcodePrefix(const char *value)
CreateTapesRequest & WithTapeBarcodePrefix(const Aws::String &value)
bool GetKMSEncrypted() const
CreateTapesRequest & WithGatewayARN(const char *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