AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
InferenceProfileModelSource.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
29 public:
30 AWS_BEDROCK_API InferenceProfileModelSource() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetCopyFrom() const { return m_copyFrom; }
41 inline bool CopyFromHasBeenSet() const { return m_copyFromHasBeenSet; }
42 template <typename CopyFromT = Aws::String>
43 void SetCopyFrom(CopyFromT&& value) {
44 m_copyFromHasBeenSet = true;
45 m_copyFrom = std::forward<CopyFromT>(value);
46 }
47 template <typename CopyFromT = Aws::String>
49 SetCopyFrom(std::forward<CopyFromT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_copyFrom;
55 bool m_copyFromHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Bedrock
60} // namespace Aws
AWS_BEDROCK_API InferenceProfileModelSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API InferenceProfileModelSource(Aws::Utils::Json::JsonView jsonValue)
InferenceProfileModelSource & WithCopyFrom(CopyFromT &&value)
AWS_BEDROCK_API InferenceProfileModelSource()=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