AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetCustomModelDeploymentResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomModelDeploymentStatus.h>
9#include <aws/bedrock/model/CustomModelDeploymentUpdateDetails.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Bedrock {
26namespace Model {
28 public:
29 AWS_BEDROCK_API GetCustomModelDeploymentResult() = default;
32
34
37 inline const Aws::String& GetCustomModelDeploymentArn() const { return m_customModelDeploymentArn; }
38 template <typename CustomModelDeploymentArnT = Aws::String>
40 m_customModelDeploymentArnHasBeenSet = true;
41 m_customModelDeploymentArn = std::forward<CustomModelDeploymentArnT>(value);
42 }
43 template <typename CustomModelDeploymentArnT = Aws::String>
45 SetCustomModelDeploymentArn(std::forward<CustomModelDeploymentArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetModelDeploymentName() const { return m_modelDeploymentName; }
55 template <typename ModelDeploymentNameT = Aws::String>
57 m_modelDeploymentNameHasBeenSet = true;
58 m_modelDeploymentName = std::forward<ModelDeploymentNameT>(value);
59 }
60 template <typename ModelDeploymentNameT = Aws::String>
62 SetModelDeploymentName(std::forward<ModelDeploymentNameT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetModelArn() const { return m_modelArn; }
73 template <typename ModelArnT = Aws::String>
74 void SetModelArn(ModelArnT&& value) {
75 m_modelArnHasBeenSet = true;
76 m_modelArn = std::forward<ModelArnT>(value);
77 }
78 template <typename ModelArnT = Aws::String>
80 SetModelArn(std::forward<ModelArnT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
90 template <typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) {
92 m_createdAtHasBeenSet = true;
93 m_createdAt = std::forward<CreatedAtT>(value);
94 }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
97 SetCreatedAt(std::forward<CreatedAtT>(value));
98 return *this;
99 }
101
103
110 inline CustomModelDeploymentStatus GetStatus() const { return m_status; }
112 m_statusHasBeenSet = true;
113 m_status = value;
114 }
116 SetStatus(value);
117 return *this;
118 }
120
122
125 inline const Aws::String& GetDescription() const { return m_description; }
126 template <typename DescriptionT = Aws::String>
128 m_descriptionHasBeenSet = true;
129 m_description = std::forward<DescriptionT>(value);
130 }
131 template <typename DescriptionT = Aws::String>
133 SetDescription(std::forward<DescriptionT>(value));
134 return *this;
135 }
137
139
143 inline const CustomModelDeploymentUpdateDetails& GetUpdateDetails() const { return m_updateDetails; }
144 template <typename UpdateDetailsT = CustomModelDeploymentUpdateDetails>
146 m_updateDetailsHasBeenSet = true;
147 m_updateDetails = std::forward<UpdateDetailsT>(value);
148 }
149 template <typename UpdateDetailsT = CustomModelDeploymentUpdateDetails>
151 SetUpdateDetails(std::forward<UpdateDetailsT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
162 template <typename FailureMessageT = Aws::String>
164 m_failureMessageHasBeenSet = true;
165 m_failureMessage = std::forward<FailureMessageT>(value);
166 }
167 template <typename FailureMessageT = Aws::String>
169 SetFailureMessage(std::forward<FailureMessageT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
179 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
181 m_lastUpdatedAtHasBeenSet = true;
182 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
183 }
184 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
186 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
187 return *this;
188 }
190
192
193 inline const Aws::String& GetRequestId() const { return m_requestId; }
194 template <typename RequestIdT = Aws::String>
195 void SetRequestId(RequestIdT&& value) {
196 m_requestIdHasBeenSet = true;
197 m_requestId = std::forward<RequestIdT>(value);
198 }
199 template <typename RequestIdT = Aws::String>
201 SetRequestId(std::forward<RequestIdT>(value));
202 return *this;
203 }
205 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
206
207 private:
208 Aws::String m_customModelDeploymentArn;
209
210 Aws::String m_modelDeploymentName;
211
212 Aws::String m_modelArn;
213
214 Aws::Utils::DateTime m_createdAt{};
215
217
218 Aws::String m_description;
219
220 CustomModelDeploymentUpdateDetails m_updateDetails;
221
222 Aws::String m_failureMessage;
223
224 Aws::Utils::DateTime m_lastUpdatedAt{};
225
226 Aws::String m_requestId;
227 Aws::Http::HttpResponseCode m_HttpResponseCode;
228 bool m_customModelDeploymentArnHasBeenSet = false;
229 bool m_modelDeploymentNameHasBeenSet = false;
230 bool m_modelArnHasBeenSet = false;
231 bool m_createdAtHasBeenSet = false;
232 bool m_statusHasBeenSet = false;
233 bool m_descriptionHasBeenSet = false;
234 bool m_updateDetailsHasBeenSet = false;
235 bool m_failureMessageHasBeenSet = false;
236 bool m_lastUpdatedAtHasBeenSet = false;
237 bool m_requestIdHasBeenSet = false;
238};
239
240} // namespace Model
241} // namespace Bedrock
242} // namespace Aws
AWS_BEDROCK_API GetCustomModelDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCustomModelDeploymentResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCK_API GetCustomModelDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCustomModelDeploymentArn(CustomModelDeploymentArnT &&value)
GetCustomModelDeploymentResult & WithStatus(CustomModelDeploymentStatus value)
const CustomModelDeploymentUpdateDetails & GetUpdateDetails() const
GetCustomModelDeploymentResult & WithCustomModelDeploymentArn(CustomModelDeploymentArnT &&value)
GetCustomModelDeploymentResult & WithFailureMessage(FailureMessageT &&value)
GetCustomModelDeploymentResult & WithModelArn(ModelArnT &&value)
GetCustomModelDeploymentResult & WithModelDeploymentName(ModelDeploymentNameT &&value)
GetCustomModelDeploymentResult & WithCreatedAt(CreatedAtT &&value)
GetCustomModelDeploymentResult & WithUpdateDetails(UpdateDetailsT &&value)
AWS_BEDROCK_API GetCustomModelDeploymentResult()=default
GetCustomModelDeploymentResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetCustomModelDeploymentResult & WithDescription(DescriptionT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue