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

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in the UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour). *

See Also:

AWS * API Reference

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

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in this UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour).

*/ inline const ScheduleConfig& GetScheduleConfig() const{ return m_scheduleConfig; } /** *

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in this UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour).

*/ inline bool ScheduleConfigHasBeenSet() const { return m_scheduleConfigHasBeenSet; } /** *

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in this UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour).

*/ inline void SetScheduleConfig(const ScheduleConfig& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = value; } /** *

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in this UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour).

*/ inline void SetScheduleConfig(ScheduleConfig&& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = std::move(value); } /** *

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in this UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour).

*/ inline UploaderConfig& WithScheduleConfig(const ScheduleConfig& value) { SetScheduleConfig(value); return *this;} /** *

The configuration that consists of the ScheduleExpression and * the DurationInMinutes details that specify the scheduling to record * from a camera, or local media file, onto the Edge Agent. If the * ScheduleConfig is not provided in this UploaderConfig, * then the Edge Agent will upload at regular intervals (every 1 hour).

*/ inline UploaderConfig& WithScheduleConfig(ScheduleConfig&& value) { SetScheduleConfig(std::move(value)); return *this;} private: ScheduleConfig m_scheduleConfig; bool m_scheduleConfigHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws