AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchScheduleActionCreateRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/ScheduleAction.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ScheduleAction>& GetScheduleActions() const{ return m_scheduleActions; }
47 inline bool ScheduleActionsHasBeenSet() const { return m_scheduleActionsHasBeenSet; }
48 inline void SetScheduleActions(const Aws::Vector<ScheduleAction>& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions = value; }
49 inline void SetScheduleActions(Aws::Vector<ScheduleAction>&& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions = std::move(value); }
52 inline BatchScheduleActionCreateRequest& AddScheduleActions(const ScheduleAction& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions.push_back(value); return *this; }
53 inline BatchScheduleActionCreateRequest& AddScheduleActions(ScheduleAction&& value) { m_scheduleActionsHasBeenSet = true; m_scheduleActions.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<ScheduleAction> m_scheduleActions;
58 bool m_scheduleActionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace MediaLive
63} // namespace Aws
void SetScheduleActions(const Aws::Vector< ScheduleAction > &value)
BatchScheduleActionCreateRequest & WithScheduleActions(const Aws::Vector< ScheduleAction > &value)
const Aws::Vector< ScheduleAction > & GetScheduleActions() const
AWS_MEDIALIVE_API BatchScheduleActionCreateRequest(Aws::Utils::Json::JsonView jsonValue)
BatchScheduleActionCreateRequest & AddScheduleActions(const ScheduleAction &value)
BatchScheduleActionCreateRequest & WithScheduleActions(Aws::Vector< ScheduleAction > &&value)
AWS_MEDIALIVE_API BatchScheduleActionCreateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchScheduleActionCreateRequest & AddScheduleActions(ScheduleAction &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue