AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
RecommendationConfig.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/SystemPromptRecommendationConfig.h>
9#include <aws/bedrock-agentcore/model/ToolDescriptionRecommendationConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentCore {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTCORE_API RecommendationConfig() = default;
32 AWS_BEDROCKAGENTCORE_API RecommendationConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API RecommendationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SystemPromptRecommendationConfig& GetSystemPromptRecommendationConfig() const { return m_systemPromptRecommendationConfig; }
41 inline bool SystemPromptRecommendationConfigHasBeenSet() const { return m_systemPromptRecommendationConfigHasBeenSet; }
42 template <typename SystemPromptRecommendationConfigT = SystemPromptRecommendationConfig>
43 void SetSystemPromptRecommendationConfig(SystemPromptRecommendationConfigT&& value) {
44 m_systemPromptRecommendationConfigHasBeenSet = true;
45 m_systemPromptRecommendationConfig = std::forward<SystemPromptRecommendationConfigT>(value);
46 }
47 template <typename SystemPromptRecommendationConfigT = SystemPromptRecommendationConfig>
48 RecommendationConfig& WithSystemPromptRecommendationConfig(SystemPromptRecommendationConfigT&& value) {
49 SetSystemPromptRecommendationConfig(std::forward<SystemPromptRecommendationConfigT>(value));
50 return *this;
51 }
53
55
59 return m_toolDescriptionRecommendationConfig;
60 }
61 inline bool ToolDescriptionRecommendationConfigHasBeenSet() const { return m_toolDescriptionRecommendationConfigHasBeenSet; }
62 template <typename ToolDescriptionRecommendationConfigT = ToolDescriptionRecommendationConfig>
63 void SetToolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfigT&& value) {
64 m_toolDescriptionRecommendationConfigHasBeenSet = true;
65 m_toolDescriptionRecommendationConfig = std::forward<ToolDescriptionRecommendationConfigT>(value);
66 }
67 template <typename ToolDescriptionRecommendationConfigT = ToolDescriptionRecommendationConfig>
68 RecommendationConfig& WithToolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfigT&& value) {
69 SetToolDescriptionRecommendationConfig(std::forward<ToolDescriptionRecommendationConfigT>(value));
70 return *this;
71 }
73 private:
74 SystemPromptRecommendationConfig m_systemPromptRecommendationConfig;
75
76 ToolDescriptionRecommendationConfig m_toolDescriptionRecommendationConfig;
77 bool m_systemPromptRecommendationConfigHasBeenSet = false;
78 bool m_toolDescriptionRecommendationConfigHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockAgentCore
83} // namespace Aws
AWS_BEDROCKAGENTCORE_API RecommendationConfig()=default
RecommendationConfig & WithSystemPromptRecommendationConfig(SystemPromptRecommendationConfigT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API RecommendationConfig(Aws::Utils::Json::JsonView jsonValue)
const ToolDescriptionRecommendationConfig & GetToolDescriptionRecommendationConfig() const
AWS_BEDROCKAGENTCORE_API RecommendationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetToolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfigT &&value)
RecommendationConfig & WithToolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfigT &&value)
const SystemPromptRecommendationConfig & GetSystemPromptRecommendationConfig() const
void SetSystemPromptRecommendationConfig(SystemPromptRecommendationConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue