AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
CustomModelUnits.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
40 {
41 public:
42 AWS_BEDROCK_API CustomModelUnits() = default;
43 AWS_BEDROCK_API CustomModelUnits(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline int GetCustomModelUnitsPerModelCopy() const { return m_customModelUnitsPerModelCopy; }
53 inline bool CustomModelUnitsPerModelCopyHasBeenSet() const { return m_customModelUnitsPerModelCopyHasBeenSet; }
54 inline void SetCustomModelUnitsPerModelCopy(int value) { m_customModelUnitsPerModelCopyHasBeenSet = true; m_customModelUnitsPerModelCopy = value; }
57
59
63 inline const Aws::String& GetCustomModelUnitsVersion() const { return m_customModelUnitsVersion; }
64 inline bool CustomModelUnitsVersionHasBeenSet() const { return m_customModelUnitsVersionHasBeenSet; }
65 template<typename CustomModelUnitsVersionT = Aws::String>
66 void SetCustomModelUnitsVersion(CustomModelUnitsVersionT&& value) { m_customModelUnitsVersionHasBeenSet = true; m_customModelUnitsVersion = std::forward<CustomModelUnitsVersionT>(value); }
67 template<typename CustomModelUnitsVersionT = Aws::String>
68 CustomModelUnits& WithCustomModelUnitsVersion(CustomModelUnitsVersionT&& value) { SetCustomModelUnitsVersion(std::forward<CustomModelUnitsVersionT>(value)); return *this;}
70 private:
71
72 int m_customModelUnitsPerModelCopy{0};
73 bool m_customModelUnitsPerModelCopyHasBeenSet = false;
74
75 Aws::String m_customModelUnitsVersion;
76 bool m_customModelUnitsVersionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Bedrock
81} // namespace Aws
CustomModelUnits & WithCustomModelUnitsPerModelCopy(int value)
AWS_BEDROCK_API CustomModelUnits & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomModelUnitsVersion(CustomModelUnitsVersionT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomModelUnitsVersion() const
CustomModelUnits & WithCustomModelUnitsVersion(CustomModelUnitsVersionT &&value)
AWS_BEDROCK_API CustomModelUnits(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API CustomModelUnits()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue