/** * 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 StopBuildBatchResult { public: StopBuildBatchResult(); StopBuildBatchResult(const Aws::AmazonWebServiceResult& result); StopBuildBatchResult& operator=(const Aws::AmazonWebServiceResult& result); inline const BuildBatch& GetBuildBatch() const{ return m_buildBatch; } inline void SetBuildBatch(const BuildBatch& value) { m_buildBatch = value; } inline void SetBuildBatch(BuildBatch&& value) { m_buildBatch = std::move(value); } inline StopBuildBatchResult& WithBuildBatch(const BuildBatch& value) { SetBuildBatch(value); return *this;} inline StopBuildBatchResult& WithBuildBatch(BuildBatch&& value) { SetBuildBatch(std::move(value)); return *this;} private: BuildBatch m_buildBatch; }; } // namespace Model } // namespace CodeBuild } // namespace Aws