/** * 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 BatchDeleteBuildsResult { public: AWS_CODEBUILD_API BatchDeleteBuildsResult(); AWS_CODEBUILD_API BatchDeleteBuildsResult(const Aws::AmazonWebServiceResult& result); AWS_CODEBUILD_API 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; } 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 BatchDeleteBuildsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteBuildsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteBuildsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_buildsDeleted; Aws::Vector m_buildsNotDeleted; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws