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

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

*/ inline const Aws::String& GetLifecycleEventHookExecutionId() const{ return m_lifecycleEventHookExecutionId; } /** *

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

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

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

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

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

*/ inline void SetLifecycleEventHookExecutionId(const char* value) { m_lifecycleEventHookExecutionId.assign(value); } /** *

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

*/ inline PutLifecycleEventHookExecutionStatusResult& WithLifecycleEventHookExecutionId(const Aws::String& value) { SetLifecycleEventHookExecutionId(value); return *this;} /** *

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

*/ inline PutLifecycleEventHookExecutionStatusResult& WithLifecycleEventHookExecutionId(Aws::String&& value) { SetLifecycleEventHookExecutionId(std::move(value)); return *this;} /** *

The execution ID of the lifecycle event hook. A hook is specified in the * hooks section of the deployment's AppSpec file.

*/ inline PutLifecycleEventHookExecutionStatusResult& WithLifecycleEventHookExecutionId(const char* value) { SetLifecycleEventHookExecutionId(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 PutLifecycleEventHookExecutionStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutLifecycleEventHookExecutionStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutLifecycleEventHookExecutionStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_lifecycleEventHookExecutionId; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws