AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputVideoGenerator.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert
20{
21namespace Model
22{
23
36 {
37 public:
38 AWS_MEDIACONVERT_API InputVideoGenerator();
39 AWS_MEDIACONVERT_API InputVideoGenerator(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline int GetChannels() const{ return m_channels; }
51 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
52 inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
53 inline InputVideoGenerator& WithChannels(int value) { SetChannels(value); return *this;}
55
57
62 inline int GetDuration() const{ return m_duration; }
63 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
64 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
65 inline InputVideoGenerator& WithDuration(int value) { SetDuration(value); return *this;}
67
69
75 inline int GetFramerateDenominator() const{ return m_framerateDenominator; }
76 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
77 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
78 inline InputVideoGenerator& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
80
82
88 inline int GetFramerateNumerator() const{ return m_framerateNumerator; }
89 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
90 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
91 inline InputVideoGenerator& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
93
95
100 inline int GetSampleRate() const{ return m_sampleRate; }
101 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
102 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
103 inline InputVideoGenerator& WithSampleRate(int value) { SetSampleRate(value); return *this;}
105 private:
106
107 int m_channels;
108 bool m_channelsHasBeenSet = false;
109
110 int m_duration;
111 bool m_durationHasBeenSet = false;
112
113 int m_framerateDenominator;
114 bool m_framerateDenominatorHasBeenSet = false;
115
116 int m_framerateNumerator;
117 bool m_framerateNumeratorHasBeenSet = false;
118
119 int m_sampleRate;
120 bool m_sampleRateHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace MediaConvert
125} // namespace Aws
AWS_MEDIACONVERT_API InputVideoGenerator & operator=(Aws::Utils::Json::JsonView jsonValue)
InputVideoGenerator & WithSampleRate(int value)
AWS_MEDIACONVERT_API InputVideoGenerator(Aws::Utils::Json::JsonView jsonValue)
InputVideoGenerator & WithChannels(int value)
InputVideoGenerator & WithFramerateNumerator(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
InputVideoGenerator & WithDuration(int value)
InputVideoGenerator & WithFramerateDenominator(int value)
Aws::Utils::Json::JsonValue JsonValue