7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
19namespace BedrockRuntime {
40 template <
typename BytesT = Aws::Utils::CryptoBuffer>
42 m_bytesHasBeenSet =
true;
43 m_bytes = std::forward<BytesT>(value);
45 template <
typename BytesT = Aws::Utils::CryptoBuffer>
47 SetBytes(std::forward<BytesT>(value));
53 bool m_bytesHasBeenSet =
false;
const Aws::Utils::CryptoBuffer & GetBytes() const
void SetBytes(BytesT &&value)
AWS_BEDROCKRUNTIME_API PayloadPart()=default
bool BytesHasBeenSet() const
PayloadPart & WithBytes(BytesT &&value)
AWS_BEDROCKRUNTIME_API PayloadPart(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API PayloadPart & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue