/** * 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 { /** * A list of schedule actions to create (in a request) or that have been created * (in a response).

See Also:

AWS * API Reference

*/ class BatchScheduleActionCreateRequest { public: AWS_MEDIALIVE_API BatchScheduleActionCreateRequest(); AWS_MEDIALIVE_API BatchScheduleActionCreateRequest(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API BatchScheduleActionCreateRequest& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * A list of schedule actions to create. */ inline const Aws::Vector& GetScheduleActions() const{ return m_scheduleActions; } /** * A list of schedule actions to create. */ inline bool ScheduleActionsHasBeenSet() const { return m_scheduleActionsHasBeenSet; } /** * A list of schedule actions to create. */ inline void SetScheduleActions(const Aws::Vector& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions = value; } /** * A list of schedule actions to create. */ inline void SetScheduleActions(Aws::Vector&& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions = std::move(value); } /** * A list of schedule actions to create. */ inline BatchScheduleActionCreateRequest& WithScheduleActions(const Aws::Vector& value) { SetScheduleActions(value); return *this;} /** * A list of schedule actions to create. */ inline BatchScheduleActionCreateRequest& WithScheduleActions(Aws::Vector&& value) { SetScheduleActions(std::move(value)); return *this;} /** * A list of schedule actions to create. */ inline BatchScheduleActionCreateRequest& AddScheduleActions(const ScheduleAction& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions.push_back(value); return *this; } /** * A list of schedule actions to create. */ inline BatchScheduleActionCreateRequest& 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