/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The detected properties of the input file. Elastic Transcoder identifies
* these values from the input file.See Also:
AWS
* API Reference
The detected width of the input file, in pixels.
*/ inline int GetWidth() const{ return m_width; } /** *The detected width of the input file, in pixels.
*/ inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; } /** *The detected width of the input file, in pixels.
*/ inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; } /** *The detected width of the input file, in pixels.
*/ inline DetectedProperties& WithWidth(int value) { SetWidth(value); return *this;} /** *The detected height of the input file, in pixels.
*/ inline int GetHeight() const{ return m_height; } /** *The detected height of the input file, in pixels.
*/ inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; } /** *The detected height of the input file, in pixels.
*/ inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; } /** *The detected height of the input file, in pixels.
*/ inline DetectedProperties& WithHeight(int value) { SetHeight(value); return *this;} /** *The detected frame rate of the input file, in frames per second.
*/ inline const Aws::String& GetFrameRate() const{ return m_frameRate; } /** *The detected frame rate of the input file, in frames per second.
*/ inline bool FrameRateHasBeenSet() const { return m_frameRateHasBeenSet; } /** *The detected frame rate of the input file, in frames per second.
*/ inline void SetFrameRate(const Aws::String& value) { m_frameRateHasBeenSet = true; m_frameRate = value; } /** *The detected frame rate of the input file, in frames per second.
*/ inline void SetFrameRate(Aws::String&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::move(value); } /** *The detected frame rate of the input file, in frames per second.
*/ inline void SetFrameRate(const char* value) { m_frameRateHasBeenSet = true; m_frameRate.assign(value); } /** *The detected frame rate of the input file, in frames per second.
*/ inline DetectedProperties& WithFrameRate(const Aws::String& value) { SetFrameRate(value); return *this;} /** *The detected frame rate of the input file, in frames per second.
*/ inline DetectedProperties& WithFrameRate(Aws::String&& value) { SetFrameRate(std::move(value)); return *this;} /** *The detected frame rate of the input file, in frames per second.
*/ inline DetectedProperties& WithFrameRate(const char* value) { SetFrameRate(value); return *this;} /** *The detected file size of the input file, in bytes.
*/ inline long long GetFileSize() const{ return m_fileSize; } /** *The detected file size of the input file, in bytes.
*/ inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; } /** *The detected file size of the input file, in bytes.
*/ inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; } /** *The detected file size of the input file, in bytes.
*/ inline DetectedProperties& WithFileSize(long long value) { SetFileSize(value); return *this;} /** *The detected duration of the input file, in milliseconds.
*/ inline long long GetDurationMillis() const{ return m_durationMillis; } /** *The detected duration of the input file, in milliseconds.
*/ inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; } /** *The detected duration of the input file, in milliseconds.
*/ inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; } /** *The detected duration of the input file, in milliseconds.
*/ inline DetectedProperties& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;} private: int m_width; bool m_widthHasBeenSet = false; int m_height; bool m_heightHasBeenSet = false; Aws::String m_frameRate; bool m_frameRateHasBeenSet = false; long long m_fileSize; bool m_fileSizeHasBeenSet = false; long long m_durationMillis; bool m_durationMillisHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws