AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
CustomizationConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/DistillationConfig.h>
9#include <aws/bedrock/model/RFTConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
29 public:
30 AWS_BEDROCK_API CustomizationConfig() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const DistillationConfig& GetDistillationConfig() const { return m_distillationConfig; }
40 inline bool DistillationConfigHasBeenSet() const { return m_distillationConfigHasBeenSet; }
41 template <typename DistillationConfigT = DistillationConfig>
43 m_distillationConfigHasBeenSet = true;
44 m_distillationConfig = std::forward<DistillationConfigT>(value);
45 }
46 template <typename DistillationConfigT = DistillationConfig>
48 SetDistillationConfig(std::forward<DistillationConfigT>(value));
49 return *this;
50 }
52
54
58 inline const RFTConfig& GetRftConfig() const { return m_rftConfig; }
59 inline bool RftConfigHasBeenSet() const { return m_rftConfigHasBeenSet; }
60 template <typename RftConfigT = RFTConfig>
61 void SetRftConfig(RftConfigT&& value) {
62 m_rftConfigHasBeenSet = true;
63 m_rftConfig = std::forward<RftConfigT>(value);
64 }
65 template <typename RftConfigT = RFTConfig>
67 SetRftConfig(std::forward<RftConfigT>(value));
68 return *this;
69 }
71 private:
72 DistillationConfig m_distillationConfig;
73
74 RFTConfig m_rftConfig;
75 bool m_distillationConfigHasBeenSet = false;
76 bool m_rftConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Bedrock
81} // namespace Aws
void SetDistillationConfig(DistillationConfigT &&value)
CustomizationConfig & WithDistillationConfig(DistillationConfigT &&value)
AWS_BEDROCK_API CustomizationConfig()=default
AWS_BEDROCK_API CustomizationConfig(Aws::Utils::Json::JsonView jsonValue)
const DistillationConfig & GetDistillationConfig() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
CustomizationConfig & WithRftConfig(RftConfigT &&value)
AWS_BEDROCK_API CustomizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue