/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 StartBuildResult { public: StartBuildResult(); StartBuildResult(const Aws::AmazonWebServiceResult& result); StartBuildResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the build to be run.

*/ inline const Build& GetBuild() const{ return m_build; } /** *

Information about the build to be run.

*/ inline void SetBuild(const Build& value) { m_build = value; } /** *

Information about the build to be run.

*/ inline void SetBuild(Build&& value) { m_build = std::move(value); } /** *

Information about the build to be run.

*/ inline StartBuildResult& WithBuild(const Build& value) { SetBuild(value); return *this;} /** *

Information about the build to be run.

*/ inline StartBuildResult& WithBuild(Build&& value) { SetBuild(std::move(value)); return *this;} private: Build m_build; }; } // namespace Model } // namespace CodeBuild } // namespace Aws