AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PromptCreationConfigurations.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgentRuntime {
17namespace Model {
18
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API PromptCreationConfigurations() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline bool GetExcludePreviousThinkingSteps() const { return m_excludePreviousThinkingSteps; }
46 inline bool ExcludePreviousThinkingStepsHasBeenSet() const { return m_excludePreviousThinkingStepsHasBeenSet; }
47 inline void SetExcludePreviousThinkingSteps(bool value) {
48 m_excludePreviousThinkingStepsHasBeenSet = true;
49 m_excludePreviousThinkingSteps = value;
50 }
53 return *this;
54 }
56
58
65 inline int GetPreviousConversationTurnsToInclude() const { return m_previousConversationTurnsToInclude; }
66 inline bool PreviousConversationTurnsToIncludeHasBeenSet() const { return m_previousConversationTurnsToIncludeHasBeenSet; }
68 m_previousConversationTurnsToIncludeHasBeenSet = true;
69 m_previousConversationTurnsToInclude = value;
70 }
73 return *this;
74 }
76 private:
77 bool m_excludePreviousThinkingSteps{false};
78
79 int m_previousConversationTurnsToInclude{0};
80 bool m_excludePreviousThinkingStepsHasBeenSet = false;
81 bool m_previousConversationTurnsToIncludeHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace BedrockAgentRuntime
86} // namespace Aws
PromptCreationConfigurations & WithExcludePreviousThinkingSteps(bool value)
AWS_BEDROCKAGENTRUNTIME_API PromptCreationConfigurations & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API PromptCreationConfigurations(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PromptCreationConfigurations & WithPreviousConversationTurnsToInclude(int value)
AWS_BEDROCKAGENTRUNTIME_API PromptCreationConfigurations()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue