AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ToolInputSchema.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_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 BedrockAgent {
20namespace Model {
21
31 public:
32 AWS_BEDROCKAGENT_API ToolInputSchema() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline Aws::Utils::DocumentView GetJson() const { return m_json; }
42 inline bool JsonHasBeenSet() const { return m_jsonHasBeenSet; }
43 template <typename JsonT = Aws::Utils::Document>
44 void SetJson(JsonT&& value) {
45 m_jsonHasBeenSet = true;
46 m_json = std::forward<JsonT>(value);
47 }
48 template <typename JsonT = Aws::Utils::Document>
50 SetJson(std::forward<JsonT>(value));
51 return *this;
52 }
54 private:
56 bool m_jsonHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace BedrockAgent
61} // namespace Aws
Aws::Utils::DocumentView GetJson() const
ToolInputSchema & WithJson(JsonT &&value)
AWS_BEDROCKAGENT_API ToolInputSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ToolInputSchema()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ToolInputSchema(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue