AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContextEnrichmentConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/BedrockFoundationModelContextEnrichmentConfiguration.h>
9#include <aws/bedrock-agent/model/ContextEnrichmentType.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 BedrockAgent
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENT_API ContextEnrichmentConfiguration() = default;
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const BedrockFoundationModelContextEnrichmentConfiguration& GetBedrockFoundationModelConfiguration() const { return m_bedrockFoundationModelConfiguration; }
48 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
49 template<typename BedrockFoundationModelConfigurationT = BedrockFoundationModelContextEnrichmentConfiguration>
50 void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT&& value) { m_bedrockFoundationModelConfigurationHasBeenSet = true; m_bedrockFoundationModelConfiguration = std::forward<BedrockFoundationModelConfigurationT>(value); }
51 template<typename BedrockFoundationModelConfigurationT = BedrockFoundationModelContextEnrichmentConfiguration>
52 ContextEnrichmentConfiguration& WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT&& value) { SetBedrockFoundationModelConfiguration(std::forward<BedrockFoundationModelConfigurationT>(value)); return *this;}
54
56
60 inline ContextEnrichmentType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(ContextEnrichmentType value) { m_typeHasBeenSet = true; m_type = value; }
65 private:
66
67 BedrockFoundationModelContextEnrichmentConfiguration m_bedrockFoundationModelConfiguration;
68 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
69
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgent
76} // namespace Aws
AWS_BEDROCKAGENT_API ContextEnrichmentConfiguration()=default
const BedrockFoundationModelContextEnrichmentConfiguration & GetBedrockFoundationModelConfiguration() const
void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT &&value)
ContextEnrichmentConfiguration & WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT &&value)
AWS_BEDROCKAGENT_API ContextEnrichmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ContextEnrichmentConfiguration & WithType(ContextEnrichmentType value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ContextEnrichmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue