AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
VideoBlock.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/VideoFormat.h>
9#include <aws/bedrock-runtime/model/VideoSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockRuntime
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKRUNTIME_API VideoBlock() = default;
36 AWS_BEDROCKRUNTIME_API VideoBlock(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API VideoBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline VideoFormat GetFormat() const { return m_format; }
46 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
47 inline void SetFormat(VideoFormat value) { m_formatHasBeenSet = true; m_format = value; }
48 inline VideoBlock& WithFormat(VideoFormat value) { SetFormat(value); return *this;}
50
52
55 inline const VideoSource& GetSource() const { return m_source; }
56 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
57 template<typename SourceT = VideoSource>
58 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
59 template<typename SourceT = VideoSource>
60 VideoBlock& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
62 private:
63
65 bool m_formatHasBeenSet = false;
66
67 VideoSource m_source;
68 bool m_sourceHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace BedrockRuntime
73} // namespace Aws
AWS_BEDROCKRUNTIME_API VideoBlock(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
VideoBlock & WithSource(SourceT &&value)
Definition VideoBlock.h:60
const VideoSource & GetSource() const
Definition VideoBlock.h:55
AWS_BEDROCKRUNTIME_API VideoBlock()=default
AWS_BEDROCKRUNTIME_API VideoBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoBlock & WithFormat(VideoFormat value)
Definition VideoBlock.h:48
void SetFormat(VideoFormat value)
Definition VideoBlock.h:47
Aws::Utils::Json::JsonValue JsonValue