/** * 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 Appflow { namespace Model { /** *

Specifies the configuration details that control the trigger for a flow. * Currently, these settings only apply to the Scheduled trigger type. *

See Also:

AWS * API Reference

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

Specifies the configuration details of a schedule-triggered flow as defined * by the user.

*/ inline const ScheduledTriggerProperties& GetScheduled() const{ return m_scheduled; } /** *

Specifies the configuration details of a schedule-triggered flow as defined * by the user.

*/ inline bool ScheduledHasBeenSet() const { return m_scheduledHasBeenSet; } /** *

Specifies the configuration details of a schedule-triggered flow as defined * by the user.

*/ inline void SetScheduled(const ScheduledTriggerProperties& value) { m_scheduledHasBeenSet = true; m_scheduled = value; } /** *

Specifies the configuration details of a schedule-triggered flow as defined * by the user.

*/ inline void SetScheduled(ScheduledTriggerProperties&& value) { m_scheduledHasBeenSet = true; m_scheduled = std::move(value); } /** *

Specifies the configuration details of a schedule-triggered flow as defined * by the user.

*/ inline TriggerProperties& WithScheduled(const ScheduledTriggerProperties& value) { SetScheduled(value); return *this;} /** *

Specifies the configuration details of a schedule-triggered flow as defined * by the user.

*/ inline TriggerProperties& WithScheduled(ScheduledTriggerProperties&& value) { SetScheduled(std::move(value)); return *this;} private: ScheduledTriggerProperties m_scheduled; bool m_scheduledHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws