AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecorderConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/MediaSourceConfig.h>
9#include <aws/kinesisvideo/model/ScheduleConfig.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 KinesisVideo
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KINESISVIDEO_API RecorderConfig();
38 AWS_KINESISVIDEO_API RecorderConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEO_API RecorderConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const MediaSourceConfig& GetMediaSourceConfig() const{ return m_mediaSourceConfig; }
50 inline bool MediaSourceConfigHasBeenSet() const { return m_mediaSourceConfigHasBeenSet; }
51 inline void SetMediaSourceConfig(const MediaSourceConfig& value) { m_mediaSourceConfigHasBeenSet = true; m_mediaSourceConfig = value; }
52 inline void SetMediaSourceConfig(MediaSourceConfig&& value) { m_mediaSourceConfigHasBeenSet = true; m_mediaSourceConfig = std::move(value); }
53 inline RecorderConfig& WithMediaSourceConfig(const MediaSourceConfig& value) { SetMediaSourceConfig(value); return *this;}
54 inline RecorderConfig& WithMediaSourceConfig(MediaSourceConfig&& value) { SetMediaSourceConfig(std::move(value)); return *this;}
56
58
65 inline const ScheduleConfig& GetScheduleConfig() const{ return m_scheduleConfig; }
66 inline bool ScheduleConfigHasBeenSet() const { return m_scheduleConfigHasBeenSet; }
67 inline void SetScheduleConfig(const ScheduleConfig& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = value; }
68 inline void SetScheduleConfig(ScheduleConfig&& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = std::move(value); }
69 inline RecorderConfig& WithScheduleConfig(const ScheduleConfig& value) { SetScheduleConfig(value); return *this;}
70 inline RecorderConfig& WithScheduleConfig(ScheduleConfig&& value) { SetScheduleConfig(std::move(value)); return *this;}
72 private:
73
74 MediaSourceConfig m_mediaSourceConfig;
75 bool m_mediaSourceConfigHasBeenSet = false;
76
77 ScheduleConfig m_scheduleConfig;
78 bool m_scheduleConfigHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace KinesisVideo
83} // namespace Aws
RecorderConfig & WithMediaSourceConfig(MediaSourceConfig &&value)
RecorderConfig & WithScheduleConfig(const ScheduleConfig &value)
const MediaSourceConfig & GetMediaSourceConfig() const
void SetMediaSourceConfig(MediaSourceConfig &&value)
RecorderConfig & WithScheduleConfig(ScheduleConfig &&value)
void SetScheduleConfig(const ScheduleConfig &value)
RecorderConfig & WithMediaSourceConfig(const MediaSourceConfig &value)
void SetScheduleConfig(ScheduleConfig &&value)
AWS_KINESISVIDEO_API RecorderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMediaSourceConfig(const MediaSourceConfig &value)
const ScheduleConfig & GetScheduleConfig() const
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API RecorderConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue