AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
ToolRemovalBlock.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ToolReference.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
31 public:
32 AWS_BEDROCKRUNTIME_API ToolRemovalBlock() = default;
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const ToolReference& GetTool() const { return m_tool; }
42 inline bool ToolHasBeenSet() const { return m_toolHasBeenSet; }
43 template <typename ToolT = ToolReference>
44 void SetTool(ToolT&& value) {
45 m_toolHasBeenSet = true;
46 m_tool = std::forward<ToolT>(value);
47 }
48 template <typename ToolT = ToolReference>
50 SetTool(std::forward<ToolT>(value));
51 return *this;
52 }
54 private:
55 ToolReference m_tool;
56 bool m_toolHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace BedrockRuntime
61} // namespace Aws
AWS_BEDROCKRUNTIME_API ToolRemovalBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ToolRemovalBlock & WithTool(ToolT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ToolRemovalBlock(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ToolRemovalBlock()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue