AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ArchiveOutputSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/ArchiveContainerSettings.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 ArchiveOutputSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const ArchiveContainerSettings& GetContainerSettings() const { return m_containerSettings; }
40 inline bool ContainerSettingsHasBeenSet() const { return m_containerSettingsHasBeenSet; }
41 template <typename ContainerSettingsT = ArchiveContainerSettings>
42 void SetContainerSettings(ContainerSettingsT&& value) {
43 m_containerSettingsHasBeenSet = true;
44 m_containerSettings = std::forward<ContainerSettingsT>(value);
45 }
46 template <typename ContainerSettingsT = ArchiveContainerSettings>
47 ArchiveOutputSettings& WithContainerSettings(ContainerSettingsT&& value) {
48 SetContainerSettings(std::forward<ContainerSettingsT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetExtension() const { return m_extension; }
59 inline bool ExtensionHasBeenSet() const { return m_extensionHasBeenSet; }
60 template <typename ExtensionT = Aws::String>
61 void SetExtension(ExtensionT&& value) {
62 m_extensionHasBeenSet = true;
63 m_extension = std::forward<ExtensionT>(value);
64 }
65 template <typename ExtensionT = Aws::String>
66 ArchiveOutputSettings& WithExtension(ExtensionT&& value) {
67 SetExtension(std::forward<ExtensionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetNameModifier() const { return m_nameModifier; }
78 inline bool NameModifierHasBeenSet() const { return m_nameModifierHasBeenSet; }
79 template <typename NameModifierT = Aws::String>
80 void SetNameModifier(NameModifierT&& value) {
81 m_nameModifierHasBeenSet = true;
82 m_nameModifier = std::forward<NameModifierT>(value);
83 }
84 template <typename NameModifierT = Aws::String>
85 ArchiveOutputSettings& WithNameModifier(NameModifierT&& value) {
86 SetNameModifier(std::forward<NameModifierT>(value));
87 return *this;
88 }
90 private:
91 ArchiveContainerSettings m_containerSettings;
92
93 Aws::String m_extension;
94
95 Aws::String m_nameModifier;
96 bool m_containerSettingsHasBeenSet = false;
97 bool m_extensionHasBeenSet = false;
98 bool m_nameModifierHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MediaLive
103} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API ArchiveOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const ArchiveContainerSettings & GetContainerSettings() const
void SetContainerSettings(ContainerSettingsT &&value)
ArchiveOutputSettings & WithContainerSettings(ContainerSettingsT &&value)
ArchiveOutputSettings & WithExtension(ExtensionT &&value)
AWS_MEDIALIVE_API ArchiveOutputSettings(Aws::Utils::Json::JsonView jsonValue)
ArchiveOutputSettings & WithNameModifier(NameModifierT &&value)
AWS_MEDIALIVE_API ArchiveOutputSettings()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue