AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ImportedModelSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 ImportedModelSummary() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetModelArn() const { return m_modelArn; }
40 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
41 template <typename ModelArnT = Aws::String>
42 void SetModelArn(ModelArnT&& value) {
43 m_modelArnHasBeenSet = true;
44 m_modelArn = std::forward<ModelArnT>(value);
45 }
46 template <typename ModelArnT = Aws::String>
47 ImportedModelSummary& WithModelArn(ModelArnT&& value) {
48 SetModelArn(std::forward<ModelArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetModelName() const { return m_modelName; }
58 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
59 template <typename ModelNameT = Aws::String>
60 void SetModelName(ModelNameT&& value) {
61 m_modelNameHasBeenSet = true;
62 m_modelName = std::forward<ModelNameT>(value);
63 }
64 template <typename ModelNameT = Aws::String>
65 ImportedModelSummary& WithModelName(ModelNameT&& value) {
66 SetModelName(std::forward<ModelNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) {
79 m_creationTimeHasBeenSet = true;
80 m_creationTime = std::forward<CreationTimeT>(value);
81 }
82 template <typename CreationTimeT = Aws::Utils::DateTime>
83 ImportedModelSummary& WithCreationTime(CreationTimeT&& value) {
84 SetCreationTime(std::forward<CreationTimeT>(value));
85 return *this;
86 }
88
90
93 inline bool GetInstructSupported() const { return m_instructSupported; }
94 inline bool InstructSupportedHasBeenSet() const { return m_instructSupportedHasBeenSet; }
95 inline void SetInstructSupported(bool value) {
96 m_instructSupportedHasBeenSet = true;
97 m_instructSupported = value;
98 }
101 return *this;
102 }
104
106
109 inline const Aws::String& GetModelArchitecture() const { return m_modelArchitecture; }
110 inline bool ModelArchitectureHasBeenSet() const { return m_modelArchitectureHasBeenSet; }
111 template <typename ModelArchitectureT = Aws::String>
112 void SetModelArchitecture(ModelArchitectureT&& value) {
113 m_modelArchitectureHasBeenSet = true;
114 m_modelArchitecture = std::forward<ModelArchitectureT>(value);
115 }
116 template <typename ModelArchitectureT = Aws::String>
117 ImportedModelSummary& WithModelArchitecture(ModelArchitectureT&& value) {
118 SetModelArchitecture(std::forward<ModelArchitectureT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_modelArn;
124 bool m_modelArnHasBeenSet = false;
125
126 Aws::String m_modelName;
127 bool m_modelNameHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationTime{};
130 bool m_creationTimeHasBeenSet = false;
131
132 bool m_instructSupported{false};
133 bool m_instructSupportedHasBeenSet = false;
134
135 Aws::String m_modelArchitecture;
136 bool m_modelArchitectureHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Bedrock
141} // namespace Aws
ImportedModelSummary & WithModelName(ModelNameT &&value)
AWS_BEDROCK_API ImportedModelSummary()=default
void SetModelArchitecture(ModelArchitectureT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ImportedModelSummary & WithModelArn(ModelArnT &&value)
ImportedModelSummary & WithModelArchitecture(ModelArchitectureT &&value)
AWS_BEDROCK_API ImportedModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API ImportedModelSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ImportedModelSummary & WithInstructSupported(bool value)
ImportedModelSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue