AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
53 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
54 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
55 inline ScheduleAction& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
56 inline ScheduleAction& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
57 inline ScheduleAction& WithActionName(const char* value) { SetActionName(value); return *this;}
59
61
64 inline const ScheduleActionSettings& GetScheduleActionSettings() const{ return m_scheduleActionSettings; }
65 inline bool ScheduleActionSettingsHasBeenSet() const { return m_scheduleActionSettingsHasBeenSet; }
66 inline void SetScheduleActionSettings(const ScheduleActionSettings& value) { m_scheduleActionSettingsHasBeenSet = true; m_scheduleActionSettings = value; }
67 inline void SetScheduleActionSettings(ScheduleActionSettings&& value) { m_scheduleActionSettingsHasBeenSet = true; m_scheduleActionSettings = std::move(value); }
71
73
76 inline const ScheduleActionStartSettings& GetScheduleActionStartSettings() const{ return m_scheduleActionStartSettings; }
77 inline bool ScheduleActionStartSettingsHasBeenSet() const { return m_scheduleActionStartSettingsHasBeenSet; }
78 inline void SetScheduleActionStartSettings(const ScheduleActionStartSettings& value) { m_scheduleActionStartSettingsHasBeenSet = true; m_scheduleActionStartSettings = value; }
79 inline void SetScheduleActionStartSettings(ScheduleActionStartSettings&& value) { m_scheduleActionStartSettingsHasBeenSet = true; m_scheduleActionStartSettings = std::move(value); }
83 private:
84
85 Aws::String m_actionName;
86 bool m_actionNameHasBeenSet = false;
87
88 ScheduleActionSettings m_scheduleActionSettings;
89 bool m_scheduleActionSettingsHasBeenSet = false;
90
91 ScheduleActionStartSettings m_scheduleActionStartSettings;
92 bool m_scheduleActionStartSettingsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaLive
97} // namespace Aws
ScheduleAction & WithScheduleActionSettings(ScheduleActionSettings &&value)
ScheduleAction & WithActionName(const Aws::String &value)
const ScheduleActionStartSettings & GetScheduleActionStartSettings() const
void SetActionName(const Aws::String &value)
void SetActionName(Aws::String &&value)
const ScheduleActionSettings & GetScheduleActionSettings() const
void SetScheduleActionSettings(const ScheduleActionSettings &value)
ScheduleAction & WithScheduleActionStartSettings(const ScheduleActionStartSettings &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 SetActionName(const char *value)
ScheduleAction & WithScheduleActionStartSettings(ScheduleActionStartSettings &&value)
ScheduleAction & WithActionName(Aws::String &&value)
ScheduleAction & WithScheduleActionSettings(const ScheduleActionSettings &value)
void SetScheduleActionStartSettings(ScheduleActionStartSettings &&value)
void SetScheduleActionStartSettings(const ScheduleActionStartSettings &value)
void SetScheduleActionSettings(ScheduleActionSettings &&value)
ScheduleAction & WithActionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue