AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PromptFlowNodeInlineConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <aws/bedrock-agent/model/PromptInferenceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent/model/PromptTemplateConfiguration.h>
12#include <aws/bedrock-agent/model/PromptTemplateType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_BEDROCKAGENT_API PromptFlowNodeInlineConfiguration();
42 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline Aws::Utils::DocumentView GetAdditionalModelRequestFields() const{ return m_additionalModelRequestFields; }
54 inline bool AdditionalModelRequestFieldsHasBeenSet() const { return m_additionalModelRequestFieldsHasBeenSet; }
55 inline void SetAdditionalModelRequestFields(const Aws::Utils::Document& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields = value; }
56 inline void SetAdditionalModelRequestFields(Aws::Utils::Document&& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields = std::move(value); }
60
62
65 inline const PromptInferenceConfiguration& GetInferenceConfiguration() const{ return m_inferenceConfiguration; }
66 inline bool InferenceConfigurationHasBeenSet() const { return m_inferenceConfigurationHasBeenSet; }
67 inline void SetInferenceConfiguration(const PromptInferenceConfiguration& value) { m_inferenceConfigurationHasBeenSet = true; m_inferenceConfiguration = value; }
68 inline void SetInferenceConfiguration(PromptInferenceConfiguration&& value) { m_inferenceConfigurationHasBeenSet = true; m_inferenceConfiguration = std::move(value); }
72
74
79 inline const Aws::String& GetModelId() const{ return m_modelId; }
80 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
81 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
82 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
83 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
84 inline PromptFlowNodeInlineConfiguration& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
85 inline PromptFlowNodeInlineConfiguration& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
86 inline PromptFlowNodeInlineConfiguration& WithModelId(const char* value) { SetModelId(value); return *this;}
88
90
94 inline const PromptTemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
95 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
96 inline void SetTemplateConfiguration(const PromptTemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; }
97 inline void SetTemplateConfiguration(PromptTemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); }
101
103
106 inline const PromptTemplateType& GetTemplateType() const{ return m_templateType; }
107 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
108 inline void SetTemplateType(const PromptTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
109 inline void SetTemplateType(PromptTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
113 private:
114
115 Aws::Utils::Document m_additionalModelRequestFields;
116 bool m_additionalModelRequestFieldsHasBeenSet = false;
117
118 PromptInferenceConfiguration m_inferenceConfiguration;
119 bool m_inferenceConfigurationHasBeenSet = false;
120
121 Aws::String m_modelId;
122 bool m_modelIdHasBeenSet = false;
123
124 PromptTemplateConfiguration m_templateConfiguration;
125 bool m_templateConfigurationHasBeenSet = false;
126
127 PromptTemplateType m_templateType;
128 bool m_templateTypeHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace BedrockAgent
133} // namespace Aws
AWS_BEDROCKAGENT_API PromptFlowNodeInlineConfiguration(Aws::Utils::Json::JsonView jsonValue)
PromptFlowNodeInlineConfiguration & WithTemplateConfiguration(PromptTemplateConfiguration &&value)
PromptFlowNodeInlineConfiguration & WithModelId(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PromptFlowNodeInlineConfiguration & WithInferenceConfiguration(const PromptInferenceConfiguration &value)
AWS_BEDROCKAGENT_API PromptFlowNodeInlineConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptFlowNodeInlineConfiguration & WithModelId(const char *value)
PromptFlowNodeInlineConfiguration & WithTemplateType(const PromptTemplateType &value)
PromptFlowNodeInlineConfiguration & WithTemplateType(PromptTemplateType &&value)
PromptFlowNodeInlineConfiguration & WithAdditionalModelRequestFields(Aws::Utils::Document &&value)
PromptFlowNodeInlineConfiguration & WithAdditionalModelRequestFields(const Aws::Utils::Document &value)
PromptFlowNodeInlineConfiguration & WithModelId(Aws::String &&value)
PromptFlowNodeInlineConfiguration & WithTemplateConfiguration(const PromptTemplateConfiguration &value)
PromptFlowNodeInlineConfiguration & WithInferenceConfiguration(PromptInferenceConfiguration &&value)
void SetTemplateConfiguration(const PromptTemplateConfiguration &value)
void SetInferenceConfiguration(const PromptInferenceConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue