AWS SDK for C++

AWS SDK for C++ Version 1.11.509

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
50 inline Aws::Utils::DocumentView GetAdditionalModelRequestFields() const{ return m_additionalModelRequestFields; }
51 inline bool AdditionalModelRequestFieldsHasBeenSet() const { return m_additionalModelRequestFieldsHasBeenSet; }
52 inline void SetAdditionalModelRequestFields(const Aws::Utils::Document& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields = value; }
53 inline void SetAdditionalModelRequestFields(Aws::Utils::Document&& value) { m_additionalModelRequestFieldsHasBeenSet = true; m_additionalModelRequestFields = std::move(value); }
57
59
62 inline const PromptInferenceConfiguration& GetInferenceConfiguration() const{ return m_inferenceConfiguration; }
63 inline bool InferenceConfigurationHasBeenSet() const { return m_inferenceConfigurationHasBeenSet; }
64 inline void SetInferenceConfiguration(const PromptInferenceConfiguration& value) { m_inferenceConfigurationHasBeenSet = true; m_inferenceConfiguration = value; }
65 inline void SetInferenceConfiguration(PromptInferenceConfiguration&& value) { m_inferenceConfigurationHasBeenSet = true; m_inferenceConfiguration = std::move(value); }
69
71
76 inline const Aws::String& GetModelId() const{ return m_modelId; }
77 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
78 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
79 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
80 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
81 inline PromptFlowNodeInlineConfiguration& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
82 inline PromptFlowNodeInlineConfiguration& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
83 inline PromptFlowNodeInlineConfiguration& WithModelId(const char* value) { SetModelId(value); return *this;}
85
87
91 inline const PromptTemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
92 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
93 inline void SetTemplateConfiguration(const PromptTemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; }
94 inline void SetTemplateConfiguration(PromptTemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); }
98
100
103 inline const PromptTemplateType& GetTemplateType() const{ return m_templateType; }
104 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
105 inline void SetTemplateType(const PromptTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
106 inline void SetTemplateType(PromptTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
110 private:
111
112 Aws::Utils::Document m_additionalModelRequestFields;
113 bool m_additionalModelRequestFieldsHasBeenSet = false;
114
115 PromptInferenceConfiguration m_inferenceConfiguration;
116 bool m_inferenceConfigurationHasBeenSet = false;
117
118 Aws::String m_modelId;
119 bool m_modelIdHasBeenSet = false;
120
121 PromptTemplateConfiguration m_templateConfiguration;
122 bool m_templateConfigurationHasBeenSet = false;
123
124 PromptTemplateType m_templateType;
125 bool m_templateTypeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace BedrockAgent
130} // 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