7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ImageFormat.h>
9#include <aws/bedrock-runtime/model/ImageSource.h>
22namespace BedrockRuntime
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;
bool SourceHasBeenSet() const
AWS_BEDROCKRUNTIME_API ImageBlock(Aws::Utils::Json::JsonView jsonValue)
const ImageSource & GetSource() const
AWS_BEDROCKRUNTIME_API ImageBlock()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ImageFormat GetFormat() const
void SetSource(SourceT &&value)
bool FormatHasBeenSet() const
ImageBlock & WithFormat(ImageFormat value)
void SetFormat(ImageFormat value)
ImageBlock & WithSource(SourceT &&value)
AWS_BEDROCKRUNTIME_API ImageBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue