AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
MssManifest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
9#include <aws/mediapackage-vod/model/StreamSelection.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaPackageVod {
21namespace Model {
22
30 public:
31 AWS_MEDIAPACKAGEVOD_API MssManifest() = default;
32 AWS_MEDIAPACKAGEVOD_API MssManifest(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGEVOD_API MssManifest& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetManifestName() const { return m_manifestName; }
41 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
42 template <typename ManifestNameT = Aws::String>
43 void SetManifestName(ManifestNameT&& value) {
44 m_manifestNameHasBeenSet = true;
45 m_manifestName = std::forward<ManifestNameT>(value);
46 }
47 template <typename ManifestNameT = Aws::String>
48 MssManifest& WithManifestName(ManifestNameT&& value) {
49 SetManifestName(std::forward<ManifestNameT>(value));
50 return *this;
51 }
53
55
56 inline const StreamSelection& GetStreamSelection() const { return m_streamSelection; }
57 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
58 template <typename StreamSelectionT = StreamSelection>
59 void SetStreamSelection(StreamSelectionT&& value) {
60 m_streamSelectionHasBeenSet = true;
61 m_streamSelection = std::forward<StreamSelectionT>(value);
62 }
63 template <typename StreamSelectionT = StreamSelection>
64 MssManifest& WithStreamSelection(StreamSelectionT&& value) {
65 SetStreamSelection(std::forward<StreamSelectionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_manifestName;
71
72 StreamSelection m_streamSelection;
73 bool m_manifestNameHasBeenSet = false;
74 bool m_streamSelectionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaPackageVod
79} // namespace Aws
MssManifest & WithManifestName(ManifestNameT &&value)
Definition MssManifest.h:48
AWS_MEDIAPACKAGEVOD_API MssManifest()=default
const StreamSelection & GetStreamSelection() const
Definition MssManifest.h:56
MssManifest & WithStreamSelection(StreamSelectionT &&value)
Definition MssManifest.h:64
void SetStreamSelection(StreamSelectionT &&value)
Definition MssManifest.h:59
AWS_MEDIAPACKAGEVOD_API MssManifest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetManifestName() const
Definition MssManifest.h:40
void SetManifestName(ManifestNameT &&value)
Definition MssManifest.h:43
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGEVOD_API MssManifest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue