/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON object containing the following fields:See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the configured volume.
*/ inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; } /** *The Amazon Resource Name (ARN) of the configured volume.
*/ inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; } /** *The Amazon Resource Name (ARN) of the configured volume.
*/ inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the configured volume.
*/ inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); } /** *The Amazon Resource Name (ARN) of the configured volume.
*/ inline CreateStorediSCSIVolumeResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the configured volume.
*/ inline CreateStorediSCSIVolumeResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the configured volume.
*/ inline CreateStorediSCSIVolumeResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;} /** *The size of the volume in bytes.
*/ inline long long GetVolumeSizeInBytes() const{ return m_volumeSizeInBytes; } /** *The size of the volume in bytes.
*/ inline void SetVolumeSizeInBytes(long long value) { m_volumeSizeInBytes = value; } /** *The size of the volume in bytes.
*/ inline CreateStorediSCSIVolumeResult& WithVolumeSizeInBytes(long long value) { SetVolumeSizeInBytes(value); return *this;} /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline const Aws::String& GetTargetARN() const{ return m_targetARN; } /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline void SetTargetARN(const Aws::String& value) { m_targetARN = value; } /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline void SetTargetARN(Aws::String&& value) { m_targetARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline void SetTargetARN(const char* value) { m_targetARN.assign(value); } /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline CreateStorediSCSIVolumeResult& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline CreateStorediSCSIVolumeResult& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI * name that initiators can use to connect to the target.
*/ inline CreateStorediSCSIVolumeResult& WithTargetARN(const char* value) { SetTargetARN(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateStorediSCSIVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStorediSCSIVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStorediSCSIVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_volumeARN; long long m_volumeSizeInBytes; Aws::String m_targetARN; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws