/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume
* target.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline const Aws::String& GetTargetARN() const{ return m_targetARN; } /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline void SetTargetARN(const Aws::String& value) { m_targetARNHasBeenSet = true; m_targetARN = value; } /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline void SetTargetARN(Aws::String&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline void SetTargetARN(const char* value) { m_targetARNHasBeenSet = true; m_targetARN.assign(value); } /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline DescribeChapCredentialsRequest& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline DescribeChapCredentialsRequest& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the iSCSI volume target. Use the * DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN * for specified VolumeARN.
*/ inline DescribeChapCredentialsRequest& WithTargetARN(const char* value) { SetTargetARN(value); return *this;} private: Aws::String m_targetARN; bool m_targetARNHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws