AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BedrockEmbeddingModelConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/EmbeddingDataType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration() = default;
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetDimensions() const { return m_dimensions; }
47 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
48 inline void SetDimensions(int value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
49 inline BedrockEmbeddingModelConfiguration& WithDimensions(int value) { SetDimensions(value); return *this;}
51
53
62 inline EmbeddingDataType GetEmbeddingDataType() const { return m_embeddingDataType; }
63 inline bool EmbeddingDataTypeHasBeenSet() const { return m_embeddingDataTypeHasBeenSet; }
64 inline void SetEmbeddingDataType(EmbeddingDataType value) { m_embeddingDataTypeHasBeenSet = true; m_embeddingDataType = value; }
67 private:
68
69 int m_dimensions{0};
70 bool m_dimensionsHasBeenSet = false;
71
73 bool m_embeddingDataTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgent
78} // namespace Aws
AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API BedrockEmbeddingModelConfiguration()=default
BedrockEmbeddingModelConfiguration & WithEmbeddingDataType(EmbeddingDataType value)
Aws::Utils::Json::JsonValue JsonValue