AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetImportedModelResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/ModelDataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock/model/CustomModelUnits.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BEDROCK_API GetImportedModelResult() = default;
36
37
39
42 inline const Aws::String& GetModelArn() const { return m_modelArn; }
43 template<typename ModelArnT = Aws::String>
44 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
45 template<typename ModelArnT = Aws::String>
46 GetImportedModelResult& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetModelName() const { return m_modelName; }
54 template<typename ModelNameT = Aws::String>
55 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
56 template<typename ModelNameT = Aws::String>
57 GetImportedModelResult& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetJobName() const { return m_jobName; }
65 template<typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
67 template<typename JobNameT = Aws::String>
68 GetImportedModelResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetJobArn() const { return m_jobArn; }
76 template<typename JobArnT = Aws::String>
77 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
78 template<typename JobArnT = Aws::String>
79 GetImportedModelResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
81
83
86 inline const ModelDataSource& GetModelDataSource() const { return m_modelDataSource; }
87 template<typename ModelDataSourceT = ModelDataSource>
88 void SetModelDataSource(ModelDataSourceT&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::forward<ModelDataSourceT>(value); }
89 template<typename ModelDataSourceT = ModelDataSource>
90 GetImportedModelResult& WithModelDataSource(ModelDataSourceT&& value) { SetModelDataSource(std::forward<ModelDataSourceT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 GetImportedModelResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::String& GetModelArchitecture() const { return m_modelArchitecture; }
109 template<typename ModelArchitectureT = Aws::String>
110 void SetModelArchitecture(ModelArchitectureT&& value) { m_modelArchitectureHasBeenSet = true; m_modelArchitecture = std::forward<ModelArchitectureT>(value); }
111 template<typename ModelArchitectureT = Aws::String>
112 GetImportedModelResult& WithModelArchitecture(ModelArchitectureT&& value) { SetModelArchitecture(std::forward<ModelArchitectureT>(value)); return *this;}
114
116
119 inline const Aws::String& GetModelKmsKeyArn() const { return m_modelKmsKeyArn; }
120 template<typename ModelKmsKeyArnT = Aws::String>
121 void SetModelKmsKeyArn(ModelKmsKeyArnT&& value) { m_modelKmsKeyArnHasBeenSet = true; m_modelKmsKeyArn = std::forward<ModelKmsKeyArnT>(value); }
122 template<typename ModelKmsKeyArnT = Aws::String>
123 GetImportedModelResult& WithModelKmsKeyArn(ModelKmsKeyArnT&& value) { SetModelKmsKeyArn(std::forward<ModelKmsKeyArnT>(value)); return *this;}
125
127
130 inline bool GetInstructSupported() const { return m_instructSupported; }
131 inline void SetInstructSupported(bool value) { m_instructSupportedHasBeenSet = true; m_instructSupported = value; }
132 inline GetImportedModelResult& WithInstructSupported(bool value) { SetInstructSupported(value); return *this;}
134
136
140 inline const CustomModelUnits& GetCustomModelUnits() const { return m_customModelUnits; }
141 template<typename CustomModelUnitsT = CustomModelUnits>
142 void SetCustomModelUnits(CustomModelUnitsT&& value) { m_customModelUnitsHasBeenSet = true; m_customModelUnits = std::forward<CustomModelUnitsT>(value); }
143 template<typename CustomModelUnitsT = CustomModelUnits>
144 GetImportedModelResult& WithCustomModelUnits(CustomModelUnitsT&& value) { SetCustomModelUnits(std::forward<CustomModelUnitsT>(value)); return *this;}
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 template<typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
152 template<typename RequestIdT = Aws::String>
153 GetImportedModelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
155 private:
156
157 Aws::String m_modelArn;
158 bool m_modelArnHasBeenSet = false;
159
160 Aws::String m_modelName;
161 bool m_modelNameHasBeenSet = false;
162
163 Aws::String m_jobName;
164 bool m_jobNameHasBeenSet = false;
165
166 Aws::String m_jobArn;
167 bool m_jobArnHasBeenSet = false;
168
169 ModelDataSource m_modelDataSource;
170 bool m_modelDataSourceHasBeenSet = false;
171
172 Aws::Utils::DateTime m_creationTime{};
173 bool m_creationTimeHasBeenSet = false;
174
175 Aws::String m_modelArchitecture;
176 bool m_modelArchitectureHasBeenSet = false;
177
178 Aws::String m_modelKmsKeyArn;
179 bool m_modelKmsKeyArnHasBeenSet = false;
180
181 bool m_instructSupported{false};
182 bool m_instructSupportedHasBeenSet = false;
183
184 CustomModelUnits m_customModelUnits;
185 bool m_customModelUnitsHasBeenSet = false;
186
187 Aws::String m_requestId;
188 bool m_requestIdHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace Bedrock
193} // 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
void SetModelDataSource(ModelDataSourceT &&value)
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