AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MsSmoothGroupSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/model/MsSmoothAudioDeduplication.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconvert/model/DestinationSettings.h>
12#include <aws/mediaconvert/model/MsSmoothEncryptionSettings.h>
13#include <aws/mediaconvert/model/MsSmoothFragmentLengthControl.h>
14#include <aws/mediaconvert/model/MsSmoothManifestEncoding.h>
15#include <aws/mediaconvert/model/MsSmoothAdditionalManifest.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
42 {
43 public:
44 AWS_MEDIACONVERT_API MsSmoothGroupSettings() = default;
45 AWS_MEDIACONVERT_API MsSmoothGroupSettings(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
58 inline const Aws::Vector<MsSmoothAdditionalManifest>& GetAdditionalManifests() const { return m_additionalManifests; }
59 inline bool AdditionalManifestsHasBeenSet() const { return m_additionalManifestsHasBeenSet; }
60 template<typename AdditionalManifestsT = Aws::Vector<MsSmoothAdditionalManifest>>
61 void SetAdditionalManifests(AdditionalManifestsT&& value) { m_additionalManifestsHasBeenSet = true; m_additionalManifests = std::forward<AdditionalManifestsT>(value); }
62 template<typename AdditionalManifestsT = Aws::Vector<MsSmoothAdditionalManifest>>
63 MsSmoothGroupSettings& WithAdditionalManifests(AdditionalManifestsT&& value) { SetAdditionalManifests(std::forward<AdditionalManifestsT>(value)); return *this;}
64 template<typename AdditionalManifestsT = MsSmoothAdditionalManifest>
65 MsSmoothGroupSettings& AddAdditionalManifests(AdditionalManifestsT&& value) { m_additionalManifestsHasBeenSet = true; m_additionalManifests.emplace_back(std::forward<AdditionalManifestsT>(value)); return *this; }
67
69
73 inline MsSmoothAudioDeduplication GetAudioDeduplication() const { return m_audioDeduplication; }
74 inline bool AudioDeduplicationHasBeenSet() const { return m_audioDeduplicationHasBeenSet; }
75 inline void SetAudioDeduplication(MsSmoothAudioDeduplication value) { m_audioDeduplicationHasBeenSet = true; m_audioDeduplication = value; }
78
80
86 inline const Aws::String& GetDestination() const { return m_destination; }
87 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
88 template<typename DestinationT = Aws::String>
89 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
90 template<typename DestinationT = Aws::String>
91 MsSmoothGroupSettings& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
93
95
99 inline const DestinationSettings& GetDestinationSettings() const { return m_destinationSettings; }
100 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
101 template<typename DestinationSettingsT = DestinationSettings>
102 void SetDestinationSettings(DestinationSettingsT&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::forward<DestinationSettingsT>(value); }
103 template<typename DestinationSettingsT = DestinationSettings>
104 MsSmoothGroupSettings& WithDestinationSettings(DestinationSettingsT&& value) { SetDestinationSettings(std::forward<DestinationSettingsT>(value)); return *this;}
106
108
111 inline const MsSmoothEncryptionSettings& GetEncryption() const { return m_encryption; }
112 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
113 template<typename EncryptionT = MsSmoothEncryptionSettings>
114 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
115 template<typename EncryptionT = MsSmoothEncryptionSettings>
116 MsSmoothGroupSettings& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
118
120
126 inline int GetFragmentLength() const { return m_fragmentLength; }
127 inline bool FragmentLengthHasBeenSet() const { return m_fragmentLengthHasBeenSet; }
128 inline void SetFragmentLength(int value) { m_fragmentLengthHasBeenSet = true; m_fragmentLength = value; }
129 inline MsSmoothGroupSettings& WithFragmentLength(int value) { SetFragmentLength(value); return *this;}
131
133
139 inline MsSmoothFragmentLengthControl GetFragmentLengthControl() const { return m_fragmentLengthControl; }
140 inline bool FragmentLengthControlHasBeenSet() const { return m_fragmentLengthControlHasBeenSet; }
141 inline void SetFragmentLengthControl(MsSmoothFragmentLengthControl value) { m_fragmentLengthControlHasBeenSet = true; m_fragmentLengthControl = value; }
144
146
150 inline MsSmoothManifestEncoding GetManifestEncoding() const { return m_manifestEncoding; }
151 inline bool ManifestEncodingHasBeenSet() const { return m_manifestEncodingHasBeenSet; }
152 inline void SetManifestEncoding(MsSmoothManifestEncoding value) { m_manifestEncodingHasBeenSet = true; m_manifestEncoding = value; }
155 private:
156
157 Aws::Vector<MsSmoothAdditionalManifest> m_additionalManifests;
158 bool m_additionalManifestsHasBeenSet = false;
159
161 bool m_audioDeduplicationHasBeenSet = false;
162
163 Aws::String m_destination;
164 bool m_destinationHasBeenSet = false;
165
166 DestinationSettings m_destinationSettings;
167 bool m_destinationSettingsHasBeenSet = false;
168
169 MsSmoothEncryptionSettings m_encryption;
170 bool m_encryptionHasBeenSet = false;
171
172 int m_fragmentLength{0};
173 bool m_fragmentLengthHasBeenSet = false;
174
176 bool m_fragmentLengthControlHasBeenSet = false;
177
179 bool m_manifestEncodingHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace MediaConvert
184} // 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