AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ApiParameter.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
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API ApiParameter() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 template <typename TypeT = Aws::String>
62 void SetType(TypeT&& value) {
63 m_typeHasBeenSet = true;
64 m_type = std::forward<TypeT>(value);
65 }
66 template <typename TypeT = Aws::String>
68 SetType(std::forward<TypeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetValue() const { return m_value; }
78 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
79 template <typename ValueT = Aws::String>
80 void SetValue(ValueT&& value) {
81 m_valueHasBeenSet = true;
82 m_value = std::forward<ValueT>(value);
83 }
84 template <typename ValueT = Aws::String>
86 SetValue(std::forward<ValueT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_name;
92
93 Aws::String m_type;
94
95 Aws::String m_value;
96 bool m_nameHasBeenSet = false;
97 bool m_typeHasBeenSet = false;
98 bool m_valueHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace BedrockAgentRuntime
103} // namespace Aws
ApiParameter & WithName(NameT &&value)
AWS_BEDROCKAGENTRUNTIME_API ApiParameter()=default
ApiParameter & WithValue(ValueT &&value)
AWS_BEDROCKAGENTRUNTIME_API ApiParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API ApiParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ApiParameter & WithType(TypeT &&value)
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