7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Attribution.h>
9#include <aws/core/utils/Array.h>
20namespace BedrockAgentRuntime {
42 template <
typename AttributionT = Attribution>
44 m_attributionHasBeenSet =
true;
45 m_attribution = std::forward<AttributionT>(value);
47 template <
typename AttributionT = Attribution>
60 template <
typename BytesT = Aws::Utils::CryptoBuffer>
62 m_bytesHasBeenSet =
true;
63 m_bytes = std::forward<BytesT>(value);
65 template <
typename BytesT = Aws::Utils::CryptoBuffer>
67 SetBytes(std::forward<BytesT>(value));
75 bool m_attributionHasBeenSet =
false;
76 bool m_bytesHasBeenSet =
false;
PayloadPart & WithAttribution(AttributionT &&value)
void SetBytes(BytesT &&value)
AWS_BEDROCKAGENTRUNTIME_API PayloadPart & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BytesHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Attribution & GetAttribution() const
bool AttributionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API PayloadPart()=default
const Aws::Utils::CryptoBuffer & GetBytes() const
void SetAttribution(AttributionT &&value)
PayloadPart & WithBytes(BytesT &&value)
AWS_BEDROCKAGENTRUNTIME_API PayloadPart(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue