7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/S3Location.h>
9#include <aws/core/utils/Array.h>
20namespace BedrockRuntime {
42 template <
typename BytesT = Aws::Utils::ByteBuffer>
44 m_bytesHasBeenSet =
true;
45 m_bytes = std::forward<BytesT>(value);
47 template <
typename BytesT = Aws::Utils::ByteBuffer>
49 SetBytes(std::forward<BytesT>(value));
63 template <
typename S3LocationT = S3Location>
65 m_s3LocationHasBeenSet =
true;
66 m_s3Location = std::forward<S3LocationT>(value);
68 template <
typename S3LocationT = S3Location>
77 S3Location m_s3Location;
78 bool m_bytesHasBeenSet =
false;
79 bool m_s3LocationHasBeenSet =
false;
const S3Location & GetS3Location() const
bool S3LocationHasBeenSet() const
AWS_BEDROCKRUNTIME_API ImageSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageSource & WithS3Location(S3LocationT &&value)
ImageSource & WithBytes(BytesT &&value)
AWS_BEDROCKRUNTIME_API ImageSource()=default
void SetBytes(BytesT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Location(S3LocationT &&value)
AWS_BEDROCKRUNTIME_API ImageSource(Aws::Utils::Json::JsonView jsonValue)
bool BytesHasBeenSet() const
const Aws::Utils::ByteBuffer & GetBytes() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue