AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AvailConfiguration.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AvailSettings.h>
9#include <aws/medialive/model/Scte35SegmentationScope.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API AvailConfiguration() = default;
31 AWS_MEDIALIVE_API AvailConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const AvailSettings& GetAvailSettings() const { return m_availSettings; }
43 inline bool AvailSettingsHasBeenSet() const { return m_availSettingsHasBeenSet; }
44 template <typename AvailSettingsT = AvailSettings>
45 void SetAvailSettings(AvailSettingsT&& value) {
46 m_availSettingsHasBeenSet = true;
47 m_availSettings = std::forward<AvailSettingsT>(value);
48 }
49 template <typename AvailSettingsT = AvailSettings>
50 AvailConfiguration& WithAvailSettings(AvailSettingsT&& value) {
51 SetAvailSettings(std::forward<AvailSettingsT>(value));
52 return *this;
53 }
55
57
71 inline Scte35SegmentationScope GetScte35SegmentationScope() const { return m_scte35SegmentationScope; }
72 inline bool Scte35SegmentationScopeHasBeenSet() const { return m_scte35SegmentationScopeHasBeenSet; }
74 m_scte35SegmentationScopeHasBeenSet = true;
75 m_scte35SegmentationScope = value;
76 }
79 return *this;
80 }
82 private:
83 AvailSettings m_availSettings;
84
86 bool m_availSettingsHasBeenSet = false;
87 bool m_scte35SegmentationScopeHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace MediaLive
92} // namespace Aws
AWS_MEDIALIVE_API AvailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AvailConfiguration & WithAvailSettings(AvailSettingsT &&value)
void SetAvailSettings(AvailSettingsT &&value)
AWS_MEDIALIVE_API AvailConfiguration()=default
const AvailSettings & GetAvailSettings() const
AWS_MEDIALIVE_API AvailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Scte35SegmentationScope GetScte35SegmentationScope() const
AvailConfiguration & WithScte35SegmentationScope(Scte35SegmentationScope value)
void SetScte35SegmentationScope(Scte35SegmentationScope value)
Aws::Utils::Json::JsonValue JsonValue