AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsIngest.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediapackage/model/IngestEndpoint.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaPackage
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIAPACKAGE_API HlsIngest();
37 AWS_MEDIAPACKAGE_API HlsIngest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGE_API HlsIngest& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const{ return m_ingestEndpoints; }
47 inline bool IngestEndpointsHasBeenSet() const { return m_ingestEndpointsHasBeenSet; }
48 inline void SetIngestEndpoints(const Aws::Vector<IngestEndpoint>& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints = value; }
49 inline void SetIngestEndpoints(Aws::Vector<IngestEndpoint>&& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints = std::move(value); }
50 inline HlsIngest& WithIngestEndpoints(const Aws::Vector<IngestEndpoint>& value) { SetIngestEndpoints(value); return *this;}
51 inline HlsIngest& WithIngestEndpoints(Aws::Vector<IngestEndpoint>&& value) { SetIngestEndpoints(std::move(value)); return *this;}
52 inline HlsIngest& AddIngestEndpoints(const IngestEndpoint& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints.push_back(value); return *this; }
53 inline HlsIngest& AddIngestEndpoints(IngestEndpoint&& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
58 bool m_ingestEndpointsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace MediaPackage
63} // namespace Aws
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGE_API HlsIngest()
HlsIngest & AddIngestEndpoints(const IngestEndpoint &value)
Definition HlsIngest.h:52
HlsIngest & WithIngestEndpoints(Aws::Vector< IngestEndpoint > &&value)
Definition HlsIngest.h:51
void SetIngestEndpoints(Aws::Vector< IngestEndpoint > &&value)
Definition HlsIngest.h:49
HlsIngest & WithIngestEndpoints(const Aws::Vector< IngestEndpoint > &value)
Definition HlsIngest.h:50
void SetIngestEndpoints(const Aws::Vector< IngestEndpoint > &value)
Definition HlsIngest.h:48
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:46
HlsIngest & AddIngestEndpoints(IngestEndpoint &&value)
Definition HlsIngest.h:53
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue