AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AacCodingMode& GetCodingMode() const{ return m_codingMode; }
65 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
66 inline void SetCodingMode(const AacCodingMode& value) { m_codingModeHasBeenSet = true; m_codingMode = value; }
67 inline void SetCodingMode(AacCodingMode&& value) { m_codingModeHasBeenSet = true; m_codingMode = std::move(value); }
68 inline AacSettings& WithCodingMode(const AacCodingMode& value) { SetCodingMode(value); return *this;}
69 inline AacSettings& WithCodingMode(AacCodingMode&& value) { SetCodingMode(std::move(value)); return *this;}
71
73
85 inline const AacInputType& GetInputType() const{ return m_inputType; }
86 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
87 inline void SetInputType(const AacInputType& value) { m_inputTypeHasBeenSet = true; m_inputType = value; }
88 inline void SetInputType(AacInputType&& value) { m_inputTypeHasBeenSet = true; m_inputType = std::move(value); }
89 inline AacSettings& WithInputType(const AacInputType& value) { SetInputType(value); return *this;}
90 inline AacSettings& WithInputType(AacInputType&& value) { SetInputType(std::move(value)); return *this;}
92
94
97 inline const AacProfile& GetProfile() const{ return m_profile; }
98 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
99 inline void SetProfile(const AacProfile& value) { m_profileHasBeenSet = true; m_profile = value; }
100 inline void SetProfile(AacProfile&& value) { m_profileHasBeenSet = true; m_profile = std::move(value); }
101 inline AacSettings& WithProfile(const AacProfile& value) { SetProfile(value); return *this;}
102 inline AacSettings& WithProfile(AacProfile&& value) { SetProfile(std::move(value)); return *this;}
104
106
109 inline const AacRateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
110 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
111 inline void SetRateControlMode(const AacRateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
112 inline void SetRateControlMode(AacRateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
113 inline AacSettings& WithRateControlMode(const AacRateControlMode& value) { SetRateControlMode(value); return *this;}
114 inline AacSettings& WithRateControlMode(AacRateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
116
118
121 inline const AacRawFormat& GetRawFormat() const{ return m_rawFormat; }
122 inline bool RawFormatHasBeenSet() const { return m_rawFormatHasBeenSet; }
123 inline void SetRawFormat(const AacRawFormat& value) { m_rawFormatHasBeenSet = true; m_rawFormat = value; }
124 inline void SetRawFormat(AacRawFormat&& value) { m_rawFormatHasBeenSet = true; m_rawFormat = std::move(value); }
125 inline AacSettings& WithRawFormat(const AacRawFormat& value) { SetRawFormat(value); return *this;}
126 inline AacSettings& WithRawFormat(AacRawFormat&& value) { SetRawFormat(std::move(value)); return *this;}
128
130
133 inline double GetSampleRate() const{ return m_sampleRate; }
134 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
135 inline void SetSampleRate(double value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
136 inline AacSettings& WithSampleRate(double value) { SetSampleRate(value); return *this;}
138
140
144 inline const AacSpec& GetSpec() const{ return m_spec; }
145 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
146 inline void SetSpec(const AacSpec& value) { m_specHasBeenSet = true; m_spec = value; }
147 inline void SetSpec(AacSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
148 inline AacSettings& WithSpec(const AacSpec& value) { SetSpec(value); return *this;}
149 inline AacSettings& WithSpec(AacSpec&& value) { SetSpec(std::move(value)); return *this;}
151
153
156 inline const AacVbrQuality& GetVbrQuality() const{ return m_vbrQuality; }
157 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
158 inline void SetVbrQuality(const AacVbrQuality& value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = value; }
159 inline void SetVbrQuality(AacVbrQuality&& value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = std::move(value); }
160 inline AacSettings& WithVbrQuality(const AacVbrQuality& value) { SetVbrQuality(value); return *this;}
161 inline AacSettings& WithVbrQuality(AacVbrQuality&& value) { SetVbrQuality(std::move(value)); return *this;}
163 private:
164
165 double m_bitrate;
166 bool m_bitrateHasBeenSet = false;
167
168 AacCodingMode m_codingMode;
169 bool m_codingModeHasBeenSet = false;
170
171 AacInputType m_inputType;
172 bool m_inputTypeHasBeenSet = false;
173
174 AacProfile m_profile;
175 bool m_profileHasBeenSet = false;
176
177 AacRateControlMode m_rateControlMode;
178 bool m_rateControlModeHasBeenSet = false;
179
180 AacRawFormat m_rawFormat;
181 bool m_rawFormatHasBeenSet = false;
182
183 double m_sampleRate;
184 bool m_sampleRateHasBeenSet = false;
185
186 AacSpec m_spec;
187 bool m_specHasBeenSet = false;
188
189 AacVbrQuality m_vbrQuality;
190 bool m_vbrQualityHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace MediaLive
195} // namespace Aws
void SetRateControlMode(const AacRateControlMode &value)
AacSettings & WithSpec(AacSpec &&value)
AacSettings & WithRawFormat(const AacRawFormat &value)
void SetInputType(AacInputType &&value)
Definition AacSettings.h:88
const AacSpec & GetSpec() const
AacSettings & WithCodingMode(AacCodingMode &&value)
Definition AacSettings.h:69
AacSettings & WithCodingMode(const AacCodingMode &value)
Definition AacSettings.h:68
AacSettings & WithVbrQuality(AacVbrQuality &&value)
const AacInputType & GetInputType() const
Definition AacSettings.h:85
void SetCodingMode(const AacCodingMode &value)
Definition AacSettings.h:66
AWS_MEDIALIVE_API AacSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AacSettings & WithRawFormat(AacRawFormat &&value)
void SetSpec(AacSpec &&value)
AacSettings & WithInputType(AacInputType &&value)
Definition AacSettings.h:90
AacSettings & WithBitrate(double value)
Definition AacSettings.h:54
const AacVbrQuality & GetVbrQuality() const
void SetProfile(const AacProfile &value)
Definition AacSettings.h:99
AacSettings & WithVbrQuality(const AacVbrQuality &value)
void SetRateControlMode(AacRateControlMode &&value)
const AacRateControlMode & GetRateControlMode() const
AWS_MEDIALIVE_API AacSettings(Aws::Utils::Json::JsonView jsonValue)
void SetRawFormat(AacRawFormat &&value)
void SetProfile(AacProfile &&value)
AacSettings & WithSpec(const AacSpec &value)
AacSettings & WithSampleRate(double value)
void SetVbrQuality(const AacVbrQuality &value)
void SetInputType(const AacInputType &value)
Definition AacSettings.h:87
AacSettings & WithProfile(const AacProfile &value)
AacSettings & WithProfile(AacProfile &&value)
const AacProfile & GetProfile() const
Definition AacSettings.h:97
const AacRawFormat & GetRawFormat() const
const AacCodingMode & GetCodingMode() const
Definition AacSettings.h:64
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVbrQuality(AacVbrQuality &&value)
void SetRawFormat(const AacRawFormat &value)
AacSettings & WithInputType(const AacInputType &value)
Definition AacSettings.h:89
AacSettings & WithRateControlMode(AacRateControlMode &&value)
void SetCodingMode(AacCodingMode &&value)
Definition AacSettings.h:67
void SetSpec(const AacSpec &value)
AacSettings & WithRateControlMode(const AacRateControlMode &value)
Aws::Utils::Json::JsonValue JsonValue