AWS SDK for C++

AWS SDK for C++ Version 1.11.742

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
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 ArchiveContainerSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const M2tsSettings& GetM2tsSettings() const { return m_m2tsSettings; }
38 inline bool M2tsSettingsHasBeenSet() const { return m_m2tsSettingsHasBeenSet; }
39 template <typename M2tsSettingsT = M2tsSettings>
40 void SetM2tsSettings(M2tsSettingsT&& value) {
41 m_m2tsSettingsHasBeenSet = true;
42 m_m2tsSettings = std::forward<M2tsSettingsT>(value);
43 }
44 template <typename M2tsSettingsT = M2tsSettings>
46 SetM2tsSettings(std::forward<M2tsSettingsT>(value));
47 return *this;
48 }
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) {
57 m_rawSettingsHasBeenSet = true;
58 m_rawSettings = std::forward<RawSettingsT>(value);
59 }
60 template <typename RawSettingsT = RawSettings>
62 SetRawSettings(std::forward<RawSettingsT>(value));
63 return *this;
64 }
66 private:
67 M2tsSettings m_m2tsSettings;
68
69 RawSettings m_rawSettings;
70 bool m_m2tsSettingsHasBeenSet = false;
71 bool m_rawSettingsHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace MediaLive
76} // 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