AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DetectedProperties.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticTranscoder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICTRANSCODER_API DetectedProperties() = default;
36 AWS_ELASTICTRANSCODER_API DetectedProperties(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICTRANSCODER_API DetectedProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetWidth() const { return m_width; }
46 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
47 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
48 inline DetectedProperties& WithWidth(int value) { SetWidth(value); return *this;}
50
52
55 inline int GetHeight() const { return m_height; }
56 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
57 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
58 inline DetectedProperties& WithHeight(int value) { SetHeight(value); return *this;}
60
62
65 inline const Aws::String& GetFrameRate() const { return m_frameRate; }
66 inline bool FrameRateHasBeenSet() const { return m_frameRateHasBeenSet; }
67 template<typename FrameRateT = Aws::String>
68 void SetFrameRate(FrameRateT&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::forward<FrameRateT>(value); }
69 template<typename FrameRateT = Aws::String>
70 DetectedProperties& WithFrameRate(FrameRateT&& value) { SetFrameRate(std::forward<FrameRateT>(value)); return *this;}
72
74
77 inline long long GetFileSize() const { return m_fileSize; }
78 inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; }
79 inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; }
80 inline DetectedProperties& WithFileSize(long long value) { SetFileSize(value); return *this;}
82
84
87 inline long long GetDurationMillis() const { return m_durationMillis; }
88 inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; }
89 inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; }
90 inline DetectedProperties& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;}
92 private:
93
94 int m_width{0};
95 bool m_widthHasBeenSet = false;
96
97 int m_height{0};
98 bool m_heightHasBeenSet = false;
99
100 Aws::String m_frameRate;
101 bool m_frameRateHasBeenSet = false;
102
103 long long m_fileSize{0};
104 bool m_fileSizeHasBeenSet = false;
105
106 long long m_durationMillis{0};
107 bool m_durationMillisHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ElasticTranscoder
112} // namespace Aws
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
DetectedProperties & WithDurationMillis(long long value)
DetectedProperties & WithFileSize(long long value)
AWS_ELASTICTRANSCODER_API DetectedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API DetectedProperties()=default
DetectedProperties & WithFrameRate(FrameRateT &&value)
AWS_ELASTICTRANSCODER_API DetectedProperties(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue