/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeBuild { namespace Model { class RetryBuildBatchResult { public: AWS_CODEBUILD_API RetryBuildBatchResult(); AWS_CODEBUILD_API RetryBuildBatchResult(const Aws::AmazonWebServiceResult& result); AWS_CODEBUILD_API RetryBuildBatchResult& 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 RetryBuildBatchResult& WithBuildBatch(const BuildBatch& value) { SetBuildBatch(value); return *this;} inline RetryBuildBatchResult& WithBuildBatch(BuildBatch&& value) { SetBuildBatch(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 RetryBuildBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RetryBuildBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RetryBuildBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: BuildBatch m_buildBatch; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws