7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AudioConfiguration.h>
9#include <aws/bedrock-agent/model/EmbeddingDataType.h>
10#include <aws/bedrock-agent/model/VideoConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace BedrockAgent {
46 m_dimensionsHasBeenSet =
true;
68 m_embeddingDataTypeHasBeenSet =
true;
69 m_embeddingDataType = value;
84 template <
typename AudioT = Aws::Vector<AudioConfiguration>>
86 m_audioHasBeenSet =
true;
87 m_audio = std::forward<AudioT>(value);
89 template <
typename AudioT = Aws::Vector<AudioConfiguration>>
91 SetAudio(std::forward<AudioT>(value));
94 template <
typename AudioT = AudioConfiguration>
96 m_audioHasBeenSet =
true;
97 m_audio.emplace_back(std::forward<AudioT>(value));
109 template <
typename V
ideoT = Aws::Vector<V
ideoConfiguration>>
111 m_videoHasBeenSet =
true;
112 m_video = std::forward<VideoT>(value);
114 template <
typename V
ideoT = Aws::Vector<V
ideoConfiguration>>
116 SetVideo(std::forward<VideoT>(value));
119 template <
typename V
ideoT = V
ideoConfiguration>
121 m_videoHasBeenSet =
true;
122 m_video.emplace_back(std::forward<VideoT>(value));
134 bool m_dimensionsHasBeenSet =
false;
135 bool m_embeddingDataTypeHasBeenSet =
false;
136 bool m_audioHasBeenSet =
false;
137 bool m_videoHasBeenSet =
false;
BedrockEmbeddingModelConfiguration & WithAudio(AudioT &&value)
BedrockEmbeddingModelConfiguration & AddVideo(VideoT &&value)
AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EmbeddingDataType GetEmbeddingDataType() const
void SetEmbeddingDataType(EmbeddingDataType value)
bool EmbeddingDataTypeHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
int GetDimensions() const
BedrockEmbeddingModelConfiguration & AddAudio(AudioT &&value)
AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool VideoHasBeenSet() const
void SetVideo(VideoT &&value)
BedrockEmbeddingModelConfiguration & WithVideo(VideoT &&value)
const Aws::Vector< VideoConfiguration > & GetVideo() const
const Aws::Vector< AudioConfiguration > & GetAudio() const
bool DimensionsHasBeenSet() const
BedrockEmbeddingModelConfiguration & WithDimensions(int value)
void SetDimensions(int value)
AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration()=default
void SetAudio(AudioT &&value)
bool AudioHasBeenSet() const
BedrockEmbeddingModelConfiguration & WithEmbeddingDataType(EmbeddingDataType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue