AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFrameRate(const Aws::String& value) { m_frameRateHasBeenSet = true; m_frameRate = value; }
68 inline void SetFrameRate(Aws::String&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::move(value); }
69 inline void SetFrameRate(const char* value) { m_frameRateHasBeenSet = true; m_frameRate.assign(value); }
70 inline DetectedProperties& WithFrameRate(const Aws::String& value) { SetFrameRate(value); return *this;}
71 inline DetectedProperties& WithFrameRate(Aws::String&& value) { SetFrameRate(std::move(value)); return *this;}
72 inline DetectedProperties& WithFrameRate(const char* value) { SetFrameRate(value); return *this;}
74
76
79 inline long long GetFileSize() const{ return m_fileSize; }
80 inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; }
81 inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; }
82 inline DetectedProperties& WithFileSize(long long value) { SetFileSize(value); return *this;}
84
86
89 inline long long GetDurationMillis() const{ return m_durationMillis; }
90 inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; }
91 inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; }
92 inline DetectedProperties& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;}
94 private:
95
96 int m_width;
97 bool m_widthHasBeenSet = false;
98
99 int m_height;
100 bool m_heightHasBeenSet = false;
101
102 Aws::String m_frameRate;
103 bool m_frameRateHasBeenSet = false;
104
105 long long m_fileSize;
106 bool m_fileSizeHasBeenSet = false;
107
108 long long m_durationMillis;
109 bool m_durationMillisHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ElasticTranscoder
114} // namespace Aws
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
DetectedProperties & WithDurationMillis(long long value)
DetectedProperties & WithFrameRate(const char *value)
DetectedProperties & WithFileSize(long long value)
AWS_ELASTICTRANSCODER_API DetectedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API DetectedProperties(Aws::Utils::Json::JsonView jsonValue)
DetectedProperties & WithFrameRate(const Aws::String &value)
AWS_ELASTICTRANSCODER_API DetectedProperties()
DetectedProperties & WithFrameRate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue