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>
22namespace BedrockAgentRuntime
48 template<
typename AttributionT = Attribution>
49 void SetAttribution(AttributionT&& value) { m_attributionHasBeenSet =
true; m_attribution = std::forward<AttributionT>(value); }
50 template<
typename AttributionT = Attribution>
60 template<
typename BytesT = Aws::Utils::CryptoBuffer>
61 void SetBytes(BytesT&& value) { m_bytesHasBeenSet =
true; m_bytes = std::forward<BytesT>(value); }
62 template<
typename BytesT = Aws::Utils::CryptoBuffer>
68 bool m_attributionHasBeenSet =
false;
71 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)
Aws::Utils::Json::JsonValue JsonValue