AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
MarketplaceModelEndpoint.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EndpointConfig.h>
9#include <aws/bedrock/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock {
23namespace Model {
24
32 public:
33 AWS_BEDROCK_API MarketplaceModelEndpoint() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
43 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
44 template <typename EndpointArnT = Aws::String>
46 m_endpointArnHasBeenSet = true;
47 m_endpointArn = std::forward<EndpointArnT>(value);
48 }
49 template <typename EndpointArnT = Aws::String>
51 SetEndpointArn(std::forward<EndpointArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetModelSourceIdentifier() const { return m_modelSourceIdentifier; }
62 inline bool ModelSourceIdentifierHasBeenSet() const { return m_modelSourceIdentifierHasBeenSet; }
63 template <typename ModelSourceIdentifierT = Aws::String>
65 m_modelSourceIdentifierHasBeenSet = true;
66 m_modelSourceIdentifier = std::forward<ModelSourceIdentifierT>(value);
67 }
68 template <typename ModelSourceIdentifierT = Aws::String>
70 SetModelSourceIdentifier(std::forward<ModelSourceIdentifierT>(value));
71 return *this;
72 }
74
76
80 inline Status GetStatus() const { return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(Status value) {
83 m_statusHasBeenSet = true;
84 m_status = value;
85 }
87 SetStatus(value);
88 return *this;
89 }
91
93
96 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
97 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
98 template <typename StatusMessageT = Aws::String>
100 m_statusMessageHasBeenSet = true;
101 m_statusMessage = std::forward<StatusMessageT>(value);
102 }
103 template <typename StatusMessageT = Aws::String>
105 SetStatusMessage(std::forward<StatusMessageT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
115 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
116 template <typename CreatedAtT = Aws::Utils::DateTime>
117 void SetCreatedAt(CreatedAtT&& value) {
118 m_createdAtHasBeenSet = true;
119 m_createdAt = std::forward<CreatedAtT>(value);
120 }
121 template <typename CreatedAtT = Aws::Utils::DateTime>
123 SetCreatedAt(std::forward<CreatedAtT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
133 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
134 template <typename UpdatedAtT = Aws::Utils::DateTime>
135 void SetUpdatedAt(UpdatedAtT&& value) {
136 m_updatedAtHasBeenSet = true;
137 m_updatedAt = std::forward<UpdatedAtT>(value);
138 }
139 template <typename UpdatedAtT = Aws::Utils::DateTime>
141 SetUpdatedAt(std::forward<UpdatedAtT>(value));
142 return *this;
143 }
145
147
151 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
152 inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; }
153 template <typename EndpointConfigT = EndpointConfig>
155 m_endpointConfigHasBeenSet = true;
156 m_endpointConfig = std::forward<EndpointConfigT>(value);
157 }
158 template <typename EndpointConfigT = EndpointConfig>
160 SetEndpointConfig(std::forward<EndpointConfigT>(value));
161 return *this;
162 }
164
166
170 inline const Aws::String& GetEndpointStatus() const { return m_endpointStatus; }
171 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
172 template <typename EndpointStatusT = Aws::String>
174 m_endpointStatusHasBeenSet = true;
175 m_endpointStatus = std::forward<EndpointStatusT>(value);
176 }
177 template <typename EndpointStatusT = Aws::String>
179 SetEndpointStatus(std::forward<EndpointStatusT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetEndpointStatusMessage() const { return m_endpointStatusMessage; }
189 inline bool EndpointStatusMessageHasBeenSet() const { return m_endpointStatusMessageHasBeenSet; }
190 template <typename EndpointStatusMessageT = Aws::String>
192 m_endpointStatusMessageHasBeenSet = true;
193 m_endpointStatusMessage = std::forward<EndpointStatusMessageT>(value);
194 }
195 template <typename EndpointStatusMessageT = Aws::String>
197 SetEndpointStatusMessage(std::forward<EndpointStatusMessageT>(value));
198 return *this;
199 }
201 private:
202 Aws::String m_endpointArn;
203
204 Aws::String m_modelSourceIdentifier;
205
206 Status m_status{Status::NOT_SET};
207
208 Aws::String m_statusMessage;
209
210 Aws::Utils::DateTime m_createdAt{};
211
212 Aws::Utils::DateTime m_updatedAt{};
213
214 EndpointConfig m_endpointConfig;
215
216 Aws::String m_endpointStatus;
217
218 Aws::String m_endpointStatusMessage;
219 bool m_endpointArnHasBeenSet = false;
220 bool m_modelSourceIdentifierHasBeenSet = false;
221 bool m_statusHasBeenSet = false;
222 bool m_statusMessageHasBeenSet = false;
223 bool m_createdAtHasBeenSet = false;
224 bool m_updatedAtHasBeenSet = false;
225 bool m_endpointConfigHasBeenSet = false;
226 bool m_endpointStatusHasBeenSet = false;
227 bool m_endpointStatusMessageHasBeenSet = false;
228};
229
230} // namespace Model
231} // namespace Bedrock
232} // namespace Aws
MarketplaceModelEndpoint & WithModelSourceIdentifier(ModelSourceIdentifierT &&value)
MarketplaceModelEndpoint & WithEndpointArn(EndpointArnT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
MarketplaceModelEndpoint & WithEndpointStatusMessage(EndpointStatusMessageT &&value)
MarketplaceModelEndpoint & WithStatusMessage(StatusMessageT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetEndpointStatusMessage(EndpointStatusMessageT &&value)
void SetModelSourceIdentifier(ModelSourceIdentifierT &&value)
MarketplaceModelEndpoint & WithStatus(Status value)
MarketplaceModelEndpoint & WithEndpointConfig(EndpointConfigT &&value)
AWS_BEDROCK_API MarketplaceModelEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API MarketplaceModelEndpoint()=default
AWS_BEDROCK_API MarketplaceModelEndpoint(Aws::Utils::Json::JsonView jsonValue)
MarketplaceModelEndpoint & WithEndpointStatus(EndpointStatusT &&value)
MarketplaceModelEndpoint & WithUpdatedAt(UpdatedAtT &&value)
MarketplaceModelEndpoint & WithCreatedAt(CreatedAtT &&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