AWS SDK for C++  1.9.106
AWS SDK for C++
ColorCorrector.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaConvert
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline int GetBrightness() const{ return m_brightness; }
46 
50  inline bool BrightnessHasBeenSet() const { return m_brightnessHasBeenSet; }
51 
55  inline void SetBrightness(int value) { m_brightnessHasBeenSet = true; m_brightness = value; }
56 
60  inline ColorCorrector& WithBrightness(int value) { SetBrightness(value); return *this;}
61 
62 
71  inline const ColorSpaceConversion& GetColorSpaceConversion() const{ return m_colorSpaceConversion; }
72 
81  inline bool ColorSpaceConversionHasBeenSet() const { return m_colorSpaceConversionHasBeenSet; }
82 
91  inline void SetColorSpaceConversion(const ColorSpaceConversion& value) { m_colorSpaceConversionHasBeenSet = true; m_colorSpaceConversion = value; }
92 
101  inline void SetColorSpaceConversion(ColorSpaceConversion&& value) { m_colorSpaceConversionHasBeenSet = true; m_colorSpaceConversion = std::move(value); }
102 
111  inline ColorCorrector& WithColorSpaceConversion(const ColorSpaceConversion& value) { SetColorSpaceConversion(value); return *this;}
112 
121  inline ColorCorrector& WithColorSpaceConversion(ColorSpaceConversion&& value) { SetColorSpaceConversion(std::move(value)); return *this;}
122 
123 
127  inline int GetContrast() const{ return m_contrast; }
128 
132  inline bool ContrastHasBeenSet() const { return m_contrastHasBeenSet; }
133 
137  inline void SetContrast(int value) { m_contrastHasBeenSet = true; m_contrast = value; }
138 
142  inline ColorCorrector& WithContrast(int value) { SetContrast(value); return *this;}
143 
144 
159  inline const Hdr10Metadata& GetHdr10Metadata() const{ return m_hdr10Metadata; }
160 
175  inline bool Hdr10MetadataHasBeenSet() const { return m_hdr10MetadataHasBeenSet; }
176 
191  inline void SetHdr10Metadata(const Hdr10Metadata& value) { m_hdr10MetadataHasBeenSet = true; m_hdr10Metadata = value; }
192 
207  inline void SetHdr10Metadata(Hdr10Metadata&& value) { m_hdr10MetadataHasBeenSet = true; m_hdr10Metadata = std::move(value); }
208 
223  inline ColorCorrector& WithHdr10Metadata(const Hdr10Metadata& value) { SetHdr10Metadata(value); return *this;}
224 
239  inline ColorCorrector& WithHdr10Metadata(Hdr10Metadata&& value) { SetHdr10Metadata(std::move(value)); return *this;}
240 
241 
245  inline int GetHue() const{ return m_hue; }
246 
250  inline bool HueHasBeenSet() const { return m_hueHasBeenSet; }
251 
255  inline void SetHue(int value) { m_hueHasBeenSet = true; m_hue = value; }
256 
260  inline ColorCorrector& WithHue(int value) { SetHue(value); return *this;}
261 
262 
275  inline const SampleRangeConversion& GetSampleRangeConversion() const{ return m_sampleRangeConversion; }
276 
289  inline bool SampleRangeConversionHasBeenSet() const { return m_sampleRangeConversionHasBeenSet; }
290 
303  inline void SetSampleRangeConversion(const SampleRangeConversion& value) { m_sampleRangeConversionHasBeenSet = true; m_sampleRangeConversion = value; }
304 
317  inline void SetSampleRangeConversion(SampleRangeConversion&& value) { m_sampleRangeConversionHasBeenSet = true; m_sampleRangeConversion = std::move(value); }
318 
331  inline ColorCorrector& WithSampleRangeConversion(const SampleRangeConversion& value) { SetSampleRangeConversion(value); return *this;}
332 
345  inline ColorCorrector& WithSampleRangeConversion(SampleRangeConversion&& value) { SetSampleRangeConversion(std::move(value)); return *this;}
346 
347 
351  inline int GetSaturation() const{ return m_saturation; }
352 
356  inline bool SaturationHasBeenSet() const { return m_saturationHasBeenSet; }
357 
361  inline void SetSaturation(int value) { m_saturationHasBeenSet = true; m_saturation = value; }
362 
366  inline ColorCorrector& WithSaturation(int value) { SetSaturation(value); return *this;}
367 
368  private:
369 
370  int m_brightness;
371  bool m_brightnessHasBeenSet;
372 
373  ColorSpaceConversion m_colorSpaceConversion;
374  bool m_colorSpaceConversionHasBeenSet;
375 
376  int m_contrast;
377  bool m_contrastHasBeenSet;
378 
379  Hdr10Metadata m_hdr10Metadata;
380  bool m_hdr10MetadataHasBeenSet;
381 
382  int m_hue;
383  bool m_hueHasBeenSet;
384 
385  SampleRangeConversion m_sampleRangeConversion;
386  bool m_sampleRangeConversionHasBeenSet;
387 
388  int m_saturation;
389  bool m_saturationHasBeenSet;
390  };
391 
392 } // namespace Model
393 } // namespace MediaConvert
394 } // namespace Aws
ColorSpaceConversion.h
Aws::MediaConvert::Model::ColorCorrector::SetColorSpaceConversion
void SetColorSpaceConversion(const ColorSpaceConversion &value)
Definition: ColorCorrector.h:91
Aws::MediaConvert::Model::ColorCorrector::GetContrast
int GetContrast() const
Definition: ColorCorrector.h:127
Aws::MediaConvert::Model::SampleRangeConversion
SampleRangeConversion
Definition: SampleRangeConversion.h:17
Aws::MediaConvert::Model::ColorCorrector::WithBrightness
ColorCorrector & WithBrightness(int value)
Definition: ColorCorrector.h:60
Aws::MediaConvert::Model::ColorCorrector::GetHue
int GetHue() const
Definition: ColorCorrector.h:245
Aws::MediaConvert::Model::ColorCorrector::GetBrightness
int GetBrightness() const
Definition: ColorCorrector.h:45
Aws::MediaConvert::Model::ColorCorrector::WithSampleRangeConversion
ColorCorrector & WithSampleRangeConversion(const SampleRangeConversion &value)
Definition: ColorCorrector.h:331
Hdr10Metadata.h
Aws::MediaConvert::Model::ColorCorrector::SetBrightness
void SetBrightness(int value)
Definition: ColorCorrector.h:55
Aws::MediaConvert::Model::ColorCorrector::Hdr10MetadataHasBeenSet
bool Hdr10MetadataHasBeenSet() const
Definition: ColorCorrector.h:175
Aws::MediaConvert::Model::ColorCorrector::SetHue
void SetHue(int value)
Definition: ColorCorrector.h:255
Aws::MediaConvert::Model::ColorSpaceConversion
ColorSpaceConversion
Definition: ColorSpaceConversion.h:17
Aws::MediaConvert::Model::ColorCorrector::WithHdr10Metadata
ColorCorrector & WithHdr10Metadata(const Hdr10Metadata &value)
Definition: ColorCorrector.h:223
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ColorCorrector::ColorSpaceConversionHasBeenSet
bool ColorSpaceConversionHasBeenSet() const
Definition: ColorCorrector.h:81
Aws::MediaConvert::Model::ColorCorrector::GetSaturation
int GetSaturation() const
Definition: ColorCorrector.h:351
Aws::MediaConvert::Model::ColorCorrector::SetHdr10Metadata
void SetHdr10Metadata(Hdr10Metadata &&value)
Definition: ColorCorrector.h:207
Aws::MediaConvert::Model::ColorCorrector::GetSampleRangeConversion
const SampleRangeConversion & GetSampleRangeConversion() const
Definition: ColorCorrector.h:275
Aws::MediaConvert::Model::ColorCorrector::BrightnessHasBeenSet
bool BrightnessHasBeenSet() const
Definition: ColorCorrector.h:50
Aws::MediaConvert::Model::ColorCorrector::WithColorSpaceConversion
ColorCorrector & WithColorSpaceConversion(ColorSpaceConversion &&value)
Definition: ColorCorrector.h:121
Aws::MediaConvert::Model::ColorCorrector::SetSampleRangeConversion
void SetSampleRangeConversion(SampleRangeConversion &&value)
Definition: ColorCorrector.h:317
Aws::MediaConvert::Model::ColorCorrector::SetSampleRangeConversion
void SetSampleRangeConversion(const SampleRangeConversion &value)
Definition: ColorCorrector.h:303
Aws::MediaConvert::Model::ColorCorrector::SetSaturation
void SetSaturation(int value)
Definition: ColorCorrector.h:361
Aws::MediaConvert::Model::ColorCorrector::ColorCorrector
ColorCorrector()
Aws::MediaConvert::Model::ColorCorrector::SetColorSpaceConversion
void SetColorSpaceConversion(ColorSpaceConversion &&value)
Definition: ColorCorrector.h:101
Aws::MediaConvert::Model::ColorCorrector::HueHasBeenSet
bool HueHasBeenSet() const
Definition: ColorCorrector.h:250
Aws::MediaConvert::Model::ColorCorrector
Definition: ColorCorrector.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::ColorCorrector::WithHdr10Metadata
ColorCorrector & WithHdr10Metadata(Hdr10Metadata &&value)
Definition: ColorCorrector.h:239
Aws::MediaConvert::Model::ColorCorrector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::ColorCorrector::WithHue
ColorCorrector & WithHue(int value)
Definition: ColorCorrector.h:260
Aws::MediaConvert::Model::ColorCorrector::ContrastHasBeenSet
bool ContrastHasBeenSet() const
Definition: ColorCorrector.h:132
Aws::MediaConvert::Model::ColorCorrector::WithSaturation
ColorCorrector & WithSaturation(int value)
Definition: ColorCorrector.h:366
Aws::MediaConvert::Model::ColorCorrector::operator=
ColorCorrector & operator=(Aws::Utils::Json::JsonView jsonValue)
SampleRangeConversion.h
Aws::MediaConvert::Model::ColorCorrector::GetColorSpaceConversion
const ColorSpaceConversion & GetColorSpaceConversion() const
Definition: ColorCorrector.h:71
Aws::MediaConvert::Model::ColorCorrector::SampleRangeConversionHasBeenSet
bool SampleRangeConversionHasBeenSet() const
Definition: ColorCorrector.h:289
Aws::MediaConvert::Model::ColorCorrector::WithColorSpaceConversion
ColorCorrector & WithColorSpaceConversion(const ColorSpaceConversion &value)
Definition: ColorCorrector.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ColorCorrector::WithSampleRangeConversion
ColorCorrector & WithSampleRangeConversion(SampleRangeConversion &&value)
Definition: ColorCorrector.h:345
Aws::MediaConvert::Model::ColorCorrector::SetContrast
void SetContrast(int value)
Definition: ColorCorrector.h:137
Aws::MediaConvert::Model::ColorCorrector::ColorCorrector
ColorCorrector(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Hdr10Metadata
Definition: Hdr10Metadata.h:34
Aws::MediaConvert::Model::ColorCorrector::SetHdr10Metadata
void SetHdr10Metadata(const Hdr10Metadata &value)
Definition: ColorCorrector.h:191
Aws::MediaConvert::Model::ColorCorrector::GetHdr10Metadata
const Hdr10Metadata & GetHdr10Metadata() const
Definition: ColorCorrector.h:159
Aws::MediaConvert::Model::ColorCorrector::SaturationHasBeenSet
bool SaturationHasBeenSet() const
Definition: ColorCorrector.h:356
Aws::MediaConvert::Model::ColorCorrector::WithContrast
ColorCorrector & WithContrast(int value)
Definition: ColorCorrector.h:142