AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock {
25namespace Model {
27 public:
28 AWS_BEDROCK_API GetCustomModelDeploymentResult() = default;
31
33
36 inline const Aws::String& GetCustomModelDeploymentArn() const { return m_customModelDeploymentArn; }
37 template <typename CustomModelDeploymentArnT = Aws::String>
39 m_customModelDeploymentArnHasBeenSet = true;
40 m_customModelDeploymentArn = std::forward<CustomModelDeploymentArnT>(value);
41 }
42 template <typename CustomModelDeploymentArnT = Aws::String>
44 SetCustomModelDeploymentArn(std::forward<CustomModelDeploymentArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetModelDeploymentName() const { return m_modelDeploymentName; }
54 template <typename ModelDeploymentNameT = Aws::String>
56 m_modelDeploymentNameHasBeenSet = true;
57 m_modelDeploymentName = std::forward<ModelDeploymentNameT>(value);
58 }
59 template <typename ModelDeploymentNameT = Aws::String>
61 SetModelDeploymentName(std::forward<ModelDeploymentNameT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetModelArn() const { return m_modelArn; }
72 template <typename ModelArnT = Aws::String>
73 void SetModelArn(ModelArnT&& value) {
74 m_modelArnHasBeenSet = true;
75 m_modelArn = std::forward<ModelArnT>(value);
76 }
77 template <typename ModelArnT = Aws::String>
79 SetModelArn(std::forward<ModelArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
89 template <typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) {
91 m_createdAtHasBeenSet = true;
92 m_createdAt = std::forward<CreatedAtT>(value);
93 }
94 template <typename CreatedAtT = Aws::Utils::DateTime>
96 SetCreatedAt(std::forward<CreatedAtT>(value));
97 return *this;
98 }
100
102
109 inline CustomModelDeploymentStatus GetStatus() const { return m_status; }
111 m_statusHasBeenSet = true;
112 m_status = value;
113 }
115 SetStatus(value);
116 return *this;
117 }
119
121
124 inline const Aws::String& GetDescription() const { return m_description; }
125 template <typename DescriptionT = Aws::String>
127 m_descriptionHasBeenSet = true;
128 m_description = std::forward<DescriptionT>(value);
129 }
130 template <typename DescriptionT = Aws::String>
132 SetDescription(std::forward<DescriptionT>(value));
133 return *this;
134 }
136
138
142 inline const CustomModelDeploymentUpdateDetails& GetUpdateDetails() const { return m_updateDetails; }
143 template <typename UpdateDetailsT = CustomModelDeploymentUpdateDetails>
145 m_updateDetailsHasBeenSet = true;
146 m_updateDetails = std::forward<UpdateDetailsT>(value);
147 }
148 template <typename UpdateDetailsT = CustomModelDeploymentUpdateDetails>
150 SetUpdateDetails(std::forward<UpdateDetailsT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
161 template <typename FailureMessageT = Aws::String>
163 m_failureMessageHasBeenSet = true;
164 m_failureMessage = std::forward<FailureMessageT>(value);
165 }
166 template <typename FailureMessageT = Aws::String>
168 SetFailureMessage(std::forward<FailureMessageT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
178 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
180 m_lastUpdatedAtHasBeenSet = true;
181 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
182 }
183 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
185 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
186 return *this;
187 }
189
191
192 inline const Aws::String& GetRequestId() const { return m_requestId; }
193 template <typename RequestIdT = Aws::String>
194 void SetRequestId(RequestIdT&& value) {
195 m_requestIdHasBeenSet = true;
196 m_requestId = std::forward<RequestIdT>(value);
197 }
198 template <typename RequestIdT = Aws::String>
200 SetRequestId(std::forward<RequestIdT>(value));
201 return *this;
202 }
204 private:
205 Aws::String m_customModelDeploymentArn;
206
207 Aws::String m_modelDeploymentName;
208
209 Aws::String m_modelArn;
210
211 Aws::Utils::DateTime m_createdAt{};
212
214
215 Aws::String m_description;
216
217 CustomModelDeploymentUpdateDetails m_updateDetails;
218
219 Aws::String m_failureMessage;
220
221 Aws::Utils::DateTime m_lastUpdatedAt{};
222
223 Aws::String m_requestId;
224 bool m_customModelDeploymentArnHasBeenSet = false;
225 bool m_modelDeploymentNameHasBeenSet = false;
226 bool m_modelArnHasBeenSet = false;
227 bool m_createdAtHasBeenSet = false;
228 bool m_statusHasBeenSet = false;
229 bool m_descriptionHasBeenSet = false;
230 bool m_updateDetailsHasBeenSet = false;
231 bool m_failureMessageHasBeenSet = false;
232 bool m_lastUpdatedAtHasBeenSet = false;
233 bool m_requestIdHasBeenSet = false;
234};
235
236} // namespace Model
237} // namespace Bedrock
238} // 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