AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InputImage.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/InputImageFormat.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 BedrockAgentRuntime {
21namespace Model {
22
34 public:
35 AWS_BEDROCKAGENTRUNTIME_API InputImage() = default;
36 AWS_BEDROCKAGENTRUNTIME_API InputImage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline InputImageFormat GetFormat() const { return m_format; }
46 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
47 inline void SetFormat(InputImageFormat value) {
48 m_formatHasBeenSet = true;
49 m_format = value;
50 }
52 SetFormat(value);
53 return *this;
54 }
56
58
62 inline const Aws::Utils::CryptoBuffer& GetInlineContent() const { return m_inlineContent; }
63 inline bool InlineContentHasBeenSet() const { return m_inlineContentHasBeenSet; }
64 template <typename InlineContentT = Aws::Utils::CryptoBuffer>
66 m_inlineContentHasBeenSet = true;
67 m_inlineContent = std::forward<InlineContentT>(value);
68 }
69 template <typename InlineContentT = Aws::Utils::CryptoBuffer>
71 SetInlineContent(std::forward<InlineContentT>(value));
72 return *this;
73 }
75 private:
77
78 Aws::Utils::CryptoBuffer m_inlineContent{};
79 bool m_formatHasBeenSet = false;
80 bool m_inlineContentHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace BedrockAgentRuntime
85} // namespace Aws
InputImage & WithInlineContent(InlineContentT &&value)
Definition InputImage.h:70
InputImage & WithFormat(InputImageFormat value)
Definition InputImage.h:51
void SetFormat(InputImageFormat value)
Definition InputImage.h:47
const Aws::Utils::CryptoBuffer & GetInlineContent() const
Definition InputImage.h:62
AWS_BEDROCKAGENTRUNTIME_API InputImage()=default
void SetInlineContent(InlineContentT &&value)
Definition InputImage.h:65
AWS_BEDROCKAGENTRUNTIME_API InputImage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API InputImage(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue