AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
InferenceProfileSummary.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 {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock {
25namespace Model {
26
34 public:
35 AWS_BEDROCK_API InferenceProfileSummary() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetInferenceProfileName() const { return m_inferenceProfileName; }
45 inline bool InferenceProfileNameHasBeenSet() const { return m_inferenceProfileNameHasBeenSet; }
46 template <typename InferenceProfileNameT = Aws::String>
47 void SetInferenceProfileName(InferenceProfileNameT&& value) {
48 m_inferenceProfileNameHasBeenSet = true;
49 m_inferenceProfileName = std::forward<InferenceProfileNameT>(value);
50 }
51 template <typename InferenceProfileNameT = Aws::String>
52 InferenceProfileSummary& WithInferenceProfileName(InferenceProfileNameT&& value) {
53 SetInferenceProfileName(std::forward<InferenceProfileNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template <typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) {
66 m_descriptionHasBeenSet = true;
67 m_description = std::forward<DescriptionT>(value);
68 }
69 template <typename DescriptionT = Aws::String>
71 SetDescription(std::forward<DescriptionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
81 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
82 template <typename CreatedAtT = Aws::Utils::DateTime>
83 void SetCreatedAt(CreatedAtT&& value) {
84 m_createdAtHasBeenSet = true;
85 m_createdAt = std::forward<CreatedAtT>(value);
86 }
87 template <typename CreatedAtT = Aws::Utils::DateTime>
89 SetCreatedAt(std::forward<CreatedAtT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
99 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
100 template <typename UpdatedAtT = Aws::Utils::DateTime>
101 void SetUpdatedAt(UpdatedAtT&& value) {
102 m_updatedAtHasBeenSet = true;
103 m_updatedAt = std::forward<UpdatedAtT>(value);
104 }
105 template <typename UpdatedAtT = Aws::Utils::DateTime>
107 SetUpdatedAt(std::forward<UpdatedAtT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetInferenceProfileArn() const { return m_inferenceProfileArn; }
117 inline bool InferenceProfileArnHasBeenSet() const { return m_inferenceProfileArnHasBeenSet; }
118 template <typename InferenceProfileArnT = Aws::String>
119 void SetInferenceProfileArn(InferenceProfileArnT&& value) {
120 m_inferenceProfileArnHasBeenSet = true;
121 m_inferenceProfileArn = std::forward<InferenceProfileArnT>(value);
122 }
123 template <typename InferenceProfileArnT = Aws::String>
124 InferenceProfileSummary& WithInferenceProfileArn(InferenceProfileArnT&& value) {
125 SetInferenceProfileArn(std::forward<InferenceProfileArnT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Vector<InferenceProfileModel>& GetModels() const { return m_models; }
135 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
136 template <typename ModelsT = Aws::Vector<InferenceProfileModel>>
137 void SetModels(ModelsT&& value) {
138 m_modelsHasBeenSet = true;
139 m_models = std::forward<ModelsT>(value);
140 }
141 template <typename ModelsT = Aws::Vector<InferenceProfileModel>>
143 SetModels(std::forward<ModelsT>(value));
144 return *this;
145 }
146 template <typename ModelsT = InferenceProfileModel>
148 m_modelsHasBeenSet = true;
149 m_models.emplace_back(std::forward<ModelsT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::String& GetInferenceProfileId() const { return m_inferenceProfileId; }
159 inline bool InferenceProfileIdHasBeenSet() const { return m_inferenceProfileIdHasBeenSet; }
160 template <typename InferenceProfileIdT = Aws::String>
161 void SetInferenceProfileId(InferenceProfileIdT&& value) {
162 m_inferenceProfileIdHasBeenSet = true;
163 m_inferenceProfileId = std::forward<InferenceProfileIdT>(value);
164 }
165 template <typename InferenceProfileIdT = Aws::String>
166 InferenceProfileSummary& WithInferenceProfileId(InferenceProfileIdT&& value) {
167 SetInferenceProfileId(std::forward<InferenceProfileIdT>(value));
168 return *this;
169 }
171
173
177 inline InferenceProfileStatus GetStatus() const { return m_status; }
178 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
180 m_statusHasBeenSet = true;
181 m_status = value;
182 }
184 SetStatus(value);
185 return *this;
186 }
188
190
199 inline InferenceProfileType GetType() const { return m_type; }
200 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
201 inline void SetType(InferenceProfileType value) {
202 m_typeHasBeenSet = true;
203 m_type = value;
204 }
206 SetType(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
239} // namespace Model
240} // namespace Bedrock
241} // namespace Aws
const Aws::Vector< InferenceProfileModel > & GetModels() const
InferenceProfileSummary & WithCreatedAt(CreatedAtT &&value)
InferenceProfileSummary & WithDescription(DescriptionT &&value)
InferenceProfileSummary & WithStatus(InferenceProfileStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetInferenceProfileName(InferenceProfileNameT &&value)
AWS_BEDROCK_API InferenceProfileSummary()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceProfileSummary & AddModels(ModelsT &&value)
InferenceProfileSummary & WithInferenceProfileId(InferenceProfileIdT &&value)
void SetInferenceProfileId(InferenceProfileIdT &&value)
AWS_BEDROCK_API InferenceProfileSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceProfileSummary & WithModels(ModelsT &&value)
InferenceProfileSummary & WithInferenceProfileName(InferenceProfileNameT &&value)
AWS_BEDROCK_API InferenceProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceProfileSummary & WithUpdatedAt(UpdatedAtT &&value)
InferenceProfileSummary & WithType(InferenceProfileType value)
InferenceProfileSummary & WithInferenceProfileArn(InferenceProfileArnT &&value)
void SetInferenceProfileArn(InferenceProfileArnT &&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