AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Endpoint.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/DataCaptureConfigSummary.h>
11#include <aws/sagemaker/model/EndpointStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/ProductionVariantSummary.h>
14#include <aws/sagemaker/model/MonitoringSchedule.h>
15#include <aws/sagemaker/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_SAGEMAKER_API Endpoint();
42 AWS_SAGEMAKER_API Endpoint(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Endpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
52 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
53 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
54 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
55 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
56 inline Endpoint& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
57 inline Endpoint& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
58 inline Endpoint& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
60
62
65 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
66 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
67 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
68 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
69 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
70 inline Endpoint& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
71 inline Endpoint& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
72 inline Endpoint& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
74
76
79 inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
80 inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
81 inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
82 inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
83 inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
84 inline Endpoint& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;}
85 inline Endpoint& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
86 inline Endpoint& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
88
90
94 inline const Aws::Vector<ProductionVariantSummary>& GetProductionVariants() const{ return m_productionVariants; }
95 inline bool ProductionVariantsHasBeenSet() const { return m_productionVariantsHasBeenSet; }
96 inline void SetProductionVariants(const Aws::Vector<ProductionVariantSummary>& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = value; }
97 inline void SetProductionVariants(Aws::Vector<ProductionVariantSummary>&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = std::move(value); }
100 inline Endpoint& AddProductionVariants(const ProductionVariantSummary& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(value); return *this; }
101 inline Endpoint& AddProductionVariants(ProductionVariantSummary&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(std::move(value)); return *this; }
103
105
106 inline const DataCaptureConfigSummary& GetDataCaptureConfig() const{ return m_dataCaptureConfig; }
107 inline bool DataCaptureConfigHasBeenSet() const { return m_dataCaptureConfigHasBeenSet; }
108 inline void SetDataCaptureConfig(const DataCaptureConfigSummary& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = value; }
109 inline void SetDataCaptureConfig(DataCaptureConfigSummary&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::move(value); }
111 inline Endpoint& WithDataCaptureConfig(DataCaptureConfigSummary&& value) { SetDataCaptureConfig(std::move(value)); return *this;}
113
115
118 inline const EndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; }
119 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
120 inline void SetEndpointStatus(const EndpointStatus& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
121 inline void SetEndpointStatus(EndpointStatus&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
122 inline Endpoint& WithEndpointStatus(const EndpointStatus& value) { SetEndpointStatus(value); return *this;}
123 inline Endpoint& WithEndpointStatus(EndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
131 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
132 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
133 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
134 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
135 inline Endpoint& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
136 inline Endpoint& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
137 inline Endpoint& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
145 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
146 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
147 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
148 inline Endpoint& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
149 inline Endpoint& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
157 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
158 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
159 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
160 inline Endpoint& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
161 inline Endpoint& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
163
165
171 inline const Aws::Vector<MonitoringSchedule>& GetMonitoringSchedules() const{ return m_monitoringSchedules; }
172 inline bool MonitoringSchedulesHasBeenSet() const { return m_monitoringSchedulesHasBeenSet; }
173 inline void SetMonitoringSchedules(const Aws::Vector<MonitoringSchedule>& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = value; }
174 inline void SetMonitoringSchedules(Aws::Vector<MonitoringSchedule>&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = std::move(value); }
177 inline Endpoint& AddMonitoringSchedules(const MonitoringSchedule& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.push_back(value); return *this; }
178 inline Endpoint& AddMonitoringSchedules(MonitoringSchedule&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.push_back(std::move(value)); return *this; }
180
182
188 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
189 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
190 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
191 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
192 inline Endpoint& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
193 inline Endpoint& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
194 inline Endpoint& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
195 inline Endpoint& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
197
199
204 inline const Aws::Vector<ProductionVariantSummary>& GetShadowProductionVariants() const{ return m_shadowProductionVariants; }
205 inline bool ShadowProductionVariantsHasBeenSet() const { return m_shadowProductionVariantsHasBeenSet; }
206 inline void SetShadowProductionVariants(const Aws::Vector<ProductionVariantSummary>& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = value; }
207 inline void SetShadowProductionVariants(Aws::Vector<ProductionVariantSummary>&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = std::move(value); }
210 inline Endpoint& AddShadowProductionVariants(const ProductionVariantSummary& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(value); return *this; }
211 inline Endpoint& AddShadowProductionVariants(ProductionVariantSummary&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(std::move(value)); return *this; }
213 private:
214
215 Aws::String m_endpointName;
216 bool m_endpointNameHasBeenSet = false;
217
218 Aws::String m_endpointArn;
219 bool m_endpointArnHasBeenSet = false;
220
221 Aws::String m_endpointConfigName;
222 bool m_endpointConfigNameHasBeenSet = false;
223
224 Aws::Vector<ProductionVariantSummary> m_productionVariants;
225 bool m_productionVariantsHasBeenSet = false;
226
227 DataCaptureConfigSummary m_dataCaptureConfig;
228 bool m_dataCaptureConfigHasBeenSet = false;
229
230 EndpointStatus m_endpointStatus;
231 bool m_endpointStatusHasBeenSet = false;
232
233 Aws::String m_failureReason;
234 bool m_failureReasonHasBeenSet = false;
235
236 Aws::Utils::DateTime m_creationTime;
237 bool m_creationTimeHasBeenSet = false;
238
239 Aws::Utils::DateTime m_lastModifiedTime;
240 bool m_lastModifiedTimeHasBeenSet = false;
241
242 Aws::Vector<MonitoringSchedule> m_monitoringSchedules;
243 bool m_monitoringSchedulesHasBeenSet = false;
244
245 Aws::Vector<Tag> m_tags;
246 bool m_tagsHasBeenSet = false;
247
248 Aws::Vector<ProductionVariantSummary> m_shadowProductionVariants;
249 bool m_shadowProductionVariantsHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace SageMaker
254} // namespace Aws
Endpoint & WithEndpointName(Aws::String &&value)
Definition Endpoint.h:57
const Aws::Vector< ProductionVariantSummary > & GetShadowProductionVariants() const
Definition Endpoint.h:204
Endpoint & WithShadowProductionVariants(Aws::Vector< ProductionVariantSummary > &&value)
Definition Endpoint.h:209
bool LastModifiedTimeHasBeenSet() const
Definition Endpoint.h:157
Endpoint & WithMonitoringSchedules(const Aws::Vector< MonitoringSchedule > &value)
Definition Endpoint.h:175
bool CreationTimeHasBeenSet() const
Definition Endpoint.h:145
Endpoint & WithFailureReason(const char *value)
Definition Endpoint.h:137
void SetEndpointConfigName(Aws::String &&value)
Definition Endpoint.h:82
const Aws::String & GetEndpointName() const
Definition Endpoint.h:51
const Aws::Vector< MonitoringSchedule > & GetMonitoringSchedules() const
Definition Endpoint.h:171
Endpoint & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Endpoint.h:149
Endpoint & WithMonitoringSchedules(Aws::Vector< MonitoringSchedule > &&value)
Definition Endpoint.h:176
Endpoint & WithDataCaptureConfig(DataCaptureConfigSummary &&value)
Definition Endpoint.h:111
void SetTags(const Aws::Vector< Tag > &value)
Definition Endpoint.h:190
void SetMonitoringSchedules(Aws::Vector< MonitoringSchedule > &&value)
Definition Endpoint.h:174
bool EndpointNameHasBeenSet() const
Definition Endpoint.h:52
const DataCaptureConfigSummary & GetDataCaptureConfig() const
Definition Endpoint.h:106
Endpoint & AddMonitoringSchedules(MonitoringSchedule &&value)
Definition Endpoint.h:178
Endpoint & AddTags(Tag &&value)
Definition Endpoint.h:195
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Endpoint.h:158
bool MonitoringSchedulesHasBeenSet() const
Definition Endpoint.h:172
const Aws::String & GetEndpointConfigName() const
Definition Endpoint.h:79
Endpoint & WithProductionVariants(Aws::Vector< ProductionVariantSummary > &&value)
Definition Endpoint.h:99
void SetEndpointArn(Aws::String &&value)
Definition Endpoint.h:68
void SetEndpointConfigName(const char *value)
Definition Endpoint.h:83
const EndpointStatus & GetEndpointStatus() const
Definition Endpoint.h:118
Endpoint & WithEndpointConfigName(Aws::String &&value)
Definition Endpoint.h:85
void SetFailureReason(const char *value)
Definition Endpoint.h:134
Endpoint & WithTags(Aws::Vector< Tag > &&value)
Definition Endpoint.h:193
void SetProductionVariants(const Aws::Vector< ProductionVariantSummary > &value)
Definition Endpoint.h:96
Endpoint & WithEndpointConfigName(const Aws::String &value)
Definition Endpoint.h:84
const Aws::String & GetEndpointArn() const
Definition Endpoint.h:65
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Endpoint.h:156
const Aws::Vector< Tag > & GetTags() const
Definition Endpoint.h:188
AWS_SAGEMAKER_API Endpoint()
void SetProductionVariants(Aws::Vector< ProductionVariantSummary > &&value)
Definition Endpoint.h:97
const Aws::Utils::DateTime & GetCreationTime() const
Definition Endpoint.h:144
AWS_SAGEMAKER_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FailureReasonHasBeenSet() const
Definition Endpoint.h:131
void SetMonitoringSchedules(const Aws::Vector< MonitoringSchedule > &value)
Definition Endpoint.h:173
bool ProductionVariantsHasBeenSet() const
Definition Endpoint.h:95
bool DataCaptureConfigHasBeenSet() const
Definition Endpoint.h:107
Endpoint & WithEndpointArn(const Aws::String &value)
Definition Endpoint.h:70
Endpoint & WithFailureReason(Aws::String &&value)
Definition Endpoint.h:136
Endpoint & WithEndpointArn(Aws::String &&value)
Definition Endpoint.h:71
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Endpoint.h:146
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpointArn(const Aws::String &value)
Definition Endpoint.h:67
void SetFailureReason(Aws::String &&value)
Definition Endpoint.h:133
void SetEndpointStatus(EndpointStatus &&value)
Definition Endpoint.h:121
void SetShadowProductionVariants(Aws::Vector< ProductionVariantSummary > &&value)
Definition Endpoint.h:207
Endpoint & AddTags(const Tag &value)
Definition Endpoint.h:194
const Aws::String & GetFailureReason() const
Definition Endpoint.h:130
Endpoint & WithEndpointStatus(EndpointStatus &&value)
Definition Endpoint.h:123
void SetEndpointName(const Aws::String &value)
Definition Endpoint.h:53
Endpoint & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Endpoint.h:160
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Endpoint.h:159
Endpoint & WithTags(const Aws::Vector< Tag > &value)
Definition Endpoint.h:192
Endpoint & WithEndpointArn(const char *value)
Definition Endpoint.h:72
void SetTags(Aws::Vector< Tag > &&value)
Definition Endpoint.h:191
bool EndpointConfigNameHasBeenSet() const
Definition Endpoint.h:80
Endpoint & WithEndpointConfigName(const char *value)
Definition Endpoint.h:86
Endpoint & AddShadowProductionVariants(ProductionVariantSummary &&value)
Definition Endpoint.h:211
void SetEndpointStatus(const EndpointStatus &value)
Definition Endpoint.h:120
bool EndpointArnHasBeenSet() const
Definition Endpoint.h:66
Endpoint & WithDataCaptureConfig(const DataCaptureConfigSummary &value)
Definition Endpoint.h:110
Endpoint & WithEndpointName(const char *value)
Definition Endpoint.h:58
void SetEndpointName(Aws::String &&value)
Definition Endpoint.h:54
Endpoint & WithProductionVariants(const Aws::Vector< ProductionVariantSummary > &value)
Definition Endpoint.h:98
void SetEndpointArn(const char *value)
Definition Endpoint.h:69
void SetEndpointConfigName(const Aws::String &value)
Definition Endpoint.h:81
void SetDataCaptureConfig(const DataCaptureConfigSummary &value)
Definition Endpoint.h:108
Endpoint & WithEndpointName(const Aws::String &value)
Definition Endpoint.h:56
bool ShadowProductionVariantsHasBeenSet() const
Definition Endpoint.h:205
void SetShadowProductionVariants(const Aws::Vector< ProductionVariantSummary > &value)
Definition Endpoint.h:206
Endpoint & AddProductionVariants(const ProductionVariantSummary &value)
Definition Endpoint.h:100
void SetDataCaptureConfig(DataCaptureConfigSummary &&value)
Definition Endpoint.h:109
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Endpoint.h:147
Endpoint & AddShadowProductionVariants(const ProductionVariantSummary &value)
Definition Endpoint.h:210
Endpoint & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Endpoint.h:148
Endpoint & WithFailureReason(const Aws::String &value)
Definition Endpoint.h:135
Endpoint & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Endpoint.h:161
Endpoint & AddProductionVariants(ProductionVariantSummary &&value)
Definition Endpoint.h:101
Endpoint & WithEndpointStatus(const EndpointStatus &value)
Definition Endpoint.h:122
const Aws::Vector< ProductionVariantSummary > & GetProductionVariants() const
Definition Endpoint.h:94
void SetFailureReason(const Aws::String &value)
Definition Endpoint.h:132
bool EndpointStatusHasBeenSet() const
Definition Endpoint.h:119
Endpoint & WithShadowProductionVariants(const Aws::Vector< ProductionVariantSummary > &value)
Definition Endpoint.h:208
void SetEndpointName(const char *value)
Definition Endpoint.h:55
Endpoint & AddMonitoringSchedules(const MonitoringSchedule &value)
Definition Endpoint.h:177
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue