/** * 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 AppRunner { namespace Model { class StartDeploymentResult { public: AWS_APPRUNNER_API StartDeploymentResult(); AWS_APPRUNNER_API StartDeploymentResult(const Aws::AmazonWebServiceResult& result); AWS_APPRUNNER_API StartDeploymentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

*/ inline const Aws::String& GetOperationId() const{ return m_operationId; } /** *

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

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

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

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

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

*/ inline void SetOperationId(const char* value) { m_operationId.assign(value); } /** *

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

*/ inline StartDeploymentResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;} /** *

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

*/ inline StartDeploymentResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;} /** *

The unique ID of the asynchronous operation that this request started. You * can use it combined with the ListOperations call to track the operation's * progress.

*/ inline StartDeploymentResult& WithOperationId(const char* value) { SetOperationId(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 StartDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_operationId; Aws::String m_requestId; }; } // namespace Model } // namespace AppRunner } // namespace Aws