/**
* 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 target.
*/ inline const Aws::String& GetTargetARN() const{ return m_targetARN; } /** *The Amazon Resource Name (ARN) of the target.
*/ inline void SetTargetARN(const Aws::String& value) { m_targetARN = value; } /** *The Amazon Resource Name (ARN) of the target.
*/ inline void SetTargetARN(Aws::String&& value) { m_targetARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the target.
*/ inline void SetTargetARN(const char* value) { m_targetARN.assign(value); } /** *The Amazon Resource Name (ARN) of the target.
*/ inline DeleteChapCredentialsResult& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the target.
*/ inline DeleteChapCredentialsResult& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the target.
*/ inline DeleteChapCredentialsResult& 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 void SetInitiatorName(const Aws::String& value) { m_initiatorName = value; } /** *The iSCSI initiator that connects to the target.
*/ inline void SetInitiatorName(Aws::String&& value) { m_initiatorName = std::move(value); } /** *The iSCSI initiator that connects to the target.
*/ inline void SetInitiatorName(const char* value) { m_initiatorName.assign(value); } /** *The iSCSI initiator that connects to the target.
*/ inline DeleteChapCredentialsResult& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;} /** *The iSCSI initiator that connects to the target.
*/ inline DeleteChapCredentialsResult& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;} /** *The iSCSI initiator that connects to the target.
*/ inline DeleteChapCredentialsResult& WithInitiatorName(const char* value) { SetInitiatorName(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 DeleteChapCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteChapCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteChapCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_targetARN; Aws::String m_initiatorName; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws