AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
MarketplaceModelEndpoint.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock/model/EndpointConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCK_API MarketplaceModelEndpoint() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
49 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
50 template<typename EndpointArnT = Aws::String>
51 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
52 template<typename EndpointArnT = Aws::String>
53 MarketplaceModelEndpoint& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
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>
64 void SetModelSourceIdentifier(ModelSourceIdentifierT&& value) { m_modelSourceIdentifierHasBeenSet = true; m_modelSourceIdentifier = std::forward<ModelSourceIdentifierT>(value); }
65 template<typename ModelSourceIdentifierT = Aws::String>
66 MarketplaceModelEndpoint& WithModelSourceIdentifier(ModelSourceIdentifierT&& value) { SetModelSourceIdentifier(std::forward<ModelSourceIdentifierT>(value)); return *this;}
68
70
74 inline Status GetStatus() const { return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
77 inline MarketplaceModelEndpoint& WithStatus(Status value) { SetStatus(value); return *this;}
79
81
84 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
85 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
86 template<typename StatusMessageT = Aws::String>
87 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
88 template<typename StatusMessageT = Aws::String>
89 MarketplaceModelEndpoint& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 template<typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
100 template<typename CreatedAtT = Aws::Utils::DateTime>
101 MarketplaceModelEndpoint& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
109 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
110 template<typename UpdatedAtT = Aws::Utils::DateTime>
111 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
112 template<typename UpdatedAtT = Aws::Utils::DateTime>
113 MarketplaceModelEndpoint& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
115
117
121 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
122 inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; }
123 template<typename EndpointConfigT = EndpointConfig>
124 void SetEndpointConfig(EndpointConfigT&& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = std::forward<EndpointConfigT>(value); }
125 template<typename EndpointConfigT = EndpointConfig>
126 MarketplaceModelEndpoint& WithEndpointConfig(EndpointConfigT&& value) { SetEndpointConfig(std::forward<EndpointConfigT>(value)); return *this;}
128
130
134 inline const Aws::String& GetEndpointStatus() const { return m_endpointStatus; }
135 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
136 template<typename EndpointStatusT = Aws::String>
137 void SetEndpointStatus(EndpointStatusT&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::forward<EndpointStatusT>(value); }
138 template<typename EndpointStatusT = Aws::String>
139 MarketplaceModelEndpoint& WithEndpointStatus(EndpointStatusT&& value) { SetEndpointStatus(std::forward<EndpointStatusT>(value)); return *this;}
141
143
146 inline const Aws::String& GetEndpointStatusMessage() const { return m_endpointStatusMessage; }
147 inline bool EndpointStatusMessageHasBeenSet() const { return m_endpointStatusMessageHasBeenSet; }
148 template<typename EndpointStatusMessageT = Aws::String>
149 void SetEndpointStatusMessage(EndpointStatusMessageT&& value) { m_endpointStatusMessageHasBeenSet = true; m_endpointStatusMessage = std::forward<EndpointStatusMessageT>(value); }
150 template<typename EndpointStatusMessageT = Aws::String>
151 MarketplaceModelEndpoint& WithEndpointStatusMessage(EndpointStatusMessageT&& value) { SetEndpointStatusMessage(std::forward<EndpointStatusMessageT>(value)); return *this;}
153 private:
154
155 Aws::String m_endpointArn;
156 bool m_endpointArnHasBeenSet = false;
157
158 Aws::String m_modelSourceIdentifier;
159 bool m_modelSourceIdentifierHasBeenSet = false;
160
161 Status m_status{Status::NOT_SET};
162 bool m_statusHasBeenSet = false;
163
164 Aws::String m_statusMessage;
165 bool m_statusMessageHasBeenSet = false;
166
167 Aws::Utils::DateTime m_createdAt{};
168 bool m_createdAtHasBeenSet = false;
169
170 Aws::Utils::DateTime m_updatedAt{};
171 bool m_updatedAtHasBeenSet = false;
172
173 EndpointConfig m_endpointConfig;
174 bool m_endpointConfigHasBeenSet = false;
175
176 Aws::String m_endpointStatus;
177 bool m_endpointStatusHasBeenSet = false;
178
179 Aws::String m_endpointStatusMessage;
180 bool m_endpointStatusMessageHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Bedrock
185} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue