AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HarvestedManifests.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediapackagev2/model/HarvestedHlsManifest.h>
10#include <aws/mediapackagev2/model/HarvestedDashManifest.h>
11#include <aws/mediapackagev2/model/HarvestedLowLatencyHlsManifest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace mediapackagev2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIAPACKAGEV2_API HarvestedManifests();
39 AWS_MEDIAPACKAGEV2_API HarvestedManifests(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGEV2_API HarvestedManifests& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<HarvestedHlsManifest>& GetHlsManifests() const{ return m_hlsManifests; }
49 inline bool HlsManifestsHasBeenSet() const { return m_hlsManifestsHasBeenSet; }
50 inline void SetHlsManifests(const Aws::Vector<HarvestedHlsManifest>& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = value; }
51 inline void SetHlsManifests(Aws::Vector<HarvestedHlsManifest>&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = std::move(value); }
53 inline HarvestedManifests& WithHlsManifests(Aws::Vector<HarvestedHlsManifest>&& value) { SetHlsManifests(std::move(value)); return *this;}
54 inline HarvestedManifests& AddHlsManifests(const HarvestedHlsManifest& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(value); return *this; }
55 inline HarvestedManifests& AddHlsManifests(HarvestedHlsManifest&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<HarvestedDashManifest>& GetDashManifests() const{ return m_dashManifests; }
63 inline bool DashManifestsHasBeenSet() const { return m_dashManifestsHasBeenSet; }
64 inline void SetDashManifests(const Aws::Vector<HarvestedDashManifest>& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = value; }
65 inline void SetDashManifests(Aws::Vector<HarvestedDashManifest>&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = std::move(value); }
68 inline HarvestedManifests& AddDashManifests(const HarvestedDashManifest& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.push_back(value); return *this; }
69 inline HarvestedManifests& AddDashManifests(HarvestedDashManifest&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<HarvestedLowLatencyHlsManifest>& GetLowLatencyHlsManifests() const{ return m_lowLatencyHlsManifests; }
77 inline bool LowLatencyHlsManifestsHasBeenSet() const { return m_lowLatencyHlsManifestsHasBeenSet; }
78 inline void SetLowLatencyHlsManifests(const Aws::Vector<HarvestedLowLatencyHlsManifest>& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests = value; }
79 inline void SetLowLatencyHlsManifests(Aws::Vector<HarvestedLowLatencyHlsManifest>&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests = std::move(value); }
82 inline HarvestedManifests& AddLowLatencyHlsManifests(const HarvestedLowLatencyHlsManifest& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.push_back(value); return *this; }
83 inline HarvestedManifests& AddLowLatencyHlsManifests(HarvestedLowLatencyHlsManifest&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; }
85 private:
86
88 bool m_hlsManifestsHasBeenSet = false;
89
91 bool m_dashManifestsHasBeenSet = false;
92
93 Aws::Vector<HarvestedLowLatencyHlsManifest> m_lowLatencyHlsManifests;
94 bool m_lowLatencyHlsManifestsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace mediapackagev2
99} // namespace Aws
HarvestedManifests & WithDashManifests(const Aws::Vector< HarvestedDashManifest > &value)
AWS_MEDIAPACKAGEV2_API HarvestedManifests(Aws::Utils::Json::JsonView jsonValue)
void SetDashManifests(const Aws::Vector< HarvestedDashManifest > &value)
const Aws::Vector< HarvestedLowLatencyHlsManifest > & GetLowLatencyHlsManifests() const
void SetLowLatencyHlsManifests(const Aws::Vector< HarvestedLowLatencyHlsManifest > &value)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
HarvestedManifests & WithDashManifests(Aws::Vector< HarvestedDashManifest > &&value)
HarvestedManifests & WithLowLatencyHlsManifests(const Aws::Vector< HarvestedLowLatencyHlsManifest > &value)
const Aws::Vector< HarvestedHlsManifest > & GetHlsManifests() const
HarvestedManifests & WithHlsManifests(Aws::Vector< HarvestedHlsManifest > &&value)
HarvestedManifests & AddDashManifests(const HarvestedDashManifest &value)
HarvestedManifests & AddLowLatencyHlsManifests(const HarvestedLowLatencyHlsManifest &value)
HarvestedManifests & WithLowLatencyHlsManifests(Aws::Vector< HarvestedLowLatencyHlsManifest > &&value)
void SetLowLatencyHlsManifests(Aws::Vector< HarvestedLowLatencyHlsManifest > &&value)
HarvestedManifests & AddHlsManifests(const HarvestedHlsManifest &value)
HarvestedManifests & AddLowLatencyHlsManifests(HarvestedLowLatencyHlsManifest &&value)
void SetHlsManifests(const Aws::Vector< HarvestedHlsManifest > &value)
HarvestedManifests & WithHlsManifests(const Aws::Vector< HarvestedHlsManifest > &value)
HarvestedManifests & AddHlsManifests(HarvestedHlsManifest &&value)
AWS_MEDIAPACKAGEV2_API HarvestedManifests & operator=(Aws::Utils::Json::JsonView jsonValue)
HarvestedManifests & AddDashManifests(HarvestedDashManifest &&value)
void SetHlsManifests(Aws::Vector< HarvestedHlsManifest > &&value)
void SetDashManifests(Aws::Vector< HarvestedDashManifest > &&value)
const Aws::Vector< HarvestedDashManifest > & GetDashManifests() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue