/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * List of actions that have been created in the schedule.

See Also:

* AWS * API Reference

*/ class BatchScheduleActionCreateResult { public: AWS_MEDIALIVE_API BatchScheduleActionCreateResult(); AWS_MEDIALIVE_API BatchScheduleActionCreateResult(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API BatchScheduleActionCreateResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * List of actions that have been created in the schedule. */ inline const Aws::Vector& GetScheduleActions() const{ return m_scheduleActions; } /** * List of actions that have been created in the schedule. */ inline bool ScheduleActionsHasBeenSet() const { return m_scheduleActionsHasBeenSet; } /** * List of actions that have been created in the schedule. */ inline void SetScheduleActions(const Aws::Vector& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions = value; } /** * List of actions that have been created in the schedule. */ inline void SetScheduleActions(Aws::Vector&& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions = std::move(value); } /** * List of actions that have been created in the schedule. */ inline BatchScheduleActionCreateResult& WithScheduleActions(const Aws::Vector& value) { SetScheduleActions(value); return *this;} /** * List of actions that have been created in the schedule. */ inline BatchScheduleActionCreateResult& WithScheduleActions(Aws::Vector&& value) { SetScheduleActions(std::move(value)); return *this;} /** * List of actions that have been created in the schedule. */ inline BatchScheduleActionCreateResult& AddScheduleActions(const ScheduleAction& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions.push_back(value); return *this; } /** * List of actions that have been created in the schedule. */ inline BatchScheduleActionCreateResult& AddScheduleActions(ScheduleAction&& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions.push_back(std::move(value)); return *this; } private: Aws::Vector m_scheduleActions; bool m_scheduleActionsHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws