AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InputPrompt.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/TextPrompt.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API InputPrompt() = default;
31 AWS_BEDROCKAGENTRUNTIME_API InputPrompt(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const TextPrompt& GetTextPrompt() const { return m_textPrompt; }
40 inline bool TextPromptHasBeenSet() const { return m_textPromptHasBeenSet; }
41 template <typename TextPromptT = TextPrompt>
42 void SetTextPrompt(TextPromptT&& value) {
43 m_textPromptHasBeenSet = true;
44 m_textPrompt = std::forward<TextPromptT>(value);
45 }
46 template <typename TextPromptT = TextPrompt>
48 SetTextPrompt(std::forward<TextPromptT>(value));
49 return *this;
50 }
52 private:
53 TextPrompt m_textPrompt;
54 bool m_textPromptHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace BedrockAgentRuntime
59} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API InputPrompt()=default
AWS_BEDROCKAGENTRUNTIME_API InputPrompt(Aws::Utils::Json::JsonView jsonValue)
const TextPrompt & GetTextPrompt() const
Definition InputPrompt.h:39
InputPrompt & WithTextPrompt(TextPromptT &&value)
Definition InputPrompt.h:47
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API InputPrompt & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTextPrompt(TextPromptT &&value)
Definition InputPrompt.h:42
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue