AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
VideoDescription.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/VideoCodecSettings.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/VideoDescriptionRespondToAfd.h>
11#include <aws/medialive/model/VideoDescriptionScalingBehavior.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIALIVE_API VideoDescription() = default;
38 AWS_MEDIALIVE_API VideoDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const VideoCodecSettings& GetCodecSettings() const { return m_codecSettings; }
48 inline bool CodecSettingsHasBeenSet() const { return m_codecSettingsHasBeenSet; }
49 template<typename CodecSettingsT = VideoCodecSettings>
50 void SetCodecSettings(CodecSettingsT&& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = std::forward<CodecSettingsT>(value); }
51 template<typename CodecSettingsT = VideoCodecSettings>
52 VideoDescription& WithCodecSettings(CodecSettingsT&& value) { SetCodecSettings(std::forward<CodecSettingsT>(value)); return *this;}
54
56
62 inline int GetHeight() const { return m_height; }
63 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
64 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
65 inline VideoDescription& WithHeight(int value) { SetHeight(value); return *this;}
67
69
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 VideoDescription& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
98 inline VideoDescriptionRespondToAfd GetRespondToAfd() const { return m_respondToAfd; }
99 inline bool RespondToAfdHasBeenSet() const { return m_respondToAfdHasBeenSet; }
100 inline void SetRespondToAfd(VideoDescriptionRespondToAfd value) { m_respondToAfdHasBeenSet = true; m_respondToAfd = value; }
103
105
111 inline VideoDescriptionScalingBehavior GetScalingBehavior() const { return m_scalingBehavior; }
112 inline bool ScalingBehaviorHasBeenSet() const { return m_scalingBehaviorHasBeenSet; }
113 inline void SetScalingBehavior(VideoDescriptionScalingBehavior value) { m_scalingBehaviorHasBeenSet = true; m_scalingBehavior = value; }
116
118
122 inline int GetSharpness() const { return m_sharpness; }
123 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
124 inline void SetSharpness(int value) { m_sharpnessHasBeenSet = true; m_sharpness = value; }
125 inline VideoDescription& WithSharpness(int value) { SetSharpness(value); return *this;}
127
129
135 inline int GetWidth() const { return m_width; }
136 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
137 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
138 inline VideoDescription& WithWidth(int value) { SetWidth(value); return *this;}
140 private:
141
142 VideoCodecSettings m_codecSettings;
143 bool m_codecSettingsHasBeenSet = false;
144
145 int m_height{0};
146 bool m_heightHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
152 bool m_respondToAfdHasBeenSet = false;
153
155 bool m_scalingBehaviorHasBeenSet = false;
156
157 int m_sharpness{0};
158 bool m_sharpnessHasBeenSet = false;
159
160 int m_width{0};
161 bool m_widthHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace MediaLive
166} // namespace Aws
const VideoCodecSettings & GetCodecSettings() const
void SetRespondToAfd(VideoDescriptionRespondToAfd value)
VideoDescription & WithScalingBehavior(VideoDescriptionScalingBehavior value)
void SetCodecSettings(CodecSettingsT &&value)
VideoDescription & WithHeight(int value)
AWS_MEDIALIVE_API VideoDescription()=default
VideoDescription & WithSharpness(int value)
VideoDescription & WithWidth(int value)
VideoDescription & WithRespondToAfd(VideoDescriptionRespondToAfd value)
void SetScalingBehavior(VideoDescriptionScalingBehavior value)
VideoDescriptionRespondToAfd GetRespondToAfd() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
VideoDescriptionScalingBehavior GetScalingBehavior() const
const Aws::String & GetName() const
AWS_MEDIALIVE_API VideoDescription(Aws::Utils::Json::JsonView jsonValue)
VideoDescription & WithCodecSettings(CodecSettingsT &&value)
VideoDescription & WithName(NameT &&value)
AWS_MEDIALIVE_API VideoDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue