/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class ModifyVolumeResponse { public: AWS_EC2_API ModifyVolumeResponse(); AWS_EC2_API ModifyVolumeResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API ModifyVolumeResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the volume modification.

*/ inline const VolumeModification& GetVolumeModification() const{ return m_volumeModification; } /** *

Information about the volume modification.

*/ inline void SetVolumeModification(const VolumeModification& value) { m_volumeModification = value; } /** *

Information about the volume modification.

*/ inline void SetVolumeModification(VolumeModification&& value) { m_volumeModification = std::move(value); } /** *

Information about the volume modification.

*/ inline ModifyVolumeResponse& WithVolumeModification(const VolumeModification& value) { SetVolumeModification(value); return *this;} /** *

Information about the volume modification.

*/ inline ModifyVolumeResponse& WithVolumeModification(VolumeModification&& value) { SetVolumeModification(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ModifyVolumeResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyVolumeResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: VolumeModification m_volumeModification; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws