AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FunctionParameter.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_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 BedrockAgentRuntime {
20namespace Model {
21
32 public:
33 AWS_BEDROCKAGENTRUNTIME_API FunctionParameter() = default;
36 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 template <typename TypeT = Aws::String>
63 void SetType(TypeT&& value) {
64 m_typeHasBeenSet = true;
65 m_type = std::forward<TypeT>(value);
66 }
67 template <typename TypeT = Aws::String>
69 SetType(std::forward<TypeT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetValue() const { return m_value; }
79 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
80 template <typename ValueT = Aws::String>
81 void SetValue(ValueT&& value) {
82 m_valueHasBeenSet = true;
83 m_value = std::forward<ValueT>(value);
84 }
85 template <typename ValueT = Aws::String>
87 SetValue(std::forward<ValueT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_name;
93
94 Aws::String m_type;
95
96 Aws::String m_value;
97 bool m_nameHasBeenSet = false;
98 bool m_typeHasBeenSet = false;
99 bool m_valueHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace BedrockAgentRuntime
104} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FunctionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API FunctionParameter()=default
AWS_BEDROCKAGENTRUNTIME_API FunctionParameter(Aws::Utils::Json::JsonView jsonValue)
FunctionParameter & WithValue(ValueT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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