AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputDetail.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/VideoDetail.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 MediaConvert
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIACONVERT_API OutputDetail();
35 AWS_MEDIACONVERT_API OutputDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API OutputDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetDurationInMs() const{ return m_durationInMs; }
45 inline bool DurationInMsHasBeenSet() const { return m_durationInMsHasBeenSet; }
46 inline void SetDurationInMs(int value) { m_durationInMsHasBeenSet = true; m_durationInMs = value; }
47 inline OutputDetail& WithDurationInMs(int value) { SetDurationInMs(value); return *this;}
49
51
54 inline const VideoDetail& GetVideoDetails() const{ return m_videoDetails; }
55 inline bool VideoDetailsHasBeenSet() const { return m_videoDetailsHasBeenSet; }
56 inline void SetVideoDetails(const VideoDetail& value) { m_videoDetailsHasBeenSet = true; m_videoDetails = value; }
57 inline void SetVideoDetails(VideoDetail&& value) { m_videoDetailsHasBeenSet = true; m_videoDetails = std::move(value); }
58 inline OutputDetail& WithVideoDetails(const VideoDetail& value) { SetVideoDetails(value); return *this;}
59 inline OutputDetail& WithVideoDetails(VideoDetail&& value) { SetVideoDetails(std::move(value)); return *this;}
61 private:
62
63 int m_durationInMs;
64 bool m_durationInMsHasBeenSet = false;
65
66 VideoDetail m_videoDetails;
67 bool m_videoDetailsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace MediaConvert
72} // namespace Aws
const VideoDetail & GetVideoDetails() const
OutputDetail & WithDurationInMs(int value)
OutputDetail & WithVideoDetails(VideoDetail &&value)
void SetVideoDetails(VideoDetail &&value)
OutputDetail & WithVideoDetails(const VideoDetail &value)
AWS_MEDIACONVERT_API OutputDetail()
AWS_MEDIACONVERT_API OutputDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API OutputDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVideoDetails(const VideoDetail &value)
Aws::Utils::Json::JsonValue JsonValue