AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamSelection.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/StreamOrder.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaPackageVod
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIAPACKAGEVOD_API StreamSelection();
35 AWS_MEDIAPACKAGEVOD_API StreamSelection(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIAPACKAGEVOD_API StreamSelection& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetMaxVideoBitsPerSecond() const{ return m_maxVideoBitsPerSecond; }
45 inline bool MaxVideoBitsPerSecondHasBeenSet() const { return m_maxVideoBitsPerSecondHasBeenSet; }
46 inline void SetMaxVideoBitsPerSecond(int value) { m_maxVideoBitsPerSecondHasBeenSet = true; m_maxVideoBitsPerSecond = value; }
47 inline StreamSelection& WithMaxVideoBitsPerSecond(int value) { SetMaxVideoBitsPerSecond(value); return *this;}
49
51
54 inline int GetMinVideoBitsPerSecond() const{ return m_minVideoBitsPerSecond; }
55 inline bool MinVideoBitsPerSecondHasBeenSet() const { return m_minVideoBitsPerSecondHasBeenSet; }
56 inline void SetMinVideoBitsPerSecond(int value) { m_minVideoBitsPerSecondHasBeenSet = true; m_minVideoBitsPerSecond = value; }
57 inline StreamSelection& WithMinVideoBitsPerSecond(int value) { SetMinVideoBitsPerSecond(value); return *this;}
59
61
64 inline const StreamOrder& GetStreamOrder() const{ return m_streamOrder; }
65 inline bool StreamOrderHasBeenSet() const { return m_streamOrderHasBeenSet; }
66 inline void SetStreamOrder(const StreamOrder& value) { m_streamOrderHasBeenSet = true; m_streamOrder = value; }
67 inline void SetStreamOrder(StreamOrder&& value) { m_streamOrderHasBeenSet = true; m_streamOrder = std::move(value); }
68 inline StreamSelection& WithStreamOrder(const StreamOrder& value) { SetStreamOrder(value); return *this;}
69 inline StreamSelection& WithStreamOrder(StreamOrder&& value) { SetStreamOrder(std::move(value)); return *this;}
71 private:
72
73 int m_maxVideoBitsPerSecond;
74 bool m_maxVideoBitsPerSecondHasBeenSet = false;
75
76 int m_minVideoBitsPerSecond;
77 bool m_minVideoBitsPerSecondHasBeenSet = false;
78
79 StreamOrder m_streamOrder;
80 bool m_streamOrderHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace MediaPackageVod
85} // namespace Aws
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
StreamSelection & WithMinVideoBitsPerSecond(int value)
StreamSelection & WithStreamOrder(StreamOrder &&value)
StreamSelection & WithMaxVideoBitsPerSecond(int value)
AWS_MEDIAPACKAGEVOD_API StreamSelection()
AWS_MEDIAPACKAGEVOD_API StreamSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamSelection & WithStreamOrder(const StreamOrder &value)
void SetStreamOrder(const StreamOrder &value)
AWS_MEDIAPACKAGEVOD_API StreamSelection(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue