AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrchestrationConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/bedrock-agent-runtime/model/InferenceConfig.h>
10#include <aws/bedrock-agent-runtime/model/PromptTemplate.h>
11#include <aws/bedrock-agent-runtime/model/QueryTransformationConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/Document.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgentRuntime
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_BEDROCKAGENTRUNTIME_API OrchestrationConfiguration();
41 AWS_BEDROCKAGENTRUNTIME_API OrchestrationConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API OrchestrationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::Map<Aws::String, Aws::Utils::Document>& GetAdditionalModelRequestFields() const{ return m_additionalModelRequestFields; }
53 inline bool AdditionalModelRequestFieldsHasBeenSet() const { return m_additionalModelRequestFieldsHasBeenSet; }
54 inline void SetAdditionalModelRequestFields(const Aws::Map<Aws::String, Aws::Utils::Document>& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields = value; }
55 inline void SetAdditionalModelRequestFields(Aws::Map<Aws::String, Aws::Utils::Document>&& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields = std::move(value); }
58 inline OrchestrationConfiguration& AddAdditionalModelRequestFields(const Aws::String& key, const Aws::Utils::Document& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields.emplace(key, value); return *this; }
59 inline OrchestrationConfiguration& AddAdditionalModelRequestFields(Aws::String&& key, const Aws::Utils::Document& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields.emplace(std::move(key), value); return *this; }
60 inline OrchestrationConfiguration& AddAdditionalModelRequestFields(const Aws::String& key, Aws::Utils::Document&& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields.emplace(key, std::move(value)); return *this; }
61 inline OrchestrationConfiguration& AddAdditionalModelRequestFields(Aws::String&& key, Aws::Utils::Document&& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields.emplace(std::move(key), std::move(value)); return *this; }
62 inline OrchestrationConfiguration& AddAdditionalModelRequestFields(const char* key, Aws::Utils::Document&& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields.emplace(key, std::move(value)); return *this; }
63 inline OrchestrationConfiguration& AddAdditionalModelRequestFields(const char* key, const Aws::Utils::Document& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields.emplace(key, value); return *this; }
65
67
71 inline const InferenceConfig& GetInferenceConfig() const{ return m_inferenceConfig; }
72 inline bool InferenceConfigHasBeenSet() const { return m_inferenceConfigHasBeenSet; }
73 inline void SetInferenceConfig(const InferenceConfig& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = value; }
74 inline void SetInferenceConfig(InferenceConfig&& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = std::move(value); }
76 inline OrchestrationConfiguration& WithInferenceConfig(InferenceConfig&& value) { SetInferenceConfig(std::move(value)); return *this;}
78
80
84 inline const PromptTemplate& GetPromptTemplate() const{ return m_promptTemplate; }
85 inline bool PromptTemplateHasBeenSet() const { return m_promptTemplateHasBeenSet; }
86 inline void SetPromptTemplate(const PromptTemplate& value) { m_promptTemplateHasBeenSet = true; m_promptTemplate = value; }
87 inline void SetPromptTemplate(PromptTemplate&& value) { m_promptTemplateHasBeenSet = true; m_promptTemplate = std::move(value); }
89 inline OrchestrationConfiguration& WithPromptTemplate(PromptTemplate&& value) { SetPromptTemplate(std::move(value)); return *this;}
91
93
97 inline const QueryTransformationConfiguration& GetQueryTransformationConfiguration() const{ return m_queryTransformationConfiguration; }
98 inline bool QueryTransformationConfigurationHasBeenSet() const { return m_queryTransformationConfigurationHasBeenSet; }
99 inline void SetQueryTransformationConfiguration(const QueryTransformationConfiguration& value) { m_queryTransformationConfigurationHasBeenSet = true; m_queryTransformationConfiguration = value; }
100 inline void SetQueryTransformationConfiguration(QueryTransformationConfiguration&& value) { m_queryTransformationConfigurationHasBeenSet = true; m_queryTransformationConfiguration = std::move(value); }
104 private:
105
106 Aws::Map<Aws::String, Aws::Utils::Document> m_additionalModelRequestFields;
107 bool m_additionalModelRequestFieldsHasBeenSet = false;
108
109 InferenceConfig m_inferenceConfig;
110 bool m_inferenceConfigHasBeenSet = false;
111
112 PromptTemplate m_promptTemplate;
113 bool m_promptTemplateHasBeenSet = false;
114
115 QueryTransformationConfiguration m_queryTransformationConfiguration;
116 bool m_queryTransformationConfigurationHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace BedrockAgentRuntime
121} // namespace Aws
OrchestrationConfiguration & WithInferenceConfig(const InferenceConfig &value)
OrchestrationConfiguration & AddAdditionalModelRequestFields(const char *key, const Aws::Utils::Document &value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OrchestrationConfiguration & WithQueryTransformationConfiguration(const QueryTransformationConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationConfiguration(Aws::Utils::Json::JsonView jsonValue)
OrchestrationConfiguration & AddAdditionalModelRequestFields(Aws::String &&key, const Aws::Utils::Document &value)
OrchestrationConfiguration & AddAdditionalModelRequestFields(Aws::String &&key, Aws::Utils::Document &&value)
OrchestrationConfiguration & WithAdditionalModelRequestFields(Aws::Map< Aws::String, Aws::Utils::Document > &&value)
const QueryTransformationConfiguration & GetQueryTransformationConfiguration() const
void SetQueryTransformationConfiguration(QueryTransformationConfiguration &&value)
OrchestrationConfiguration & AddAdditionalModelRequestFields(const Aws::String &key, const Aws::Utils::Document &value)
void SetAdditionalModelRequestFields(const Aws::Map< Aws::String, Aws::Utils::Document > &value)
const Aws::Map< Aws::String, Aws::Utils::Document > & GetAdditionalModelRequestFields() const
OrchestrationConfiguration & WithPromptTemplate(const PromptTemplate &value)
void SetAdditionalModelRequestFields(Aws::Map< Aws::String, Aws::Utils::Document > &&value)
OrchestrationConfiguration & WithInferenceConfig(InferenceConfig &&value)
void SetQueryTransformationConfiguration(const QueryTransformationConfiguration &value)
OrchestrationConfiguration & WithQueryTransformationConfiguration(QueryTransformationConfiguration &&value)
OrchestrationConfiguration & AddAdditionalModelRequestFields(const char *key, Aws::Utils::Document &&value)
OrchestrationConfiguration & WithPromptTemplate(PromptTemplate &&value)
OrchestrationConfiguration & AddAdditionalModelRequestFields(const Aws::String &key, Aws::Utils::Document &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
OrchestrationConfiguration & WithAdditionalModelRequestFields(const Aws::Map< Aws::String, Aws::Utils::Document > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue