7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailImageFormat.h>
9#include <aws/bedrock-runtime/model/GuardrailImageSource.h>
20namespace BedrockRuntime {
44 m_formatHasBeenSet =
true;
60 template <
typename SourceT = GuardrailImageSource>
62 m_sourceHasBeenSet =
true;
63 m_source = std::forward<SourceT>(value);
65 template <
typename SourceT = GuardrailImageSource>
74 GuardrailImageSource m_source;
75 bool m_formatHasBeenSet =
false;
76 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue