AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TrackSourceSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
28 public:
29 AWS_MEDIACONVERT_API TrackSourceSettings() = default;
30 AWS_MEDIACONVERT_API TrackSourceSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
48 inline int GetStreamNumber() const { return m_streamNumber; }
49 inline bool StreamNumberHasBeenSet() const { return m_streamNumberHasBeenSet; }
50 inline void SetStreamNumber(int value) {
51 m_streamNumberHasBeenSet = true;
52 m_streamNumber = value;
53 }
55 SetStreamNumber(value);
56 return *this;
57 }
59
61
71 inline int GetTrackNumber() const { return m_trackNumber; }
72 inline bool TrackNumberHasBeenSet() const { return m_trackNumberHasBeenSet; }
73 inline void SetTrackNumber(int value) {
74 m_trackNumberHasBeenSet = true;
75 m_trackNumber = value;
76 }
78 SetTrackNumber(value);
79 return *this;
80 }
82 private:
83 int m_streamNumber{0};
84
85 int m_trackNumber{0};
86 bool m_streamNumberHasBeenSet = false;
87 bool m_trackNumberHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace MediaConvert
92} // namespace Aws
TrackSourceSettings & WithTrackNumber(int value)
AWS_MEDIACONVERT_API TrackSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API TrackSourceSettings()=default
TrackSourceSettings & WithStreamNumber(int value)
AWS_MEDIACONVERT_API TrackSourceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue