AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MsSmoothGroupSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
10#include <aws/mediaconvert/model/DestinationSettings.h>
11#include <aws/mediaconvert/model/MsSmoothAdditionalManifest.h>
12#include <aws/mediaconvert/model/MsSmoothAudioDeduplication.h>
13#include <aws/mediaconvert/model/MsSmoothEncryptionSettings.h>
14#include <aws/mediaconvert/model/MsSmoothFragmentLengthControl.h>
15#include <aws/mediaconvert/model/MsSmoothManifestEncoding.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert {
27namespace Model {
28
38 public:
39 AWS_MEDIACONVERT_API MsSmoothGroupSettings() = default;
40 AWS_MEDIACONVERT_API MsSmoothGroupSettings(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
52 inline const Aws::Vector<MsSmoothAdditionalManifest>& GetAdditionalManifests() const { return m_additionalManifests; }
53 inline bool AdditionalManifestsHasBeenSet() const { return m_additionalManifestsHasBeenSet; }
54 template <typename AdditionalManifestsT = Aws::Vector<MsSmoothAdditionalManifest>>
55 void SetAdditionalManifests(AdditionalManifestsT&& value) {
56 m_additionalManifestsHasBeenSet = true;
57 m_additionalManifests = std::forward<AdditionalManifestsT>(value);
58 }
59 template <typename AdditionalManifestsT = Aws::Vector<MsSmoothAdditionalManifest>>
60 MsSmoothGroupSettings& WithAdditionalManifests(AdditionalManifestsT&& value) {
61 SetAdditionalManifests(std::forward<AdditionalManifestsT>(value));
62 return *this;
63 }
64 template <typename AdditionalManifestsT = MsSmoothAdditionalManifest>
65 MsSmoothGroupSettings& AddAdditionalManifests(AdditionalManifestsT&& value) {
66 m_additionalManifestsHasBeenSet = true;
67 m_additionalManifests.emplace_back(std::forward<AdditionalManifestsT>(value));
68 return *this;
69 }
71
73
77 inline MsSmoothAudioDeduplication GetAudioDeduplication() const { return m_audioDeduplication; }
78 inline bool AudioDeduplicationHasBeenSet() const { return m_audioDeduplicationHasBeenSet; }
80 m_audioDeduplicationHasBeenSet = true;
81 m_audioDeduplication = value;
82 }
85 return *this;
86 }
88
90
96 inline const Aws::String& GetDestination() const { return m_destination; }
97 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
98 template <typename DestinationT = Aws::String>
99 void SetDestination(DestinationT&& value) {
100 m_destinationHasBeenSet = true;
101 m_destination = std::forward<DestinationT>(value);
102 }
103 template <typename DestinationT = Aws::String>
104 MsSmoothGroupSettings& WithDestination(DestinationT&& value) {
105 SetDestination(std::forward<DestinationT>(value));
106 return *this;
107 }
109
111
115 inline const DestinationSettings& GetDestinationSettings() const { return m_destinationSettings; }
116 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
117 template <typename DestinationSettingsT = DestinationSettings>
118 void SetDestinationSettings(DestinationSettingsT&& value) {
119 m_destinationSettingsHasBeenSet = true;
120 m_destinationSettings = std::forward<DestinationSettingsT>(value);
121 }
122 template <typename DestinationSettingsT = DestinationSettings>
123 MsSmoothGroupSettings& WithDestinationSettings(DestinationSettingsT&& value) {
124 SetDestinationSettings(std::forward<DestinationSettingsT>(value));
125 return *this;
126 }
128
130
133 inline const MsSmoothEncryptionSettings& GetEncryption() const { return m_encryption; }
134 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
135 template <typename EncryptionT = MsSmoothEncryptionSettings>
136 void SetEncryption(EncryptionT&& value) {
137 m_encryptionHasBeenSet = true;
138 m_encryption = std::forward<EncryptionT>(value);
139 }
140 template <typename EncryptionT = MsSmoothEncryptionSettings>
141 MsSmoothGroupSettings& WithEncryption(EncryptionT&& value) {
142 SetEncryption(std::forward<EncryptionT>(value));
143 return *this;
144 }
146
148
154 inline int GetFragmentLength() const { return m_fragmentLength; }
155 inline bool FragmentLengthHasBeenSet() const { return m_fragmentLengthHasBeenSet; }
156 inline void SetFragmentLength(int value) {
157 m_fragmentLengthHasBeenSet = true;
158 m_fragmentLength = value;
159 }
161 SetFragmentLength(value);
162 return *this;
163 }
165
167
173 inline MsSmoothFragmentLengthControl GetFragmentLengthControl() const { return m_fragmentLengthControl; }
174 inline bool FragmentLengthControlHasBeenSet() const { return m_fragmentLengthControlHasBeenSet; }
176 m_fragmentLengthControlHasBeenSet = true;
177 m_fragmentLengthControl = value;
178 }
181 return *this;
182 }
184
186
190 inline MsSmoothManifestEncoding GetManifestEncoding() const { return m_manifestEncoding; }
191 inline bool ManifestEncodingHasBeenSet() const { return m_manifestEncodingHasBeenSet; }
193 m_manifestEncodingHasBeenSet = true;
194 m_manifestEncoding = value;
195 }
197 SetManifestEncoding(value);
198 return *this;
199 }
201 private:
202 Aws::Vector<MsSmoothAdditionalManifest> m_additionalManifests;
203
205
206 Aws::String m_destination;
207
208 DestinationSettings m_destinationSettings;
209
210 MsSmoothEncryptionSettings m_encryption;
211
212 int m_fragmentLength{0};
213
215
217 bool m_additionalManifestsHasBeenSet = false;
218 bool m_audioDeduplicationHasBeenSet = false;
219 bool m_destinationHasBeenSet = false;
220 bool m_destinationSettingsHasBeenSet = false;
221 bool m_encryptionHasBeenSet = false;
222 bool m_fragmentLengthHasBeenSet = false;
223 bool m_fragmentLengthControlHasBeenSet = false;
224 bool m_manifestEncodingHasBeenSet = false;
225};
226
227} // namespace Model
228} // namespace MediaConvert
229} // namespace Aws
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
MsSmoothGroupSettings & WithAudioDeduplication(MsSmoothAudioDeduplication value)
AWS_MEDIACONVERT_API MsSmoothGroupSettings()=default
void SetManifestEncoding(MsSmoothManifestEncoding value)
void SetDestinationSettings(DestinationSettingsT &&value)
AWS_MEDIACONVERT_API MsSmoothGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MsSmoothGroupSettings & WithManifestEncoding(MsSmoothManifestEncoding value)
MsSmoothGroupSettings & WithFragmentLength(int value)
MsSmoothGroupSettings & WithDestination(DestinationT &&value)
MsSmoothGroupSettings & WithFragmentLengthControl(MsSmoothFragmentLengthControl value)
MsSmoothGroupSettings & AddAdditionalManifests(AdditionalManifestsT &&value)
const DestinationSettings & GetDestinationSettings() const
void SetFragmentLengthControl(MsSmoothFragmentLengthControl value)
void SetAudioDeduplication(MsSmoothAudioDeduplication value)
void SetAdditionalManifests(AdditionalManifestsT &&value)
MsSmoothGroupSettings & WithDestinationSettings(DestinationSettingsT &&value)
AWS_MEDIACONVERT_API MsSmoothGroupSettings(Aws::Utils::Json::JsonView jsonValue)
MsSmoothAudioDeduplication GetAudioDeduplication() const
const MsSmoothEncryptionSettings & GetEncryption() const
MsSmoothGroupSettings & WithAdditionalManifests(AdditionalManifestsT &&value)
MsSmoothGroupSettings & WithEncryption(EncryptionT &&value)
const Aws::Vector< MsSmoothAdditionalManifest > & GetAdditionalManifests() const
MsSmoothFragmentLengthControl GetFragmentLengthControl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue