AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ScheduleAction.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/ScheduleActionSettings.h>
10#include <aws/medialive/model/ScheduleActionStartSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API ScheduleAction() = default;
37 AWS_MEDIALIVE_API ScheduleAction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetActionName() const { return m_actionName; }
51 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
52 template<typename ActionNameT = Aws::String>
53 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
54 template<typename ActionNameT = Aws::String>
55 ScheduleAction& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
57
59
62 inline const ScheduleActionSettings& GetScheduleActionSettings() const { return m_scheduleActionSettings; }
63 inline bool ScheduleActionSettingsHasBeenSet() const { return m_scheduleActionSettingsHasBeenSet; }
64 template<typename ScheduleActionSettingsT = ScheduleActionSettings>
65 void SetScheduleActionSettings(ScheduleActionSettingsT&& value) { m_scheduleActionSettingsHasBeenSet = true; m_scheduleActionSettings = std::forward<ScheduleActionSettingsT>(value); }
66 template<typename ScheduleActionSettingsT = ScheduleActionSettings>
67 ScheduleAction& WithScheduleActionSettings(ScheduleActionSettingsT&& value) { SetScheduleActionSettings(std::forward<ScheduleActionSettingsT>(value)); return *this;}
69
71
74 inline const ScheduleActionStartSettings& GetScheduleActionStartSettings() const { return m_scheduleActionStartSettings; }
75 inline bool ScheduleActionStartSettingsHasBeenSet() const { return m_scheduleActionStartSettingsHasBeenSet; }
76 template<typename ScheduleActionStartSettingsT = ScheduleActionStartSettings>
77 void SetScheduleActionStartSettings(ScheduleActionStartSettingsT&& value) { m_scheduleActionStartSettingsHasBeenSet = true; m_scheduleActionStartSettings = std::forward<ScheduleActionStartSettingsT>(value); }
78 template<typename ScheduleActionStartSettingsT = ScheduleActionStartSettings>
79 ScheduleAction& WithScheduleActionStartSettings(ScheduleActionStartSettingsT&& value) { SetScheduleActionStartSettings(std::forward<ScheduleActionStartSettingsT>(value)); return *this;}
81 private:
82
83 Aws::String m_actionName;
84 bool m_actionNameHasBeenSet = false;
85
86 ScheduleActionSettings m_scheduleActionSettings;
87 bool m_scheduleActionSettingsHasBeenSet = false;
88
89 ScheduleActionStartSettings m_scheduleActionStartSettings;
90 bool m_scheduleActionStartSettingsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MediaLive
95} // namespace Aws
const ScheduleActionStartSettings & GetScheduleActionStartSettings() const
AWS_MEDIALIVE_API ScheduleAction()=default
const ScheduleActionSettings & GetScheduleActionSettings() const
void SetScheduleActionStartSettings(ScheduleActionStartSettingsT &&value)
ScheduleAction & WithActionName(ActionNameT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetActionName() const
AWS_MEDIALIVE_API ScheduleAction(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API ScheduleAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScheduleActionSettings(ScheduleActionSettingsT &&value)
ScheduleAction & WithScheduleActionStartSettings(ScheduleActionStartSettingsT &&value)
void SetActionName(ActionNameT &&value)
ScheduleAction & WithScheduleActionSettings(ScheduleActionSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue