AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
BedrockFunctionTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
9#include <aws/elementalinference/model/BedrockApi.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ElementalInference {
21namespace Model {
22
32 public:
33 AWS_ELEMENTALINFERENCE_API BedrockFunctionTarget() = default;
34 AWS_ELEMENTALINFERENCE_API BedrockFunctionTarget(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ELEMENTALINFERENCE_API BedrockFunctionTarget& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline BedrockApi GetApi() const { return m_api; }
43 inline bool ApiHasBeenSet() const { return m_apiHasBeenSet; }
44 inline void SetApi(BedrockApi value) {
45 m_apiHasBeenSet = true;
46 m_api = value;
47 }
49 SetApi(value);
50 return *this;
51 }
53
55
67 inline const Aws::String& GetModel() const { return m_model; }
68 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
69 template <typename ModelT = Aws::String>
70 void SetModel(ModelT&& value) {
71 m_modelHasBeenSet = true;
72 m_model = std::forward<ModelT>(value);
73 }
74 template <typename ModelT = Aws::String>
76 SetModel(std::forward<ModelT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::String m_model;
84 bool m_apiHasBeenSet = false;
85 bool m_modelHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace ElementalInference
90} // namespace Aws
AWS_ELEMENTALINFERENCE_API BedrockFunctionTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
BedrockFunctionTarget & WithApi(BedrockApi value)
AWS_ELEMENTALINFERENCE_API BedrockFunctionTarget()=default
AWS_ELEMENTALINFERENCE_API BedrockFunctionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
BedrockFunctionTarget & WithModel(ModelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue