AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
FoundationModelConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/BedrockFoundationModelConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/FoundationModelConfigurationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API FoundationModelConfiguration() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 return m_bedrockFoundationModelConfiguration;
41 }
42 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
43 template <typename BedrockFoundationModelConfigurationT = BedrockFoundationModelConfiguration>
45 m_bedrockFoundationModelConfigurationHasBeenSet = true;
46 m_bedrockFoundationModelConfiguration = std::forward<BedrockFoundationModelConfigurationT>(value);
47 }
48 template <typename BedrockFoundationModelConfigurationT = BedrockFoundationModelConfiguration>
50 SetBedrockFoundationModelConfiguration(std::forward<BedrockFoundationModelConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline FoundationModelConfigurationType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 m_typeHasBeenSet = true;
63 m_type = value;
64 }
66 SetType(value);
67 return *this;
68 }
70 private:
71 BedrockFoundationModelConfiguration m_bedrockFoundationModelConfiguration;
72
74 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
75 bool m_typeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FoundationModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FoundationModelConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API FoundationModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const BedrockFoundationModelConfiguration & GetBedrockFoundationModelConfiguration() const
FoundationModelConfiguration & WithType(FoundationModelConfigurationType value)
FoundationModelConfiguration & WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue