AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DashDvbSettings.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/model/DashDvbFontDownload.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediapackagev2/model/DashDvbMetricsReporting.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mediapackagev2
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MEDIAPACKAGEV2_API DashDvbSettings() = default;
39 AWS_MEDIAPACKAGEV2_API DashDvbSettings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGEV2_API DashDvbSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DashDvbFontDownload& GetFontDownload() const { return m_fontDownload; }
49 inline bool FontDownloadHasBeenSet() const { return m_fontDownloadHasBeenSet; }
50 template<typename FontDownloadT = DashDvbFontDownload>
51 void SetFontDownload(FontDownloadT&& value) { m_fontDownloadHasBeenSet = true; m_fontDownload = std::forward<FontDownloadT>(value); }
52 template<typename FontDownloadT = DashDvbFontDownload>
53 DashDvbSettings& WithFontDownload(FontDownloadT&& value) { SetFontDownload(std::forward<FontDownloadT>(value)); return *this;}
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) { m_errorMetricsHasBeenSet = true; m_errorMetrics = std::forward<ErrorMetricsT>(value); }
64 template<typename ErrorMetricsT = Aws::Vector<DashDvbMetricsReporting>>
65 DashDvbSettings& WithErrorMetrics(ErrorMetricsT&& value) { SetErrorMetrics(std::forward<ErrorMetricsT>(value)); return *this;}
66 template<typename ErrorMetricsT = DashDvbMetricsReporting>
67 DashDvbSettings& AddErrorMetrics(ErrorMetricsT&& value) { m_errorMetricsHasBeenSet = true; m_errorMetrics.emplace_back(std::forward<ErrorMetricsT>(value)); return *this; }
69 private:
70
71 DashDvbFontDownload m_fontDownload;
72 bool m_fontDownloadHasBeenSet = false;
73
75 bool m_errorMetricsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace mediapackagev2
80} // 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