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

Information about the launch template versions that were successfully * deleted.

*/ inline const Aws::Vector& GetSuccessfullyDeletedLaunchTemplateVersions() const{ return m_successfullyDeletedLaunchTemplateVersions; } /** *

Information about the launch template versions that were successfully * deleted.

*/ inline void SetSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector& value) { m_successfullyDeletedLaunchTemplateVersions = value; } /** *

Information about the launch template versions that were successfully * deleted.

*/ inline void SetSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector&& value) { m_successfullyDeletedLaunchTemplateVersions = std::move(value); } /** *

Information about the launch template versions that were successfully * deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& WithSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector& value) { SetSuccessfullyDeletedLaunchTemplateVersions(value); return *this;} /** *

Information about the launch template versions that were successfully * deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& WithSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector&& value) { SetSuccessfullyDeletedLaunchTemplateVersions(std::move(value)); return *this;} /** *

Information about the launch template versions that were successfully * deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& AddSuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseSuccessItem& value) { m_successfullyDeletedLaunchTemplateVersions.push_back(value); return *this; } /** *

Information about the launch template versions that were successfully * deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& AddSuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseSuccessItem&& value) { m_successfullyDeletedLaunchTemplateVersions.push_back(std::move(value)); return *this; } /** *

Information about the launch template versions that could not be deleted.

*/ inline const Aws::Vector& GetUnsuccessfullyDeletedLaunchTemplateVersions() const{ return m_unsuccessfullyDeletedLaunchTemplateVersions; } /** *

Information about the launch template versions that could not be deleted.

*/ inline void SetUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector& value) { m_unsuccessfullyDeletedLaunchTemplateVersions = value; } /** *

Information about the launch template versions that could not be deleted.

*/ inline void SetUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector&& value) { m_unsuccessfullyDeletedLaunchTemplateVersions = std::move(value); } /** *

Information about the launch template versions that could not be deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& WithUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector& value) { SetUnsuccessfullyDeletedLaunchTemplateVersions(value); return *this;} /** *

Information about the launch template versions that could not be deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& WithUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector&& value) { SetUnsuccessfullyDeletedLaunchTemplateVersions(std::move(value)); return *this;} /** *

Information about the launch template versions that could not be deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& AddUnsuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseErrorItem& value) { m_unsuccessfullyDeletedLaunchTemplateVersions.push_back(value); return *this; } /** *

Information about the launch template versions that could not be deleted.

*/ inline DeleteLaunchTemplateVersionsResponse& AddUnsuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseErrorItem&& value) { m_unsuccessfullyDeletedLaunchTemplateVersions.push_back(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 DeleteLaunchTemplateVersionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteLaunchTemplateVersionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_successfullyDeletedLaunchTemplateVersions; Aws::Vector m_unsuccessfullyDeletedLaunchTemplateVersions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws