7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ByteContentDoc.h>
9#include <aws/bedrock-agent/model/InlineContentType.h>
10#include <aws/bedrock-agent/model/TextContentDoc.h>
21namespace BedrockAgent {
45 m_typeHasBeenSet =
true;
60 template <
typename ByteContentT = ByteContentDoc>
62 m_byteContentHasBeenSet =
true;
63 m_byteContent = std::forward<ByteContentT>(value);
65 template <
typename ByteContentT = ByteContentDoc>
78 template <
typename TextContentT = TextContentDoc>
80 m_textContentHasBeenSet =
true;
81 m_textContent = std::forward<TextContentT>(value);
83 template <
typename TextContentT = TextContentDoc>
92 ByteContentDoc m_byteContent;
94 TextContentDoc m_textContent;
95 bool m_typeHasBeenSet =
false;
96 bool m_byteContentHasBeenSet =
false;
97 bool m_textContentHasBeenSet =
false;
InlineContent & WithType(InlineContentType value)
bool ByteContentHasBeenSet() const
AWS_BEDROCKAGENT_API InlineContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTextContent(TextContentT &&value)
InlineContentType GetType() const
const ByteContentDoc & GetByteContent() const
void SetType(InlineContentType value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const TextContentDoc & GetTextContent() const
AWS_BEDROCKAGENT_API InlineContent()=default
InlineContent & WithByteContent(ByteContentT &&value)
void SetByteContent(ByteContentT &&value)
AWS_BEDROCKAGENT_API InlineContent(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
bool TextContentHasBeenSet() const
InlineContent & WithTextContent(TextContentT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue