AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetImportedModelResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomModelUnits.h>
9#include <aws/bedrock/model/ModelDataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock {
25namespace Model {
27 public:
28 AWS_BEDROCK_API GetImportedModelResult() = default;
31
33
36 inline const Aws::String& GetModelArn() const { return m_modelArn; }
37 template <typename ModelArnT = Aws::String>
38 void SetModelArn(ModelArnT&& value) {
39 m_modelArnHasBeenSet = true;
40 m_modelArn = std::forward<ModelArnT>(value);
41 }
42 template <typename ModelArnT = Aws::String>
44 SetModelArn(std::forward<ModelArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetModelName() const { return m_modelName; }
54 template <typename ModelNameT = Aws::String>
55 void SetModelName(ModelNameT&& value) {
56 m_modelNameHasBeenSet = true;
57 m_modelName = std::forward<ModelNameT>(value);
58 }
59 template <typename ModelNameT = Aws::String>
61 SetModelName(std::forward<ModelNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetJobName() const { return m_jobName; }
71 template <typename JobNameT = Aws::String>
72 void SetJobName(JobNameT&& value) {
73 m_jobNameHasBeenSet = true;
74 m_jobName = std::forward<JobNameT>(value);
75 }
76 template <typename JobNameT = Aws::String>
78 SetJobName(std::forward<JobNameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetJobArn() const { return m_jobArn; }
88 template <typename JobArnT = Aws::String>
89 void SetJobArn(JobArnT&& value) {
90 m_jobArnHasBeenSet = true;
91 m_jobArn = std::forward<JobArnT>(value);
92 }
93 template <typename JobArnT = Aws::String>
95 SetJobArn(std::forward<JobArnT>(value));
96 return *this;
97 }
99
101
104 inline const ModelDataSource& GetModelDataSource() const { return m_modelDataSource; }
105 template <typename ModelDataSourceT = ModelDataSource>
106 void SetModelDataSource(ModelDataSourceT&& value) {
107 m_modelDataSourceHasBeenSet = true;
108 m_modelDataSource = std::forward<ModelDataSourceT>(value);
109 }
110 template <typename ModelDataSourceT = ModelDataSource>
111 GetImportedModelResult& WithModelDataSource(ModelDataSourceT&& value) {
112 SetModelDataSource(std::forward<ModelDataSourceT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
122 template <typename CreationTimeT = Aws::Utils::DateTime>
123 void SetCreationTime(CreationTimeT&& value) {
124 m_creationTimeHasBeenSet = true;
125 m_creationTime = std::forward<CreationTimeT>(value);
126 }
127 template <typename CreationTimeT = Aws::Utils::DateTime>
128 GetImportedModelResult& WithCreationTime(CreationTimeT&& value) {
129 SetCreationTime(std::forward<CreationTimeT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetModelArchitecture() const { return m_modelArchitecture; }
139 template <typename ModelArchitectureT = Aws::String>
140 void SetModelArchitecture(ModelArchitectureT&& value) {
141 m_modelArchitectureHasBeenSet = true;
142 m_modelArchitecture = std::forward<ModelArchitectureT>(value);
143 }
144 template <typename ModelArchitectureT = Aws::String>
145 GetImportedModelResult& WithModelArchitecture(ModelArchitectureT&& value) {
146 SetModelArchitecture(std::forward<ModelArchitectureT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetModelKmsKeyArn() const { return m_modelKmsKeyArn; }
156 template <typename ModelKmsKeyArnT = Aws::String>
157 void SetModelKmsKeyArn(ModelKmsKeyArnT&& value) {
158 m_modelKmsKeyArnHasBeenSet = true;
159 m_modelKmsKeyArn = std::forward<ModelKmsKeyArnT>(value);
160 }
161 template <typename ModelKmsKeyArnT = Aws::String>
162 GetImportedModelResult& WithModelKmsKeyArn(ModelKmsKeyArnT&& value) {
163 SetModelKmsKeyArn(std::forward<ModelKmsKeyArnT>(value));
164 return *this;
165 }
167
169
172 inline bool GetInstructSupported() const { return m_instructSupported; }
173 inline void SetInstructSupported(bool value) {
174 m_instructSupportedHasBeenSet = true;
175 m_instructSupported = value;
176 }
179 return *this;
180 }
182
184
188 inline const CustomModelUnits& GetCustomModelUnits() const { return m_customModelUnits; }
189 template <typename CustomModelUnitsT = CustomModelUnits>
190 void SetCustomModelUnits(CustomModelUnitsT&& value) {
191 m_customModelUnitsHasBeenSet = true;
192 m_customModelUnits = std::forward<CustomModelUnitsT>(value);
193 }
194 template <typename CustomModelUnitsT = CustomModelUnits>
195 GetImportedModelResult& WithCustomModelUnits(CustomModelUnitsT&& value) {
196 SetCustomModelUnits(std::forward<CustomModelUnitsT>(value));
197 return *this;
198 }
200
202
203 inline const Aws::String& GetRequestId() const { return m_requestId; }
204 template <typename RequestIdT = Aws::String>
205 void SetRequestId(RequestIdT&& value) {
206 m_requestIdHasBeenSet = true;
207 m_requestId = std::forward<RequestIdT>(value);
208 }
209 template <typename RequestIdT = Aws::String>
211 SetRequestId(std::forward<RequestIdT>(value));
212 return *this;
213 }
215 private:
216 Aws::String m_modelArn;
217 bool m_modelArnHasBeenSet = false;
218
219 Aws::String m_modelName;
220 bool m_modelNameHasBeenSet = false;
221
222 Aws::String m_jobName;
223 bool m_jobNameHasBeenSet = false;
224
225 Aws::String m_jobArn;
226 bool m_jobArnHasBeenSet = false;
227
228 ModelDataSource m_modelDataSource;
229 bool m_modelDataSourceHasBeenSet = false;
230
231 Aws::Utils::DateTime m_creationTime{};
232 bool m_creationTimeHasBeenSet = false;
233
234 Aws::String m_modelArchitecture;
235 bool m_modelArchitectureHasBeenSet = false;
236
237 Aws::String m_modelKmsKeyArn;
238 bool m_modelKmsKeyArnHasBeenSet = false;
239
240 bool m_instructSupported{false};
241 bool m_instructSupportedHasBeenSet = false;
242
243 CustomModelUnits m_customModelUnits;
244 bool m_customModelUnitsHasBeenSet = false;
245
246 Aws::String m_requestId;
247 bool m_requestIdHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace Bedrock
252} // namespace Aws
AWS_BEDROCK_API GetImportedModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportedModelResult & WithModelKmsKeyArn(ModelKmsKeyArnT &&value)
AWS_BEDROCK_API GetImportedModelResult()=default
GetImportedModelResult & WithCustomModelUnits(CustomModelUnitsT &&value)
GetImportedModelResult & WithModelName(ModelNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetImportedModelResult & WithJobArn(JobArnT &&value)
AWS_BEDROCK_API GetImportedModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCustomModelUnits(CustomModelUnitsT &&value)
GetImportedModelResult & WithRequestId(RequestIdT &&value)
const CustomModelUnits & GetCustomModelUnits() const
GetImportedModelResult & WithCreationTime(CreationTimeT &&value)
GetImportedModelResult & WithModelArchitecture(ModelArchitectureT &&value)
GetImportedModelResult & WithJobName(JobNameT &&value)
void SetModelArchitecture(ModelArchitectureT &&value)
const ModelDataSource & GetModelDataSource() const
GetImportedModelResult & WithInstructSupported(bool value)
GetImportedModelResult & WithModelArn(ModelArnT &&value)
GetImportedModelResult & WithModelDataSource(ModelDataSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue