7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailImageFormat.h>
9#include <aws/bedrock-runtime/model/GuardrailImageSource.h>
22namespace BedrockRuntime
60 template<
typename SourceT = GuardrailImageSource>
61 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
62 template<
typename SourceT = GuardrailImageSource>
68 bool m_formatHasBeenSet =
false;
70 GuardrailImageSource m_source;
71 bool m_sourceHasBeenSet =
false;
void SetFormat(GuardrailImageFormat value)
AWS_BEDROCKRUNTIME_API GuardrailImageBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailImageBlock()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailImageFormat GetFormat() const
bool FormatHasBeenSet() const
GuardrailImageBlock & WithFormat(GuardrailImageFormat value)
const GuardrailImageSource & GetSource() const
GuardrailImageBlock & WithSource(SourceT &&value)
AWS_BEDROCKRUNTIME_API GuardrailImageBlock(Aws::Utils::Json::JsonView jsonValue)
bool SourceHasBeenSet() const
void SetSource(SourceT &&value)
Aws::Utils::Json::JsonValue JsonValue