AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
GetInferenceProfileResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/InferenceProfileModel.h>
9#include <aws/bedrock/model/InferenceProfileStatus.h>
10#include <aws/bedrock/model/InferenceProfileType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock {
27namespace Model {
29 public:
30 AWS_BEDROCK_API GetInferenceProfileResult() = default;
33
35
38 inline const Aws::String& GetInferenceProfileName() const { return m_inferenceProfileName; }
39 template <typename InferenceProfileNameT = Aws::String>
40 void SetInferenceProfileName(InferenceProfileNameT&& value) {
41 m_inferenceProfileNameHasBeenSet = true;
42 m_inferenceProfileName = std::forward<InferenceProfileNameT>(value);
43 }
44 template <typename InferenceProfileNameT = Aws::String>
45 GetInferenceProfileResult& WithInferenceProfileName(InferenceProfileNameT&& value) {
46 SetInferenceProfileName(std::forward<InferenceProfileNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
73 template <typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) {
75 m_createdAtHasBeenSet = true;
76 m_createdAt = std::forward<CreatedAtT>(value);
77 }
78 template <typename CreatedAtT = Aws::Utils::DateTime>
80 SetCreatedAt(std::forward<CreatedAtT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
90 template <typename UpdatedAtT = Aws::Utils::DateTime>
91 void SetUpdatedAt(UpdatedAtT&& value) {
92 m_updatedAtHasBeenSet = true;
93 m_updatedAt = std::forward<UpdatedAtT>(value);
94 }
95 template <typename UpdatedAtT = Aws::Utils::DateTime>
97 SetUpdatedAt(std::forward<UpdatedAtT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetInferenceProfileArn() const { return m_inferenceProfileArn; }
107 template <typename InferenceProfileArnT = Aws::String>
108 void SetInferenceProfileArn(InferenceProfileArnT&& value) {
109 m_inferenceProfileArnHasBeenSet = true;
110 m_inferenceProfileArn = std::forward<InferenceProfileArnT>(value);
111 }
112 template <typename InferenceProfileArnT = Aws::String>
113 GetInferenceProfileResult& WithInferenceProfileArn(InferenceProfileArnT&& value) {
114 SetInferenceProfileArn(std::forward<InferenceProfileArnT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Vector<InferenceProfileModel>& GetModels() const { return m_models; }
124 template <typename ModelsT = Aws::Vector<InferenceProfileModel>>
125 void SetModels(ModelsT&& value) {
126 m_modelsHasBeenSet = true;
127 m_models = std::forward<ModelsT>(value);
128 }
129 template <typename ModelsT = Aws::Vector<InferenceProfileModel>>
131 SetModels(std::forward<ModelsT>(value));
132 return *this;
133 }
134 template <typename ModelsT = InferenceProfileModel>
136 m_modelsHasBeenSet = true;
137 m_models.emplace_back(std::forward<ModelsT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetInferenceProfileId() const { return m_inferenceProfileId; }
147 template <typename InferenceProfileIdT = Aws::String>
148 void SetInferenceProfileId(InferenceProfileIdT&& value) {
149 m_inferenceProfileIdHasBeenSet = true;
150 m_inferenceProfileId = std::forward<InferenceProfileIdT>(value);
151 }
152 template <typename InferenceProfileIdT = Aws::String>
153 GetInferenceProfileResult& WithInferenceProfileId(InferenceProfileIdT&& value) {
154 SetInferenceProfileId(std::forward<InferenceProfileIdT>(value));
155 return *this;
156 }
158
160
164 inline InferenceProfileStatus GetStatus() const { return m_status; }
166 m_statusHasBeenSet = true;
167 m_status = value;
168 }
170 SetStatus(value);
171 return *this;
172 }
174
176
185 inline InferenceProfileType GetType() const { return m_type; }
186 inline void SetType(InferenceProfileType value) {
187 m_typeHasBeenSet = true;
188 m_type = value;
189 }
191 SetType(value);
192 return *this;
193 }
195
197
198 inline const Aws::String& GetRequestId() const { return m_requestId; }
199 template <typename RequestIdT = Aws::String>
200 void SetRequestId(RequestIdT&& value) {
201 m_requestIdHasBeenSet = true;
202 m_requestId = std::forward<RequestIdT>(value);
203 }
204 template <typename RequestIdT = Aws::String>
206 SetRequestId(std::forward<RequestIdT>(value));
207 return *this;
208 }
210 private:
211 Aws::String m_inferenceProfileName;
212 bool m_inferenceProfileNameHasBeenSet = false;
213
214 Aws::String m_description;
215 bool m_descriptionHasBeenSet = false;
216
217 Aws::Utils::DateTime m_createdAt{};
218 bool m_createdAtHasBeenSet = false;
219
220 Aws::Utils::DateTime m_updatedAt{};
221 bool m_updatedAtHasBeenSet = false;
222
223 Aws::String m_inferenceProfileArn;
224 bool m_inferenceProfileArnHasBeenSet = false;
225
227 bool m_modelsHasBeenSet = false;
228
229 Aws::String m_inferenceProfileId;
230 bool m_inferenceProfileIdHasBeenSet = false;
231
233 bool m_statusHasBeenSet = false;
234
236 bool m_typeHasBeenSet = false;
237
238 Aws::String m_requestId;
239 bool m_requestIdHasBeenSet = false;
240};
241
242} // namespace Model
243} // namespace Bedrock
244} // namespace Aws
GetInferenceProfileResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCK_API GetInferenceProfileResult()=default
GetInferenceProfileResult & AddModels(ModelsT &&value)
GetInferenceProfileResult & WithUpdatedAt(UpdatedAtT &&value)
GetInferenceProfileResult & WithInferenceProfileName(InferenceProfileNameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetInferenceProfileResult & WithInferenceProfileId(InferenceProfileIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_BEDROCK_API GetInferenceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCK_API GetInferenceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInferenceProfileResult & WithInferenceProfileArn(InferenceProfileArnT &&value)
GetInferenceProfileResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< InferenceProfileModel > & GetModels() const
void SetInferenceProfileName(InferenceProfileNameT &&value)
GetInferenceProfileResult & WithDescription(DescriptionT &&value)
GetInferenceProfileResult & WithStatus(InferenceProfileStatus value)
void SetInferenceProfileArn(InferenceProfileArnT &&value)
GetInferenceProfileResult & WithModels(ModelsT &&value)
GetInferenceProfileResult & WithType(InferenceProfileType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue