AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
VideoSource.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/bedrock-runtime/model/S3Location.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
35 {
36 public:
37 AWS_BEDROCKRUNTIME_API VideoSource() = default;
38 AWS_BEDROCKRUNTIME_API VideoSource(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKRUNTIME_API VideoSource& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::ByteBuffer& GetBytes() const { return m_bytes; }
48 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
49 template<typename BytesT = Aws::Utils::ByteBuffer>
50 void SetBytes(BytesT&& value) { m_bytesHasBeenSet = true; m_bytes = std::forward<BytesT>(value); }
51 template<typename BytesT = Aws::Utils::ByteBuffer>
52 VideoSource& WithBytes(BytesT&& value) { SetBytes(std::forward<BytesT>(value)); return *this;}
54
56
62 inline const S3Location& GetS3Location() const { return m_s3Location; }
63 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
64 template<typename S3LocationT = S3Location>
65 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
66 template<typename S3LocationT = S3Location>
67 VideoSource& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(value)); return *this;}
69 private:
70
71 Aws::Utils::ByteBuffer m_bytes{};
72 bool m_bytesHasBeenSet = false;
73
74 S3Location m_s3Location;
75 bool m_s3LocationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace BedrockRuntime
80} // namespace Aws
void SetS3Location(S3LocationT &&value)
Definition VideoSource.h:65
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API VideoSource & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoSource & WithBytes(BytesT &&value)
Definition VideoSource.h:52
AWS_BEDROCKRUNTIME_API VideoSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::ByteBuffer & GetBytes() const
Definition VideoSource.h:47
const S3Location & GetS3Location() const
Definition VideoSource.h:62
AWS_BEDROCKRUNTIME_API VideoSource()=default
VideoSource & WithS3Location(S3LocationT &&value)
Definition VideoSource.h:67
Aws::Utils::Json::JsonValue JsonValue