/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CreateTapeWithBarcodeInputSee Also:
AWS
* API Reference
The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; } /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; } /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; } /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); } /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); } /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline CreateTapeWithBarcodeRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline CreateTapeWithBarcodeRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} /** *The unique Amazon Resource Name (ARN) that represents the gateway to * associate the virtual tape with. Use the ListGateways operation to return * a list of gateways for your account and Amazon Web Services Region.
*/ inline CreateTapeWithBarcodeRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} /** *The size, in bytes, of the virtual tape that you want to create.
*The size must be aligned by gigabyte (1024*1024*1024 bytes).
*/ inline long long GetTapeSizeInBytes() const{ return m_tapeSizeInBytes; } /** *The size, in bytes, of the virtual tape that you want to create.
*The size must be aligned by gigabyte (1024*1024*1024 bytes).
*/ inline bool TapeSizeInBytesHasBeenSet() const { return m_tapeSizeInBytesHasBeenSet; } /** *The size, in bytes, of the virtual tape that you want to create.
*The size must be aligned by gigabyte (1024*1024*1024 bytes).
*/ inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; } /** *The size, in bytes, of the virtual tape that you want to create.
*The size must be aligned by gigabyte (1024*1024*1024 bytes).
*/ inline CreateTapeWithBarcodeRequest& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;} /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline const Aws::String& GetTapeBarcode() const{ return m_tapeBarcode; } /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline bool TapeBarcodeHasBeenSet() const { return m_tapeBarcodeHasBeenSet; } /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline void SetTapeBarcode(const Aws::String& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = value; } /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline void SetTapeBarcode(Aws::String&& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = std::move(value); } /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline void SetTapeBarcode(const char* value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode.assign(value); } /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline CreateTapeWithBarcodeRequest& WithTapeBarcode(const Aws::String& value) { SetTapeBarcode(value); return *this;} /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline CreateTapeWithBarcodeRequest& WithTapeBarcode(Aws::String&& value) { SetTapeBarcode(std::move(value)); return *this;} /** *The barcode that you want to assign to the tape.
Barcodes * cannot be reused. This includes barcodes used for tapes that have been * deleted.
*/ inline CreateTapeWithBarcodeRequest& WithTapeBarcode(const char* value) { SetTapeBarcode(value); return *this;} /** *Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; } /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); } /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); } /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline CreateTapeWithBarcodeRequest& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline CreateTapeWithBarcodeRequest& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *The ID of the pool that you want to add your tape to for archiving. The tape * in this pool is archived in the S3 storage class that is associated with the * pool. When you use your backup application to eject the tape, the tape is * archived directly into the storage class (S3 Glacier or S3 Deep Archive) that * corresponds to the pool.
*/ inline CreateTapeWithBarcodeRequest& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *Set to TRUE
if the tape you are creating is to be configured as
* a write-once-read-many (WORM) tape.
Set to TRUE
if the tape you are creating is to be configured as
* a write-once-read-many (WORM) tape.
Set to TRUE
if the tape you are creating is to be configured as
* a write-once-read-many (WORM) tape.
Set to TRUE
if the tape you are creating is to be configured as
* a write-once-read-many (WORM) tape.
A list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline const Aws::VectorA list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline void SetTags(const Aws::VectorA list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline void SetTags(Aws::VectorA list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline CreateTapeWithBarcodeRequest& WithTags(const Aws::VectorA list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline CreateTapeWithBarcodeRequest& WithTags(Aws::VectorA list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline CreateTapeWithBarcodeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of up to 50 tags that can be assigned to a virtual tape that has a * barcode. Each tag is a key-value pair.
Valid characters for key * and value are letters, spaces, and numbers representable in UTF-8 format, and * the following special characters: + - = . _ : / @. The maximum length of a tag's * key is 128 characters, and the maximum length for a tag's value is 256.
* */ inline CreateTapeWithBarcodeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_gatewayARN; bool m_gatewayARNHasBeenSet = false; long long m_tapeSizeInBytes; bool m_tapeSizeInBytesHasBeenSet = false; Aws::String m_tapeBarcode; bool m_tapeBarcodeHasBeenSet = false; bool m_kMSEncrypted; bool m_kMSEncryptedHasBeenSet = false; Aws::String m_kMSKey; bool m_kMSKeyHasBeenSet = false; Aws::String m_poolId; bool m_poolIdHasBeenSet = false; bool m_worm; bool m_wormHasBeenSet = false; Aws::Vector