AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HlsIngest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/mediapackage/MediaPackage_EXPORTS.h>
9#include <aws/mediapackage/model/IngestEndpoint.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaPackage {
21namespace Model {
22
29class HlsIngest {
30 public:
31 AWS_MEDIAPACKAGE_API HlsIngest() = default;
32 AWS_MEDIAPACKAGE_API HlsIngest(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGE_API HlsIngest& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const { return m_ingestEndpoints; }
41 inline bool IngestEndpointsHasBeenSet() const { return m_ingestEndpointsHasBeenSet; }
42 template <typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
43 void SetIngestEndpoints(IngestEndpointsT&& value) {
44 m_ingestEndpointsHasBeenSet = true;
45 m_ingestEndpoints = std::forward<IngestEndpointsT>(value);
46 }
47 template <typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
48 HlsIngest& WithIngestEndpoints(IngestEndpointsT&& value) {
49 SetIngestEndpoints(std::forward<IngestEndpointsT>(value));
50 return *this;
51 }
52 template <typename IngestEndpointsT = IngestEndpoint>
53 HlsIngest& AddIngestEndpoints(IngestEndpointsT&& value) {
54 m_ingestEndpointsHasBeenSet = true;
55 m_ingestEndpoints.emplace_back(std::forward<IngestEndpointsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
61 bool m_ingestEndpointsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace MediaPackage
66} // namespace Aws
AWS_MEDIAPACKAGE_API HlsIngest()=default
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIngestEndpoints(IngestEndpointsT &&value)
Definition HlsIngest.h:43
HlsIngest & WithIngestEndpoints(IngestEndpointsT &&value)
Definition HlsIngest.h:48
HlsIngest & AddIngestEndpoints(IngestEndpointsT &&value)
Definition HlsIngest.h:53
AWS_MEDIAPACKAGE_API HlsIngest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGE_API HlsIngest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< IngestEndpoint > & GetIngestEndpoints() const
Definition HlsIngest.h:40
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue