7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AudioSegment.h>
9#include <aws/bedrock-agent-runtime/model/RetrievalResultContentColumn.h>
10#include <aws/bedrock-agent-runtime/model/RetrievalResultContentType.h>
11#include <aws/bedrock-agent-runtime/model/VideoSegment.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace BedrockAgentRuntime {
56 template <
typename AudioT = AudioSegment>
58 m_audioHasBeenSet =
true;
59 m_audio = std::forward<AudioT>(value);
61 template <
typename AudioT = AudioSegment>
63 SetAudio(std::forward<AudioT>(value));
76 template <
typename ByteContentT = Aws::String>
78 m_byteContentHasBeenSet =
true;
79 m_byteContent = std::forward<ByteContentT>(value);
81 template <
typename ByteContentT = Aws::String>
95 template <
typename RowT = Aws::Vector<RetrievalResultContentColumn>>
97 m_rowHasBeenSet =
true;
98 m_row = std::forward<RowT>(value);
100 template <
typename RowT = Aws::Vector<RetrievalResultContentColumn>>
102 SetRow(std::forward<RowT>(value));
105 template <
typename RowT = RetrievalResultContentColumn>
107 m_rowHasBeenSet =
true;
108 m_row.emplace_back(std::forward<RowT>(value));
119 template <
typename TextT = Aws::String>
121 m_textHasBeenSet =
true;
122 m_text = std::forward<TextT>(value);
124 template <
typename TextT = Aws::String>
126 SetText(std::forward<TextT>(value));
138 m_typeHasBeenSet =
true;
154 template <
typename V
ideoT = V
ideoSegment>
156 m_videoHasBeenSet =
true;
157 m_video = std::forward<VideoT>(value);
159 template <
typename V
ideoT = V
ideoSegment>
161 SetVideo(std::forward<VideoT>(value));
176 VideoSegment m_video;
177 bool m_audioHasBeenSet =
false;
178 bool m_byteContentHasBeenSet =
false;
179 bool m_rowHasBeenSet =
false;
180 bool m_textHasBeenSet =
false;
181 bool m_typeHasBeenSet =
false;
182 bool m_videoHasBeenSet =
false;
void SetRow(RowT &&value)
RetrievalResultContent & AddRow(RowT &&value)
RetrievalResultContent & WithAudio(AudioT &&value)
bool ByteContentHasBeenSet() const
const Aws::String & GetByteContent() const
RetrievalResultContent & WithType(RetrievalResultContentType value)
void SetType(RetrievalResultContentType value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
RetrievalResultContent & WithVideo(VideoT &&value)
bool RowHasBeenSet() const
void SetAudio(AudioT &&value)
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultContent()=default
const Aws::Vector< RetrievalResultContentColumn > & GetRow() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultContent(Aws::Utils::Json::JsonView jsonValue)
RetrievalResultContent & WithByteContent(ByteContentT &&value)
RetrievalResultContentType GetType() const
const AudioSegment & GetAudio() const
bool TextHasBeenSet() const
bool AudioHasBeenSet() const
bool TypeHasBeenSet() const
bool VideoHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultContent & operator=(Aws::Utils::Json::JsonView jsonValue)
const VideoSegment & GetVideo() const
void SetText(TextT &&value)
void SetVideo(VideoT &&value)
const Aws::String & GetText() const
RetrievalResultContent & WithRow(RowT &&value)
RetrievalResultContent & WithText(TextT &&value)
void SetByteContent(ByteContentT &&value)
RetrievalResultContentType
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue