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

The IDs of the builds that were successfully deleted.

*/ inline const Aws::Vector& GetBuildsDeleted() const{ return m_buildsDeleted; } /** *

The IDs of the builds that were successfully deleted.

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

The IDs of the builds that were successfully deleted.

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

The IDs of the builds that were successfully deleted.

*/ inline BatchDeleteBuildsResult& WithBuildsDeleted(const Aws::Vector& value) { SetBuildsDeleted(value); return *this;} /** *

The IDs of the builds that were successfully deleted.

*/ inline BatchDeleteBuildsResult& WithBuildsDeleted(Aws::Vector&& value) { SetBuildsDeleted(std::move(value)); return *this;} /** *

The IDs of the builds that were successfully deleted.

*/ inline BatchDeleteBuildsResult& AddBuildsDeleted(const Aws::String& value) { m_buildsDeleted.push_back(value); return *this; } /** *

The IDs of the builds that were successfully deleted.

*/ inline BatchDeleteBuildsResult& AddBuildsDeleted(Aws::String&& value) { m_buildsDeleted.push_back(std::move(value)); return *this; } /** *

The IDs of the builds that were successfully deleted.

*/ inline BatchDeleteBuildsResult& AddBuildsDeleted(const char* value) { m_buildsDeleted.push_back(value); return *this; } /** *

Information about any builds that could not be successfully deleted.

*/ inline const Aws::Vector& GetBuildsNotDeleted() const{ return m_buildsNotDeleted; } /** *

Information about any builds that could not be successfully deleted.

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

Information about any builds that could not be successfully deleted.

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

Information about any builds that could not be successfully deleted.

*/ inline BatchDeleteBuildsResult& WithBuildsNotDeleted(const Aws::Vector& value) { SetBuildsNotDeleted(value); return *this;} /** *

Information about any builds that could not be successfully deleted.

*/ inline BatchDeleteBuildsResult& WithBuildsNotDeleted(Aws::Vector&& value) { SetBuildsNotDeleted(std::move(value)); return *this;} /** *

Information about any builds that could not be successfully deleted.

*/ inline BatchDeleteBuildsResult& AddBuildsNotDeleted(const BuildNotDeleted& value) { m_buildsNotDeleted.push_back(value); return *this; } /** *

Information about any builds that could not be successfully deleted.

*/ inline BatchDeleteBuildsResult& AddBuildsNotDeleted(BuildNotDeleted&& value) { m_buildsNotDeleted.push_back(std::move(value)); return *this; } private: Aws::Vector m_buildsDeleted; Aws::Vector m_buildsNotDeleted; }; } // namespace Model } // namespace CodeBuild } // namespace Aws