/** * 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 DeleteFleetsResponse { public: AWS_EC2_API DeleteFleetsResponse(); AWS_EC2_API DeleteFleetsResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API DeleteFleetsResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the EC2 Fleets that are successfully deleted.

*/ inline const Aws::Vector& GetSuccessfulFleetDeletions() const{ return m_successfulFleetDeletions; } /** *

Information about the EC2 Fleets that are successfully deleted.

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

Information about the EC2 Fleets that are successfully deleted.

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

Information about the EC2 Fleets that are successfully deleted.

*/ inline DeleteFleetsResponse& WithSuccessfulFleetDeletions(const Aws::Vector& value) { SetSuccessfulFleetDeletions(value); return *this;} /** *

Information about the EC2 Fleets that are successfully deleted.

*/ inline DeleteFleetsResponse& WithSuccessfulFleetDeletions(Aws::Vector&& value) { SetSuccessfulFleetDeletions(std::move(value)); return *this;} /** *

Information about the EC2 Fleets that are successfully deleted.

*/ inline DeleteFleetsResponse& AddSuccessfulFleetDeletions(const DeleteFleetSuccessItem& value) { m_successfulFleetDeletions.push_back(value); return *this; } /** *

Information about the EC2 Fleets that are successfully deleted.

*/ inline DeleteFleetsResponse& AddSuccessfulFleetDeletions(DeleteFleetSuccessItem&& value) { m_successfulFleetDeletions.push_back(std::move(value)); return *this; } /** *

Information about the EC2 Fleets that are not successfully deleted.

*/ inline const Aws::Vector& GetUnsuccessfulFleetDeletions() const{ return m_unsuccessfulFleetDeletions; } /** *

Information about the EC2 Fleets that are not successfully deleted.

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

Information about the EC2 Fleets that are not successfully deleted.

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

Information about the EC2 Fleets that are not successfully deleted.

*/ inline DeleteFleetsResponse& WithUnsuccessfulFleetDeletions(const Aws::Vector& value) { SetUnsuccessfulFleetDeletions(value); return *this;} /** *

Information about the EC2 Fleets that are not successfully deleted.

*/ inline DeleteFleetsResponse& WithUnsuccessfulFleetDeletions(Aws::Vector&& value) { SetUnsuccessfulFleetDeletions(std::move(value)); return *this;} /** *

Information about the EC2 Fleets that are not successfully deleted.

*/ inline DeleteFleetsResponse& AddUnsuccessfulFleetDeletions(const DeleteFleetErrorItem& value) { m_unsuccessfulFleetDeletions.push_back(value); return *this; } /** *

Information about the EC2 Fleets that are not successfully deleted.

*/ inline DeleteFleetsResponse& AddUnsuccessfulFleetDeletions(DeleteFleetErrorItem&& value) { m_unsuccessfulFleetDeletions.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 DeleteFleetsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteFleetsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_successfulFleetDeletions; Aws::Vector m_unsuccessfulFleetDeletions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws