AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Bedrock {
28namespace Model {
30 public:
31 AWS_BEDROCK_API GetInferenceProfileResult() = default;
34
36
39 inline const Aws::String& GetInferenceProfileName() const { return m_inferenceProfileName; }
40 template <typename InferenceProfileNameT = Aws::String>
42 m_inferenceProfileNameHasBeenSet = true;
43 m_inferenceProfileName = std::forward<InferenceProfileNameT>(value);
44 }
45 template <typename InferenceProfileNameT = Aws::String>
47 SetInferenceProfileName(std::forward<InferenceProfileNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 template <typename DescriptionT = Aws::String>
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
74 template <typename CreatedAtT = Aws::Utils::DateTime>
75 void SetCreatedAt(CreatedAtT&& value) {
76 m_createdAtHasBeenSet = true;
77 m_createdAt = std::forward<CreatedAtT>(value);
78 }
79 template <typename CreatedAtT = Aws::Utils::DateTime>
81 SetCreatedAt(std::forward<CreatedAtT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
91 template <typename UpdatedAtT = Aws::Utils::DateTime>
92 void SetUpdatedAt(UpdatedAtT&& value) {
93 m_updatedAtHasBeenSet = true;
94 m_updatedAt = std::forward<UpdatedAtT>(value);
95 }
96 template <typename UpdatedAtT = Aws::Utils::DateTime>
98 SetUpdatedAt(std::forward<UpdatedAtT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetInferenceProfileArn() const { return m_inferenceProfileArn; }
108 template <typename InferenceProfileArnT = Aws::String>
110 m_inferenceProfileArnHasBeenSet = true;
111 m_inferenceProfileArn = std::forward<InferenceProfileArnT>(value);
112 }
113 template <typename InferenceProfileArnT = Aws::String>
115 SetInferenceProfileArn(std::forward<InferenceProfileArnT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Vector<InferenceProfileModel>& GetModels() const { return m_models; }
125 template <typename ModelsT = Aws::Vector<InferenceProfileModel>>
126 void SetModels(ModelsT&& value) {
127 m_modelsHasBeenSet = true;
128 m_models = std::forward<ModelsT>(value);
129 }
130 template <typename ModelsT = Aws::Vector<InferenceProfileModel>>
132 SetModels(std::forward<ModelsT>(value));
133 return *this;
134 }
135 template <typename ModelsT = InferenceProfileModel>
137 m_modelsHasBeenSet = true;
138 m_models.emplace_back(std::forward<ModelsT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetInferenceProfileId() const { return m_inferenceProfileId; }
148 template <typename InferenceProfileIdT = Aws::String>
150 m_inferenceProfileIdHasBeenSet = true;
151 m_inferenceProfileId = std::forward<InferenceProfileIdT>(value);
152 }
153 template <typename InferenceProfileIdT = Aws::String>
155 SetInferenceProfileId(std::forward<InferenceProfileIdT>(value));
156 return *this;
157 }
159
161
165 inline InferenceProfileStatus GetStatus() const { return m_status; }
167 m_statusHasBeenSet = true;
168 m_status = value;
169 }
171 SetStatus(value);
172 return *this;
173 }
175
177
186 inline InferenceProfileType GetType() const { return m_type; }
187 inline void SetType(InferenceProfileType value) {
188 m_typeHasBeenSet = true;
189 m_type = value;
190 }
192 SetType(value);
193 return *this;
194 }
196
198
199 inline const Aws::String& GetRequestId() const { return m_requestId; }
200 template <typename RequestIdT = Aws::String>
201 void SetRequestId(RequestIdT&& value) {
202 m_requestIdHasBeenSet = true;
203 m_requestId = std::forward<RequestIdT>(value);
204 }
205 template <typename RequestIdT = Aws::String>
207 SetRequestId(std::forward<RequestIdT>(value));
208 return *this;
209 }
211 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
212
213 private:
214 Aws::String m_inferenceProfileName;
215
216 Aws::String m_description;
217
218 Aws::Utils::DateTime m_createdAt{};
219
220 Aws::Utils::DateTime m_updatedAt{};
221
222 Aws::String m_inferenceProfileArn;
223
225
226 Aws::String m_inferenceProfileId;
227
229
231
232 Aws::String m_requestId;
233 Aws::Http::HttpResponseCode m_HttpResponseCode;
234 bool m_inferenceProfileNameHasBeenSet = false;
235 bool m_descriptionHasBeenSet = false;
236 bool m_createdAtHasBeenSet = false;
237 bool m_updatedAtHasBeenSet = false;
238 bool m_inferenceProfileArnHasBeenSet = false;
239 bool m_modelsHasBeenSet = false;
240 bool m_inferenceProfileIdHasBeenSet = false;
241 bool m_statusHasBeenSet = false;
242 bool m_typeHasBeenSet = false;
243 bool m_requestIdHasBeenSet = false;
244};
245
246} // namespace Model
247} // namespace Bedrock
248} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetInferenceProfileResult & WithModels(ModelsT &&value)
GetInferenceProfileResult & WithType(InferenceProfileType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue