AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ArchiveContainerSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/M2tsSettings.h>
9#include <aws/medialive/model/RawSettings.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 MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API ArchiveContainerSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const M2tsSettings& GetM2tsSettings() const { return m_m2tsSettings; }
44 inline bool M2tsSettingsHasBeenSet() const { return m_m2tsSettingsHasBeenSet; }
45 template<typename M2tsSettingsT = M2tsSettings>
46 void SetM2tsSettings(M2tsSettingsT&& value) { m_m2tsSettingsHasBeenSet = true; m_m2tsSettings = std::forward<M2tsSettingsT>(value); }
47 template<typename M2tsSettingsT = M2tsSettings>
48 ArchiveContainerSettings& WithM2tsSettings(M2tsSettingsT&& value) { SetM2tsSettings(std::forward<M2tsSettingsT>(value)); return *this;}
50
52
53 inline const RawSettings& GetRawSettings() const { return m_rawSettings; }
54 inline bool RawSettingsHasBeenSet() const { return m_rawSettingsHasBeenSet; }
55 template<typename RawSettingsT = RawSettings>
56 void SetRawSettings(RawSettingsT&& value) { m_rawSettingsHasBeenSet = true; m_rawSettings = std::forward<RawSettingsT>(value); }
57 template<typename RawSettingsT = RawSettings>
58 ArchiveContainerSettings& WithRawSettings(RawSettingsT&& value) { SetRawSettings(std::forward<RawSettingsT>(value)); return *this;}
60 private:
61
62 M2tsSettings m_m2tsSettings;
63 bool m_m2tsSettingsHasBeenSet = false;
64
65 RawSettings m_rawSettings;
66 bool m_rawSettingsHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MediaLive
71} // namespace Aws
ArchiveContainerSettings & WithRawSettings(RawSettingsT &&value)
AWS_MEDIALIVE_API ArchiveContainerSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API ArchiveContainerSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ArchiveContainerSettings & WithM2tsSettings(M2tsSettingsT &&value)
AWS_MEDIALIVE_API ArchiveContainerSettings()=default
Aws::Utils::Json::JsonValue JsonValue