AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENT_API ContextEnrichmentConfiguration() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline ContextEnrichmentType GetType() const { return m_type; }
42 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 inline void SetType(ContextEnrichmentType value) {
44 m_typeHasBeenSet = true;
45 m_type = value;
46 }
48 SetType(value);
49 return *this;
50 }
52
54
59 return m_bedrockFoundationModelConfiguration;
60 }
61 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
62 template <typename BedrockFoundationModelConfigurationT = BedrockFoundationModelContextEnrichmentConfiguration>
64 m_bedrockFoundationModelConfigurationHasBeenSet = true;
65 m_bedrockFoundationModelConfiguration = std::forward<BedrockFoundationModelConfigurationT>(value);
66 }
67 template <typename BedrockFoundationModelConfigurationT = BedrockFoundationModelContextEnrichmentConfiguration>
69 SetBedrockFoundationModelConfiguration(std::forward<BedrockFoundationModelConfigurationT>(value));
70 return *this;
71 }
73 private:
75
76 BedrockFoundationModelContextEnrichmentConfiguration m_bedrockFoundationModelConfiguration;
77 bool m_typeHasBeenSet = false;
78 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockAgent
83} // 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue