AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetInferenceProfileResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock/model/InferenceProfileStatus.h>
12#include <aws/bedrock/model/InferenceProfileType.h>
13#include <aws/bedrock/model/InferenceProfileModel.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Bedrock
29{
30namespace Model
31{
33 {
34 public:
35 AWS_BEDROCK_API GetInferenceProfileResult() = default;
38
39
41
44 inline const Aws::String& GetInferenceProfileName() const { return m_inferenceProfileName; }
45 template<typename InferenceProfileNameT = Aws::String>
46 void SetInferenceProfileName(InferenceProfileNameT&& value) { m_inferenceProfileNameHasBeenSet = true; m_inferenceProfileName = std::forward<InferenceProfileNameT>(value); }
47 template<typename InferenceProfileNameT = Aws::String>
48 GetInferenceProfileResult& WithInferenceProfileName(InferenceProfileNameT&& value) { SetInferenceProfileName(std::forward<InferenceProfileNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 GetInferenceProfileResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
67 template<typename CreatedAtT = Aws::Utils::DateTime>
68 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
69 template<typename CreatedAtT = Aws::Utils::DateTime>
70 GetInferenceProfileResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
78 template<typename UpdatedAtT = Aws::Utils::DateTime>
79 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
80 template<typename UpdatedAtT = Aws::Utils::DateTime>
81 GetInferenceProfileResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
83
85
88 inline const Aws::String& GetInferenceProfileArn() const { return m_inferenceProfileArn; }
89 template<typename InferenceProfileArnT = Aws::String>
90 void SetInferenceProfileArn(InferenceProfileArnT&& value) { m_inferenceProfileArnHasBeenSet = true; m_inferenceProfileArn = std::forward<InferenceProfileArnT>(value); }
91 template<typename InferenceProfileArnT = Aws::String>
92 GetInferenceProfileResult& WithInferenceProfileArn(InferenceProfileArnT&& value) { SetInferenceProfileArn(std::forward<InferenceProfileArnT>(value)); return *this;}
94
96
99 inline const Aws::Vector<InferenceProfileModel>& GetModels() const { return m_models; }
100 template<typename ModelsT = Aws::Vector<InferenceProfileModel>>
101 void SetModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models = std::forward<ModelsT>(value); }
102 template<typename ModelsT = Aws::Vector<InferenceProfileModel>>
103 GetInferenceProfileResult& WithModels(ModelsT&& value) { SetModels(std::forward<ModelsT>(value)); return *this;}
104 template<typename ModelsT = InferenceProfileModel>
105 GetInferenceProfileResult& AddModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models.emplace_back(std::forward<ModelsT>(value)); return *this; }
107
109
112 inline const Aws::String& GetInferenceProfileId() const { return m_inferenceProfileId; }
113 template<typename InferenceProfileIdT = Aws::String>
114 void SetInferenceProfileId(InferenceProfileIdT&& value) { m_inferenceProfileIdHasBeenSet = true; m_inferenceProfileId = std::forward<InferenceProfileIdT>(value); }
115 template<typename InferenceProfileIdT = Aws::String>
116 GetInferenceProfileResult& WithInferenceProfileId(InferenceProfileIdT&& value) { SetInferenceProfileId(std::forward<InferenceProfileIdT>(value)); return *this;}
118
120
124 inline InferenceProfileStatus GetStatus() const { return m_status; }
125 inline void SetStatus(InferenceProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
128
130
139 inline InferenceProfileType GetType() const { return m_type; }
140 inline void SetType(InferenceProfileType value) { m_typeHasBeenSet = true; m_type = value; }
141 inline GetInferenceProfileResult& WithType(InferenceProfileType value) { SetType(value); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template<typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
149 template<typename RequestIdT = Aws::String>
150 GetInferenceProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
152 private:
153
154 Aws::String m_inferenceProfileName;
155 bool m_inferenceProfileNameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt{};
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_updatedAt{};
164 bool m_updatedAtHasBeenSet = false;
165
166 Aws::String m_inferenceProfileArn;
167 bool m_inferenceProfileArnHasBeenSet = false;
168
170 bool m_modelsHasBeenSet = false;
171
172 Aws::String m_inferenceProfileId;
173 bool m_inferenceProfileIdHasBeenSet = false;
174
176 bool m_statusHasBeenSet = false;
177
179 bool m_typeHasBeenSet = false;
180
181 Aws::String m_requestId;
182 bool m_requestIdHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace Bedrock
187} // 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