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

A list of names of the connection definitions that were successfully * deleted.

*/ inline const Aws::Vector& GetSucceeded() const{ return m_succeeded; } /** *

A list of names of the connection definitions that were successfully * deleted.

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

A list of names of the connection definitions that were successfully * deleted.

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

A list of names of the connection definitions that were successfully * deleted.

*/ inline BatchDeleteConnectionResult& WithSucceeded(const Aws::Vector& value) { SetSucceeded(value); return *this;} /** *

A list of names of the connection definitions that were successfully * deleted.

*/ inline BatchDeleteConnectionResult& WithSucceeded(Aws::Vector&& value) { SetSucceeded(std::move(value)); return *this;} /** *

A list of names of the connection definitions that were successfully * deleted.

*/ inline BatchDeleteConnectionResult& AddSucceeded(const Aws::String& value) { m_succeeded.push_back(value); return *this; } /** *

A list of names of the connection definitions that were successfully * deleted.

*/ inline BatchDeleteConnectionResult& AddSucceeded(Aws::String&& value) { m_succeeded.push_back(std::move(value)); return *this; } /** *

A list of names of the connection definitions that were successfully * deleted.

*/ inline BatchDeleteConnectionResult& AddSucceeded(const char* value) { m_succeeded.push_back(value); return *this; } /** *

A map of the names of connections that were not successfully deleted to error * details.

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

A map of the names of connections that were not successfully deleted to error * details.

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

A map of the names of connections that were not successfully deleted to error * details.

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

A map of the names of connections that were not successfully deleted to error * details.

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

A map of the names of connections that were not successfully deleted to error * details.

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

A map of the names of connections that were not successfully deleted to error * details.

*/ inline BatchDeleteConnectionResult& AddErrors(const Aws::String& key, const ErrorDetail& value) { m_errors.emplace(key, value); return *this; } /** *

A map of the names of connections that were not successfully deleted to error * details.

*/ inline BatchDeleteConnectionResult& AddErrors(Aws::String&& key, const ErrorDetail& value) { m_errors.emplace(std::move(key), value); return *this; } /** *

A map of the names of connections that were not successfully deleted to error * details.

*/ inline BatchDeleteConnectionResult& AddErrors(const Aws::String& key, ErrorDetail&& value) { m_errors.emplace(key, std::move(value)); return *this; } /** *

A map of the names of connections that were not successfully deleted to error * details.

*/ inline BatchDeleteConnectionResult& AddErrors(Aws::String&& key, ErrorDetail&& value) { m_errors.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of the names of connections that were not successfully deleted to error * details.

*/ inline BatchDeleteConnectionResult& AddErrors(const char* key, ErrorDetail&& value) { m_errors.emplace(key, std::move(value)); return *this; } /** *

A map of the names of connections that were not successfully deleted to error * details.

*/ inline BatchDeleteConnectionResult& AddErrors(const char* key, const ErrorDetail& value) { m_errors.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchDeleteConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_succeeded; Aws::Map m_errors; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws