AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InlineAgentPayloadPart.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API InlineAgentPayloadPart() = default;
37 AWS_BEDROCKAGENTRUNTIME_API InlineAgentPayloadPart(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API InlineAgentPayloadPart& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Attribution& GetAttribution() const { return m_attribution; }
47 inline bool AttributionHasBeenSet() const { return m_attributionHasBeenSet; }
48 template<typename AttributionT = Attribution>
49 void SetAttribution(AttributionT&& value) { m_attributionHasBeenSet = true; m_attribution = std::forward<AttributionT>(value); }
50 template<typename AttributionT = Attribution>
51 InlineAgentPayloadPart& WithAttribution(AttributionT&& value) { SetAttribution(std::forward<AttributionT>(value)); return *this;}
53
55
58 inline const Aws::Utils::CryptoBuffer& GetBytes() const { return m_bytes; }
59 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
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>
63 InlineAgentPayloadPart& WithBytes(BytesT&& value) { SetBytes(std::forward<BytesT>(value)); return *this;}
65 private:
66
67 Attribution m_attribution;
68 bool m_attributionHasBeenSet = false;
69
71 bool m_bytesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgentRuntime
76} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API InlineAgentPayloadPart(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InlineAgentPayloadPart & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InlineAgentPayloadPart()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InlineAgentPayloadPart & WithAttribution(AttributionT &&value)
Aws::Utils::Json::JsonValue JsonValue