AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ToolInputSchema.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/nova-act/NovaAct_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NovaAct {
20namespace Model {
21
29 public:
30 AWS_NOVAACT_API ToolInputSchema() = default;
31 AWS_NOVAACT_API ToolInputSchema(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline Aws::Utils::DocumentView GetJson() const { return m_json; }
40 inline bool JsonHasBeenSet() const { return m_jsonHasBeenSet; }
41 template <typename JsonT = Aws::Utils::Document>
42 void SetJson(JsonT&& value) {
43 m_jsonHasBeenSet = true;
44 m_json = std::forward<JsonT>(value);
45 }
46 template <typename JsonT = Aws::Utils::Document>
47 ToolInputSchema& WithJson(JsonT&& value) {
48 SetJson(std::forward<JsonT>(value));
49 return *this;
50 }
52 private:
54 bool m_jsonHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace NovaAct
59} // namespace Aws
Aws::Utils::DocumentView GetJson() const
ToolInputSchema & WithJson(JsonT &&value)
AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOVAACT_API ToolInputSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NOVAACT_API ToolInputSchema(Aws::Utils::Json::JsonView jsonValue)
AWS_NOVAACT_API ToolInputSchema()=default
Aws::Utils::Json::JsonValue JsonValue