AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DashDvbSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
9#include <aws/mediapackagev2/model/DashDvbFontDownload.h>
10#include <aws/mediapackagev2/model/DashDvbMetricsReporting.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mediapackagev2 {
22namespace Model {
23
32 public:
33 AWS_MEDIAPACKAGEV2_API DashDvbSettings() = default;
34 AWS_MEDIAPACKAGEV2_API DashDvbSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIAPACKAGEV2_API DashDvbSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const DashDvbFontDownload& GetFontDownload() const { return m_fontDownload; }
43 inline bool FontDownloadHasBeenSet() const { return m_fontDownloadHasBeenSet; }
44 template <typename FontDownloadT = DashDvbFontDownload>
45 void SetFontDownload(FontDownloadT&& value) {
46 m_fontDownloadHasBeenSet = true;
47 m_fontDownload = std::forward<FontDownloadT>(value);
48 }
49 template <typename FontDownloadT = DashDvbFontDownload>
50 DashDvbSettings& WithFontDownload(FontDownloadT&& value) {
51 SetFontDownload(std::forward<FontDownloadT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<DashDvbMetricsReporting>& GetErrorMetrics() const { return m_errorMetrics; }
61 inline bool ErrorMetricsHasBeenSet() const { return m_errorMetricsHasBeenSet; }
62 template <typename ErrorMetricsT = Aws::Vector<DashDvbMetricsReporting>>
63 void SetErrorMetrics(ErrorMetricsT&& value) {
64 m_errorMetricsHasBeenSet = true;
65 m_errorMetrics = std::forward<ErrorMetricsT>(value);
66 }
67 template <typename ErrorMetricsT = Aws::Vector<DashDvbMetricsReporting>>
68 DashDvbSettings& WithErrorMetrics(ErrorMetricsT&& value) {
69 SetErrorMetrics(std::forward<ErrorMetricsT>(value));
70 return *this;
71 }
72 template <typename ErrorMetricsT = DashDvbMetricsReporting>
73 DashDvbSettings& AddErrorMetrics(ErrorMetricsT&& value) {
74 m_errorMetricsHasBeenSet = true;
75 m_errorMetrics.emplace_back(std::forward<ErrorMetricsT>(value));
76 return *this;
77 }
79 private:
80 DashDvbFontDownload m_fontDownload;
81
83 bool m_fontDownloadHasBeenSet = false;
84 bool m_errorMetricsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace mediapackagev2
89} // namespace Aws
DashDvbSettings & WithErrorMetrics(ErrorMetricsT &&value)
DashDvbSettings & WithFontDownload(FontDownloadT &&value)
AWS_MEDIAPACKAGEV2_API DashDvbSettings(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DashDvbMetricsReporting > & GetErrorMetrics() const
AWS_MEDIAPACKAGEV2_API DashDvbSettings()=default
AWS_MEDIAPACKAGEV2_API DashDvbSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMetrics(ErrorMetricsT &&value)
void SetFontDownload(FontDownloadT &&value)
const DashDvbFontDownload & GetFontDownload() const
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
DashDvbSettings & AddErrorMetrics(ErrorMetricsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue