/** * 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 AWS_CODEDEPLOY_API PutLifecycleEventHookExecutionStatusResult { public: PutLifecycleEventHookExecutionStatusResult(); PutLifecycleEventHookExecutionStatusResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_lifecycleEventHookExecutionId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws