AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
Parameter.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
27class Parameter {
28 public:
29 AWS_BEDROCKAGENTRUNTIME_API Parameter() = default;
30 AWS_BEDROCKAGENTRUNTIME_API Parameter(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetType() const { return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 template <typename TypeT = Aws::String>
59 void SetType(TypeT&& value) {
60 m_typeHasBeenSet = true;
61 m_type = std::forward<TypeT>(value);
62 }
63 template <typename TypeT = Aws::String>
65 SetType(std::forward<TypeT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetValue() const { return m_value; }
75 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
76 template <typename ValueT = Aws::String>
77 void SetValue(ValueT&& value) {
78 m_valueHasBeenSet = true;
79 m_value = std::forward<ValueT>(value);
80 }
81 template <typename ValueT = Aws::String>
83 SetValue(std::forward<ValueT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_name;
89
90 Aws::String m_type;
91
92 Aws::String m_value;
93 bool m_nameHasBeenSet = false;
94 bool m_typeHasBeenSet = false;
95 bool m_valueHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace BedrockAgentRuntime
100} // namespace Aws
const Aws::String & GetName() const
Definition Parameter.h:38
Parameter & WithName(NameT &&value)
Definition Parameter.h:46
AWS_BEDROCKAGENTRUNTIME_API Parameter(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Parameter & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
Definition Parameter.h:56
AWS_BEDROCKAGENTRUNTIME_API Parameter()=default
Parameter & WithValue(ValueT &&value)
Definition Parameter.h:82
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetValue() const
Definition Parameter.h:74
Parameter & WithType(TypeT &&value)
Definition Parameter.h:64
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