/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class AWS_GLUE_API BatchDeletePartitionResult { public: BatchDeletePartitionResult(); BatchDeletePartitionResult(const Aws::AmazonWebServiceResult& result); BatchDeletePartitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The errors encountered when trying to delete the requested partitions.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

The errors encountered when trying to delete the requested partitions.

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

The errors encountered when trying to delete the requested partitions.

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

The errors encountered when trying to delete the requested partitions.

*/ inline BatchDeletePartitionResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

The errors encountered when trying to delete the requested partitions.

*/ inline BatchDeletePartitionResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

The errors encountered when trying to delete the requested partitions.

*/ inline BatchDeletePartitionResult& AddErrors(const PartitionError& value) { m_errors.push_back(value); return *this; } /** *

The errors encountered when trying to delete the requested partitions.

*/ inline BatchDeletePartitionResult& AddErrors(PartitionError&& value) { m_errors.push_back(std::move(value)); return *this; } private: Aws::Vector m_errors; }; } // namespace Model } // namespace Glue } // namespace Aws