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>
22namespace BedrockAgentRuntime
57 template<
typename SourceT = ImageSource>
58 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
59 template<
typename SourceT = ImageSource>
65 bool m_formatHasBeenSet =
false;
68 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)
Aws::Utils::Json::JsonValue JsonValue