AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
36 public:
37 AWS_BEDROCK_API CustomModelUnits() = default;
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline int GetCustomModelUnitsPerModelCopy() const { return m_customModelUnitsPerModelCopy; }
47 inline bool CustomModelUnitsPerModelCopyHasBeenSet() const { return m_customModelUnitsPerModelCopyHasBeenSet; }
48 inline void SetCustomModelUnitsPerModelCopy(int value) {
49 m_customModelUnitsPerModelCopyHasBeenSet = true;
50 m_customModelUnitsPerModelCopy = value;
51 }
54 return *this;
55 }
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>
67 m_customModelUnitsVersionHasBeenSet = true;
68 m_customModelUnitsVersion = std::forward<CustomModelUnitsVersionT>(value);
69 }
70 template <typename CustomModelUnitsVersionT = Aws::String>
72 SetCustomModelUnitsVersion(std::forward<CustomModelUnitsVersionT>(value));
73 return *this;
74 }
76 private:
77 int m_customModelUnitsPerModelCopy{0};
78
79 Aws::String m_customModelUnitsVersion;
80 bool m_customModelUnitsPerModelCopyHasBeenSet = false;
81 bool m_customModelUnitsVersionHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Bedrock
86} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue