AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VideoSource.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/S3Location.h>
9#include <aws/core/utils/Array.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockRuntime {
21namespace Model {
22
31 public:
32 AWS_BEDROCKRUNTIME_API VideoSource() = default;
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::ByteBuffer& GetBytes() const { return m_bytes; }
42 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
43 template <typename BytesT = Aws::Utils::ByteBuffer>
44 void SetBytes(BytesT&& value) {
45 m_bytesHasBeenSet = true;
46 m_bytes = std::forward<BytesT>(value);
47 }
48 template <typename BytesT = Aws::Utils::ByteBuffer>
50 SetBytes(std::forward<BytesT>(value));
51 return *this;
52 }
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) {
66 m_s3LocationHasBeenSet = true;
67 m_s3Location = std::forward<S3LocationT>(value);
68 }
69 template <typename S3LocationT = S3Location>
71 SetS3Location(std::forward<S3LocationT>(value));
72 return *this;
73 }
75 private:
76 Aws::Utils::ByteBuffer m_bytes{};
77
78 S3Location m_s3Location;
79 bool m_bytesHasBeenSet = false;
80 bool m_s3LocationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace BedrockRuntime
85} // 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:49
AWS_BEDROCKRUNTIME_API VideoSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::ByteBuffer & GetBytes() const
Definition VideoSource.h:41
const S3Location & GetS3Location() const
Definition VideoSource.h:62
AWS_BEDROCKRUNTIME_API VideoSource()=default
VideoSource & WithS3Location(S3LocationT &&value)
Definition VideoSource.h:70
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue