AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UploaderConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/ScheduleConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisVideo {
20namespace Model {
21
33 public:
34 AWS_KINESISVIDEO_API UploaderConfig() = default;
35 AWS_KINESISVIDEO_API UploaderConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KINESISVIDEO_API UploaderConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
47 inline const ScheduleConfig& GetScheduleConfig() const { return m_scheduleConfig; }
48 inline bool ScheduleConfigHasBeenSet() const { return m_scheduleConfigHasBeenSet; }
49 template <typename ScheduleConfigT = ScheduleConfig>
50 void SetScheduleConfig(ScheduleConfigT&& value) {
51 m_scheduleConfigHasBeenSet = true;
52 m_scheduleConfig = std::forward<ScheduleConfigT>(value);
53 }
54 template <typename ScheduleConfigT = ScheduleConfig>
55 UploaderConfig& WithScheduleConfig(ScheduleConfigT&& value) {
56 SetScheduleConfig(std::forward<ScheduleConfigT>(value));
57 return *this;
58 }
60 private:
61 ScheduleConfig m_scheduleConfig;
62 bool m_scheduleConfigHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace KinesisVideo
67} // namespace Aws
AWS_KINESISVIDEO_API UploaderConfig()=default
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API UploaderConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEO_API UploaderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScheduleConfig(ScheduleConfigT &&value)
UploaderConfig & WithScheduleConfig(ScheduleConfigT &&value)
const ScheduleConfig & GetScheduleConfig() const
Aws::Utils::Json::JsonValue JsonValue