AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
AacSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AacCodingMode.h>
9#include <aws/medialive/model/AacInputType.h>
10#include <aws/medialive/model/AacProfile.h>
11#include <aws/medialive/model/AacRateControlMode.h>
12#include <aws/medialive/model/AacRawFormat.h>
13#include <aws/medialive/model/AacSpec.h>
14#include <aws/medialive/model/AacVbrQuality.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIALIVE_API AacSettings() = default;
41 AWS_MEDIALIVE_API AacSettings(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API AacSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline double GetBitrate() const { return m_bitrate; }
52 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
53 inline void SetBitrate(double value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
54 inline AacSettings& WithBitrate(double value) { SetBitrate(value); return *this;}
56
58
64 inline AacCodingMode GetCodingMode() const { return m_codingMode; }
65 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
66 inline void SetCodingMode(AacCodingMode value) { m_codingModeHasBeenSet = true; m_codingMode = value; }
67 inline AacSettings& WithCodingMode(AacCodingMode value) { SetCodingMode(value); return *this;}
69
71
83 inline AacInputType GetInputType() const { return m_inputType; }
84 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
85 inline void SetInputType(AacInputType value) { m_inputTypeHasBeenSet = true; m_inputType = value; }
86 inline AacSettings& WithInputType(AacInputType value) { SetInputType(value); return *this;}
88
90
93 inline AacProfile GetProfile() const { return m_profile; }
94 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
95 inline void SetProfile(AacProfile value) { m_profileHasBeenSet = true; m_profile = value; }
96 inline AacSettings& WithProfile(AacProfile value) { SetProfile(value); return *this;}
98
100
103 inline AacRateControlMode GetRateControlMode() const { return m_rateControlMode; }
104 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
105 inline void SetRateControlMode(AacRateControlMode value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
108
110
113 inline AacRawFormat GetRawFormat() const { return m_rawFormat; }
114 inline bool RawFormatHasBeenSet() const { return m_rawFormatHasBeenSet; }
115 inline void SetRawFormat(AacRawFormat value) { m_rawFormatHasBeenSet = true; m_rawFormat = value; }
116 inline AacSettings& WithRawFormat(AacRawFormat value) { SetRawFormat(value); return *this;}
118
120
123 inline double GetSampleRate() const { return m_sampleRate; }
124 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
125 inline void SetSampleRate(double value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
126 inline AacSettings& WithSampleRate(double value) { SetSampleRate(value); return *this;}
128
130
134 inline AacSpec GetSpec() const { return m_spec; }
135 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
136 inline void SetSpec(AacSpec value) { m_specHasBeenSet = true; m_spec = value; }
137 inline AacSettings& WithSpec(AacSpec value) { SetSpec(value); return *this;}
139
141
144 inline AacVbrQuality GetVbrQuality() const { return m_vbrQuality; }
145 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
146 inline void SetVbrQuality(AacVbrQuality value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = value; }
147 inline AacSettings& WithVbrQuality(AacVbrQuality value) { SetVbrQuality(value); return *this;}
149 private:
150
151 double m_bitrate{0.0};
152 bool m_bitrateHasBeenSet = false;
153
155 bool m_codingModeHasBeenSet = false;
156
158 bool m_inputTypeHasBeenSet = false;
159
161 bool m_profileHasBeenSet = false;
162
164 bool m_rateControlModeHasBeenSet = false;
165
167 bool m_rawFormatHasBeenSet = false;
168
169 double m_sampleRate{0.0};
170 bool m_sampleRateHasBeenSet = false;
171
173 bool m_specHasBeenSet = false;
174
176 bool m_vbrQualityHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace MediaLive
181} // namespace Aws
AWS_MEDIALIVE_API AacSettings()=default
AacCodingMode GetCodingMode() const
Definition AacSettings.h:64
AacInputType GetInputType() const
Definition AacSettings.h:83
AacSettings & WithCodingMode(AacCodingMode value)
Definition AacSettings.h:67
AacSettings & WithVbrQuality(AacVbrQuality value)
void SetRateControlMode(AacRateControlMode value)
AWS_MEDIALIVE_API AacSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AacRawFormat GetRawFormat() const
void SetInputType(AacInputType value)
Definition AacSettings.h:85
AacSettings & WithBitrate(double value)
Definition AacSettings.h:54
AWS_MEDIALIVE_API AacSettings(Aws::Utils::Json::JsonView jsonValue)
AacSettings & WithRawFormat(AacRawFormat value)
AacSettings & WithRateControlMode(AacRateControlMode value)
void SetVbrQuality(AacVbrQuality value)
AacRateControlMode GetRateControlMode() const
AacSettings & WithProfile(AacProfile value)
Definition AacSettings.h:96
AacSettings & WithSampleRate(double value)
AacSettings & WithSpec(AacSpec value)
AacSettings & WithInputType(AacInputType value)
Definition AacSettings.h:86
void SetRawFormat(AacRawFormat value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProfile(AacProfile value)
Definition AacSettings.h:95
AacVbrQuality GetVbrQuality() const
void SetCodingMode(AacCodingMode value)
Definition AacSettings.h:66
Aws::Utils::Json::JsonValue JsonValue