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; }
79 inline void SetTapeBarcode(
const char* value) { m_tapeBarcodeHasBeenSet =
true; m_tapeBarcode.assign(value); }
93 inline void SetKMSEncrypted(
bool value) { m_kMSEncryptedHasBeenSet =
true; m_kMSEncrypted = value; }
108 inline void SetKMSKey(
const char* value) { m_kMSKeyHasBeenSet =
true; m_kMSKey.assign(value); }
126 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
139 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
164 bool m_gatewayARNHasBeenSet =
false;
166 long long m_tapeSizeInBytes;
167 bool m_tapeSizeInBytesHasBeenSet =
false;
170 bool m_tapeBarcodeHasBeenSet =
false;
173 bool m_kMSEncryptedHasBeenSet =
false;
176 bool m_kMSKeyHasBeenSet =
false;
179 bool m_poolIdHasBeenSet =
false;
182 bool m_wormHasBeenSet =
false;
185 bool m_tagsHasBeenSet =
false;
void SetTapeBarcode(const Aws::String &value)
void SetGatewayARN(const Aws::String &value)
CreateTapeWithBarcodeRequest & WithTapeSizeInBytes(long long value)
const Aws::Vector< Tag > & GetTags() const
void SetKMSEncrypted(bool value)
CreateTapeWithBarcodeRequest & WithKMSKey(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateTapeWithBarcodeRequest & WithTags(const Aws::Vector< Tag > &value)
long long GetTapeSizeInBytes() const
bool TagsHasBeenSet() const
bool GetKMSEncrypted() const
void SetTags(Aws::Vector< Tag > &&value)
AWS_STORAGEGATEWAY_API CreateTapeWithBarcodeRequest()
bool WormHasBeenSet() const
CreateTapeWithBarcodeRequest & AddTags(Tag &&value)
bool KMSKeyHasBeenSet() const
void SetPoolId(const Aws::String &value)
CreateTapeWithBarcodeRequest & WithKMSKey(Aws::String &&value)
void SetKMSKey(Aws::String &&value)
CreateTapeWithBarcodeRequest & WithKMSEncrypted(bool value)
CreateTapeWithBarcodeRequest & WithGatewayARN(Aws::String &&value)
CreateTapeWithBarcodeRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTapeWithBarcodeRequest & WithGatewayARN(const Aws::String &value)
CreateTapeWithBarcodeRequest & WithKMSKey(const Aws::String &value)
CreateTapeWithBarcodeRequest & WithPoolId(const Aws::String &value)
void SetGatewayARN(Aws::String &&value)
CreateTapeWithBarcodeRequest & WithPoolId(const char *value)
CreateTapeWithBarcodeRequest & WithWorm(bool value)
void SetTapeBarcode(Aws::String &&value)
void SetTapeBarcode(const char *value)
const Aws::String & GetGatewayARN() const
void SetKMSKey(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool GatewayARNHasBeenSet() const
CreateTapeWithBarcodeRequest & AddTags(const Tag &value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
bool KMSEncryptedHasBeenSet() const
bool TapeBarcodeHasBeenSet() const
void SetPoolId(Aws::String &&value)
CreateTapeWithBarcodeRequest & WithPoolId(Aws::String &&value)
CreateTapeWithBarcodeRequest & WithGatewayARN(const char *value)
CreateTapeWithBarcodeRequest & WithTapeBarcode(const char *value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetPoolId() const
void SetKMSKey(const char *value)
void SetTapeSizeInBytes(long long value)
void SetGatewayARN(const char *value)
void SetPoolId(const char *value)
bool TapeSizeInBytesHasBeenSet() const
bool PoolIdHasBeenSet() const
const Aws::String & GetKMSKey() const
const Aws::String & GetTapeBarcode() const
CreateTapeWithBarcodeRequest & WithTapeBarcode(const Aws::String &value)
CreateTapeWithBarcodeRequest & WithTapeBarcode(Aws::String &&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