AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ToolInputSchema.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Document.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 ToolInputSchema() = default;
36 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline Aws::Utils::DocumentView GetJson() const { return m_json; }
45 inline bool JsonHasBeenSet() const { return m_jsonHasBeenSet; }
46 template <typename JsonT = Aws::Utils::Document>
47 void SetJson(JsonT&& value) {
48 m_jsonHasBeenSet = true;
49 m_json = std::forward<JsonT>(value);
50 }
51 template <typename JsonT = Aws::Utils::Document>
53 SetJson(std::forward<JsonT>(value));
54 return *this;
55 }
57 private:
59 bool m_jsonHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace BedrockRuntime
64} // namespace Aws
Aws::Utils::DocumentView GetJson() const
AWS_BEDROCKRUNTIME_API ToolInputSchema(Aws::Utils::Json::JsonView jsonValue)
ToolInputSchema & WithJson(JsonT &&value)
AWS_BEDROCKRUNTIME_API ToolInputSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ToolInputSchema()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue