/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace StorageGateway { namespace Model { /** *

A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume * target.

See Also:

AWS * API Reference

*/ class DescribeChapCredentialsRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API DescribeChapCredentialsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeChapCredentials"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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