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

Information about the snapshots for which fast snapshot restores were * successfully disabled.

*/ inline const Aws::Vector& GetSuccessful() const{ return m_successful; } /** *

Information about the snapshots for which fast snapshot restores were * successfully disabled.

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

Information about the snapshots for which fast snapshot restores were * successfully disabled.

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

Information about the snapshots for which fast snapshot restores were * successfully disabled.

*/ inline DisableFastSnapshotRestoresResponse& WithSuccessful(const Aws::Vector& value) { SetSuccessful(value); return *this;} /** *

Information about the snapshots for which fast snapshot restores were * successfully disabled.

*/ inline DisableFastSnapshotRestoresResponse& WithSuccessful(Aws::Vector&& value) { SetSuccessful(std::move(value)); return *this;} /** *

Information about the snapshots for which fast snapshot restores were * successfully disabled.

*/ inline DisableFastSnapshotRestoresResponse& AddSuccessful(const DisableFastSnapshotRestoreSuccessItem& value) { m_successful.push_back(value); return *this; } /** *

Information about the snapshots for which fast snapshot restores were * successfully disabled.

*/ inline DisableFastSnapshotRestoresResponse& AddSuccessful(DisableFastSnapshotRestoreSuccessItem&& value) { m_successful.push_back(std::move(value)); return *this; } /** *

Information about the snapshots for which fast snapshot restores could not be * disabled.

*/ inline const Aws::Vector& GetUnsuccessful() const{ return m_unsuccessful; } /** *

Information about the snapshots for which fast snapshot restores could not be * disabled.

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

Information about the snapshots for which fast snapshot restores could not be * disabled.

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

Information about the snapshots for which fast snapshot restores could not be * disabled.

*/ inline DisableFastSnapshotRestoresResponse& WithUnsuccessful(const Aws::Vector& value) { SetUnsuccessful(value); return *this;} /** *

Information about the snapshots for which fast snapshot restores could not be * disabled.

*/ inline DisableFastSnapshotRestoresResponse& WithUnsuccessful(Aws::Vector&& value) { SetUnsuccessful(std::move(value)); return *this;} /** *

Information about the snapshots for which fast snapshot restores could not be * disabled.

*/ inline DisableFastSnapshotRestoresResponse& AddUnsuccessful(const DisableFastSnapshotRestoreErrorItem& value) { m_unsuccessful.push_back(value); return *this; } /** *

Information about the snapshots for which fast snapshot restores could not be * disabled.

*/ inline DisableFastSnapshotRestoresResponse& AddUnsuccessful(DisableFastSnapshotRestoreErrorItem&& value) { m_unsuccessful.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 DisableFastSnapshotRestoresResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DisableFastSnapshotRestoresResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_successful; Aws::Vector m_unsuccessful; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws