AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
PromptVariableValues.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
32 public:
33 AWS_BEDROCKRUNTIME_API PromptVariableValues() = default;
36 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetText() const { return m_text; }
43 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
44 template <typename TextT = Aws::String>
45 void SetText(TextT&& value) {
46 m_textHasBeenSet = true;
47 m_text = std::forward<TextT>(value);
48 }
49 template <typename TextT = Aws::String>
51 SetText(std::forward<TextT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_text;
57 bool m_textHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace BedrockRuntime
62} // namespace Aws
AWS_BEDROCKRUNTIME_API PromptVariableValues(Aws::Utils::Json::JsonView jsonValue)
PromptVariableValues & WithText(TextT &&value)
AWS_BEDROCKRUNTIME_API PromptVariableValues()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API PromptVariableValues & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue