/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodeBuild { namespace Model { /** *

Information about a build that could not be successfully * deleted.

See Also:

AWS * API Reference

*/ class BuildNotDeleted { public: AWS_CODEBUILD_API BuildNotDeleted(); AWS_CODEBUILD_API BuildNotDeleted(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API BuildNotDeleted& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the build that could not be successfully deleted.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the build that could not be successfully deleted.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the build that could not be successfully deleted.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the build that could not be successfully deleted.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the build that could not be successfully deleted.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the build that could not be successfully deleted.

*/ inline BuildNotDeleted& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the build that could not be successfully deleted.

*/ inline BuildNotDeleted& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the build that could not be successfully deleted.

*/ inline BuildNotDeleted& WithId(const char* value) { SetId(value); return *this;} /** *

Additional information about the build that could not be successfully * deleted.

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

Additional information about the build that could not be successfully * deleted.

*/ inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; } /** *

Additional information about the build that could not be successfully * deleted.

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

Additional information about the build that could not be successfully * deleted.

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

Additional information about the build that could not be successfully * deleted.

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

Additional information about the build that could not be successfully * deleted.

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

Additional information about the build that could not be successfully * deleted.

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

Additional information about the build that could not be successfully * deleted.

*/ inline BuildNotDeleted& WithStatusCode(const char* value) { SetStatusCode(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_statusCode; bool m_statusCodeHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws