AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ImageBlockStart.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ImageFormat.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKRUNTIME_API ImageBlockStart() = default;
33 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline ImageFormat GetFormat() const { return m_format; }
41 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
42 inline void SetFormat(ImageFormat value) {
43 m_formatHasBeenSet = true;
44 m_format = value;
45 }
47 SetFormat(value);
48 return *this;
49 }
51 private:
53 bool m_formatHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockRuntime
58} // namespace Aws
AWS_BEDROCKRUNTIME_API ImageBlockStart(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ImageBlockStart()=default
ImageBlockStart & WithFormat(ImageFormat value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ImageBlockStart & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue