7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ImageFormat.h>
9#include <aws/bedrock-agent-runtime/model/ImageSource.h>
20namespace BedrockAgentRuntime {
42 m_formatHasBeenSet =
true;
57 template <
typename SourceT = ImageSource>
59 m_sourceHasBeenSet =
true;
60 m_source = std::forward<SourceT>(value);
62 template <
typename SourceT = ImageSource>
72 bool m_formatHasBeenSet =
false;
73 bool m_sourceHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API ImageBlock(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(ImageFormat value)
bool SourceHasBeenSet() const
ImageFormat GetFormat() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ImageBlock & WithSource(SourceT &&value)
const ImageSource & GetSource() const
AWS_BEDROCKAGENTRUNTIME_API ImageBlock()=default
void SetSource(SourceT &&value)
AWS_BEDROCKAGENTRUNTIME_API ImageBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FormatHasBeenSet() const
ImageBlock & WithFormat(ImageFormat value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue