/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace StorageGateway { namespace Model { /** *

AttachVolumeOutput

See Also:

AWS * API Reference

*/ class DetachVolumeResult { public: AWS_STORAGEGATEWAY_API DetachVolumeResult(); AWS_STORAGEGATEWAY_API DetachVolumeResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API DetachVolumeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; } /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; } /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline DetachVolumeResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline DetachVolumeResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the volume that was detached.

*/ inline DetachVolumeResult& WithVolumeARN(const char* value) { SetVolumeARN(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 DetachVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DetachVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DetachVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_volumeARN; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws