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

The status code.

*/ inline const Aws::String& GetStatusCode() const{ return m_statusCode; } /** *

The status code.

*/ inline void SetStatusCode(const Aws::String& value) { m_statusCode = value; } /** *

The status code.

*/ inline void SetStatusCode(Aws::String&& value) { m_statusCode = std::move(value); } /** *

The status code.

*/ inline void SetStatusCode(const char* value) { m_statusCode.assign(value); } /** *

The status code.

*/ inline DeleteBuildBatchResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;} /** *

The status code.

*/ inline DeleteBuildBatchResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;} /** *

The status code.

*/ inline DeleteBuildBatchResult& WithStatusCode(const char* value) { SetStatusCode(value); return *this;} /** *

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of strings that contain the identifiers of the builds that were * deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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

An array of BuildNotDeleted objects that specify the builds that * could not be deleted.

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