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
50 template<
typename GatewayARNT = Aws::String>
51 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN = std::forward<GatewayARNT>(value); }
52 template<
typename GatewayARNT = Aws::String>
63 inline void SetTapeSizeInBytes(
long long value) { m_tapeSizeInBytesHasBeenSet =
true; m_tapeSizeInBytes = value; }
75 template<
typename TapeBarcodeT = Aws::String>
76 void SetTapeBarcode(TapeBarcodeT&& value) { m_tapeBarcodeHasBeenSet =
true; m_tapeBarcode = std::forward<TapeBarcodeT>(value); }
77 template<
typename TapeBarcodeT = Aws::String>
89 inline void SetKMSEncrypted(
bool value) { m_kMSEncryptedHasBeenSet =
true; m_kMSEncrypted = value; }
102 template<
typename KMSKeyT = Aws::String>
103 void SetKMSKey(KMSKeyT&& value) { m_kMSKeyHasBeenSet =
true; m_kMSKey = std::forward<KMSKeyT>(value); }
104 template<
typename KMSKeyT = Aws::String>
118 template<
typename PoolIdT = Aws::String>
119 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet =
true; m_poolId = std::forward<PoolIdT>(value); }
120 template<
typename PoolIdT = Aws::String>
129 inline bool GetWorm()
const {
return m_worm; }
131 inline void SetWorm(
bool value) { m_wormHasBeenSet =
true; m_worm = value; }
146 template<
typename TagsT = Aws::Vector<Tag>>
147 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
148 template<
typename TagsT = Aws::Vector<Tag>>
150 template<
typename TagsT = Tag>
156 bool m_gatewayARNHasBeenSet =
false;
158 long long m_tapeSizeInBytes{0};
159 bool m_tapeSizeInBytesHasBeenSet =
false;
162 bool m_tapeBarcodeHasBeenSet =
false;
164 bool m_kMSEncrypted{
false};
165 bool m_kMSEncryptedHasBeenSet =
false;
168 bool m_kMSKeyHasBeenSet =
false;
171 bool m_poolIdHasBeenSet =
false;
174 bool m_wormHasBeenSet =
false;
177 bool m_tagsHasBeenSet =
false;
CreateTapeWithBarcodeRequest & WithKMSKey(KMSKeyT &&value)
CreateTapeWithBarcodeRequest & WithTapeSizeInBytes(long long value)
void SetPoolId(PoolIdT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateTapeWithBarcodeRequest & WithTags(TagsT &&value)
void SetKMSEncrypted(bool value)
CreateTapeWithBarcodeRequest & WithPoolId(PoolIdT &&value)
void SetTags(TagsT &&value)
void SetTapeBarcode(TapeBarcodeT &&value)
long long GetTapeSizeInBytes() const
bool TagsHasBeenSet() const
bool GetKMSEncrypted() const
bool WormHasBeenSet() const
bool KMSKeyHasBeenSet() const
void SetKMSKey(KMSKeyT &&value)
CreateTapeWithBarcodeRequest & WithTapeBarcode(TapeBarcodeT &&value)
CreateTapeWithBarcodeRequest & WithKMSEncrypted(bool value)
AWS_STORAGEGATEWAY_API CreateTapeWithBarcodeRequest()=default
void SetGatewayARN(GatewayARNT &&value)
CreateTapeWithBarcodeRequest & WithWorm(bool value)
const Aws::String & GetGatewayARN() const
virtual const char * GetServiceRequestName() const override
bool GatewayARNHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
bool KMSEncryptedHasBeenSet() const
bool TapeBarcodeHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetPoolId() const
CreateTapeWithBarcodeRequest & WithGatewayARN(GatewayARNT &&value)
void SetTapeSizeInBytes(long long value)
CreateTapeWithBarcodeRequest & AddTags(TagsT &&value)
bool TapeSizeInBytesHasBeenSet() const
bool PoolIdHasBeenSet() const
const Aws::String & GetKMSKey() const
const Aws::String & GetTapeBarcode() const
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