/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON object containing one or more of the following fields: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 DeleteChapCredentialsRequest& 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 DeleteChapCredentialsRequest& 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 DeleteChapCredentialsRequest& WithTargetARN(const char* value) { SetTargetARN(value); return *this;} /** *The iSCSI initiator that connects to the target.
*/ inline const Aws::String& GetInitiatorName() const{ return m_initiatorName; } /** *The iSCSI initiator that connects to the target.
*/ inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; } /** *The iSCSI initiator that connects to the target.
*/ inline void SetInitiatorName(const Aws::String& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = value; } /** *The iSCSI initiator that connects to the target.
*/ inline void SetInitiatorName(Aws::String&& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = std::move(value); } /** *The iSCSI initiator that connects to the target.
*/ inline void SetInitiatorName(const char* value) { m_initiatorNameHasBeenSet = true; m_initiatorName.assign(value); } /** *The iSCSI initiator that connects to the target.
*/ inline DeleteChapCredentialsRequest& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;} /** *The iSCSI initiator that connects to the target.
*/ inline DeleteChapCredentialsRequest& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;} /** *The iSCSI initiator that connects to the target.
*/ inline DeleteChapCredentialsRequest& WithInitiatorName(const char* value) { SetInitiatorName(value); return *this;} private: Aws::String m_targetARN; bool m_targetARNHasBeenSet = false; Aws::String m_initiatorName; bool m_initiatorNameHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws