/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The details of a Trigger node present in the workflow.

See * Also:

AWS * API Reference

*/ class TriggerNodeDetails { public: AWS_GLUE_API TriggerNodeDetails(); AWS_GLUE_API TriggerNodeDetails(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API TriggerNodeDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The information of the trigger represented by the trigger node.

*/ inline const Trigger& GetTrigger() const{ return m_trigger; } /** *

The information of the trigger represented by the trigger node.

*/ inline bool TriggerHasBeenSet() const { return m_triggerHasBeenSet; } /** *

The information of the trigger represented by the trigger node.

*/ inline void SetTrigger(const Trigger& value) { m_triggerHasBeenSet = true; m_trigger = value; } /** *

The information of the trigger represented by the trigger node.

*/ inline void SetTrigger(Trigger&& value) { m_triggerHasBeenSet = true; m_trigger = std::move(value); } /** *

The information of the trigger represented by the trigger node.

*/ inline TriggerNodeDetails& WithTrigger(const Trigger& value) { SetTrigger(value); return *this;} /** *

The information of the trigger represented by the trigger node.

*/ inline TriggerNodeDetails& WithTrigger(Trigger&& value) { SetTrigger(std::move(value)); return *this;} private: Trigger m_trigger; bool m_triggerHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws