AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCodecSettings(const VideoCodecSettings& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = value; }
50 inline void SetCodecSettings(VideoCodecSettings&& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = std::move(value); }
51 inline VideoDescription& WithCodecSettings(const VideoCodecSettings& value) { SetCodecSettings(value); return *this;}
52 inline VideoDescription& WithCodecSettings(VideoCodecSettings&& value) { SetCodecSettings(std::move(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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline VideoDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline VideoDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline VideoDescription& WithName(const char* value) { SetName(value); return *this;}
83
85
100 inline const VideoDescriptionRespondToAfd& GetRespondToAfd() const{ return m_respondToAfd; }
101 inline bool RespondToAfdHasBeenSet() const { return m_respondToAfdHasBeenSet; }
102 inline void SetRespondToAfd(const VideoDescriptionRespondToAfd& value) { m_respondToAfdHasBeenSet = true; m_respondToAfd = value; }
103 inline void SetRespondToAfd(VideoDescriptionRespondToAfd&& value) { m_respondToAfdHasBeenSet = true; m_respondToAfd = std::move(value); }
105 inline VideoDescription& WithRespondToAfd(VideoDescriptionRespondToAfd&& value) { SetRespondToAfd(std::move(value)); return *this;}
107
109
115 inline const VideoDescriptionScalingBehavior& GetScalingBehavior() const{ return m_scalingBehavior; }
116 inline bool ScalingBehaviorHasBeenSet() const { return m_scalingBehaviorHasBeenSet; }
117 inline void SetScalingBehavior(const VideoDescriptionScalingBehavior& value) { m_scalingBehaviorHasBeenSet = true; m_scalingBehavior = value; }
118 inline void SetScalingBehavior(VideoDescriptionScalingBehavior&& value) { m_scalingBehaviorHasBeenSet = true; m_scalingBehavior = std::move(value); }
122
124
128 inline int GetSharpness() const{ return m_sharpness; }
129 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
130 inline void SetSharpness(int value) { m_sharpnessHasBeenSet = true; m_sharpness = value; }
131 inline VideoDescription& WithSharpness(int value) { SetSharpness(value); return *this;}
133
135
141 inline int GetWidth() const{ return m_width; }
142 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
143 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
144 inline VideoDescription& WithWidth(int value) { SetWidth(value); return *this;}
146 private:
147
148 VideoCodecSettings m_codecSettings;
149 bool m_codecSettingsHasBeenSet = false;
150
151 int m_height;
152 bool m_heightHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 VideoDescriptionRespondToAfd m_respondToAfd;
158 bool m_respondToAfdHasBeenSet = false;
159
160 VideoDescriptionScalingBehavior m_scalingBehavior;
161 bool m_scalingBehaviorHasBeenSet = false;
162
163 int m_sharpness;
164 bool m_sharpnessHasBeenSet = false;
165
166 int m_width;
167 bool m_widthHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace MediaLive
172} // namespace Aws
const VideoCodecSettings & GetCodecSettings() const
void SetCodecSettings(VideoCodecSettings &&value)
VideoDescription & WithCodecSettings(VideoCodecSettings &&value)
void SetScalingBehavior(const VideoDescriptionScalingBehavior &value)
VideoDescription & WithScalingBehavior(const VideoDescriptionScalingBehavior &value)
VideoDescription & WithHeight(int value)
void SetRespondToAfd(const VideoDescriptionRespondToAfd &value)
void SetScalingBehavior(VideoDescriptionScalingBehavior &&value)
VideoDescription & WithSharpness(int value)
VideoDescription & WithName(const Aws::String &value)
VideoDescription & WithName(const char *value)
void SetCodecSettings(const VideoCodecSettings &value)
VideoDescription & WithWidth(int value)
const VideoDescriptionRespondToAfd & GetRespondToAfd() const
VideoDescription & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const VideoDescriptionScalingBehavior & GetScalingBehavior() const
VideoDescription & WithRespondToAfd(const VideoDescriptionRespondToAfd &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRespondToAfd(VideoDescriptionRespondToAfd &&value)
VideoDescription & WithCodecSettings(const VideoCodecSettings &value)
VideoDescription & WithScalingBehavior(VideoDescriptionScalingBehavior &&value)
const Aws::String & GetName() const
AWS_MEDIALIVE_API VideoDescription(Aws::Utils::Json::JsonView jsonValue)
VideoDescription & WithRespondToAfd(VideoDescriptionRespondToAfd &&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