7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailConverseImageFormat.h>
9#include <aws/bedrock-runtime/model/GuardrailConverseImageSource.h>
20namespace BedrockRuntime {
44 m_formatHasBeenSet =
true;
59 template <
typename SourceT = GuardrailConverseImageSource>
61 m_sourceHasBeenSet =
true;
62 m_source = std::forward<SourceT>(value);
64 template <
typename SourceT = GuardrailConverseImageSource>
73 GuardrailConverseImageSource m_source;
74 bool m_formatHasBeenSet =
false;
75 bool m_sourceHasBeenSet =
false;
void SetSource(SourceT &&value)
void SetFormat(GuardrailConverseImageFormat value)
GuardrailConverseImageBlock & WithFormat(GuardrailConverseImageFormat value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailConverseImageBlock & WithSource(SourceT &&value)
bool SourceHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailConverseImageBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailConverseImageFormat GetFormat() const
AWS_BEDROCKRUNTIME_API GuardrailConverseImageBlock()=default
bool FormatHasBeenSet() const
const GuardrailConverseImageSource & GetSource() const
AWS_BEDROCKRUNTIME_API GuardrailConverseImageBlock(Aws::Utils::Json::JsonView jsonValue)
GuardrailConverseImageFormat
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue