AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
MultiplexOutputSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/MultiplexContainerSettings.h>
9#include <aws/medialive/model/OutputLocationRef.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 MultiplexOutputSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const OutputLocationRef& GetDestination() const { return m_destination; }
40 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
41 template <typename DestinationT = OutputLocationRef>
42 void SetDestination(DestinationT&& value) {
43 m_destinationHasBeenSet = true;
44 m_destination = std::forward<DestinationT>(value);
45 }
46 template <typename DestinationT = OutputLocationRef>
48 SetDestination(std::forward<DestinationT>(value));
49 return *this;
50 }
52
54
55 inline const MultiplexContainerSettings& GetContainerSettings() const { return m_containerSettings; }
56 inline bool ContainerSettingsHasBeenSet() const { return m_containerSettingsHasBeenSet; }
57 template <typename ContainerSettingsT = MultiplexContainerSettings>
58 void SetContainerSettings(ContainerSettingsT&& value) {
59 m_containerSettingsHasBeenSet = true;
60 m_containerSettings = std::forward<ContainerSettingsT>(value);
61 }
62 template <typename ContainerSettingsT = MultiplexContainerSettings>
63 MultiplexOutputSettings& WithContainerSettings(ContainerSettingsT&& value) {
64 SetContainerSettings(std::forward<ContainerSettingsT>(value));
65 return *this;
66 }
68 private:
69 OutputLocationRef m_destination;
70
71 MultiplexContainerSettings m_containerSettings;
72 bool m_destinationHasBeenSet = false;
73 bool m_containerSettingsHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace MediaLive
78} // namespace Aws
AWS_MEDIALIVE_API MultiplexOutputSettings()=default
const MultiplexContainerSettings & GetContainerSettings() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MultiplexOutputSettings & WithDestination(DestinationT &&value)
AWS_MEDIALIVE_API MultiplexOutputSettings(Aws::Utils::Json::JsonView jsonValue)
void SetContainerSettings(ContainerSettingsT &&value)
AWS_MEDIALIVE_API MultiplexOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiplexOutputSettings & WithContainerSettings(ContainerSettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue