7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/bedrock-runtime/model/S3Location.h>
22namespace BedrockRuntime
48 template<
typename BytesT = Aws::Utils::ByteBuffer>
49 void SetBytes(BytesT&& value) { m_bytesHasBeenSet =
true; m_bytes = std::forward<BytesT>(value); }
50 template<
typename BytesT = Aws::Utils::ByteBuffer>
63 template<
typename S3LocationT = S3Location>
64 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet =
true; m_s3Location = std::forward<S3LocationT>(value); }
65 template<
typename S3LocationT = S3Location>
71 bool m_bytesHasBeenSet =
false;
73 S3Location m_s3Location;
74 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
Aws::Utils::Json::JsonValue JsonValue