AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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 <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_BEDROCK_API CustomizationConfig() = default;
37 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const DistillationConfig& GetDistillationConfig() const { return m_distillationConfig; }
45 inline bool DistillationConfigHasBeenSet() const { return m_distillationConfigHasBeenSet; }
46 template<typename DistillationConfigT = DistillationConfig>
47 void SetDistillationConfig(DistillationConfigT&& value) { m_distillationConfigHasBeenSet = true; m_distillationConfig = std::forward<DistillationConfigT>(value); }
48 template<typename DistillationConfigT = DistillationConfig>
49 CustomizationConfig& WithDistillationConfig(DistillationConfigT&& value) { SetDistillationConfig(std::forward<DistillationConfigT>(value)); return *this;}
51 private:
52
53 DistillationConfig m_distillationConfig;
54 bool m_distillationConfigHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace Bedrock
59} // 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
AWS_BEDROCK_API CustomizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue