7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ErrorBlock.h>
9#include <aws/bedrock-runtime/model/ImageSource.h>
20namespace BedrockRuntime {
42 template <
typename SourceT = ImageSource>
44 m_sourceHasBeenSet =
true;
45 m_source = std::forward<SourceT>(value);
47 template <
typename SourceT = ImageSource>
60 template <
typename ErrorT = ErrorBlock>
62 m_errorHasBeenSet =
true;
63 m_error = std::forward<ErrorT>(value);
65 template <
typename ErrorT = ErrorBlock>
67 SetError(std::forward<ErrorT>(value));
75 bool m_sourceHasBeenSet =
false;
76 bool m_errorHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API ImageBlockDelta(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ImageBlockDelta()=default
void SetError(ErrorT &&value)
bool SourceHasBeenSet() const
bool ErrorHasBeenSet() const
void SetSource(SourceT &&value)
ImageBlockDelta & WithSource(SourceT &&value)
const ImageSource & GetSource() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ImageBlockDelta & WithError(ErrorT &&value)
const ErrorBlock & GetError() const
AWS_BEDROCKRUNTIME_API ImageBlockDelta & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue