/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

A model displayed in the Amazon SageMaker Model Dashboard.

See * Also:

AWS * API Reference

*/ class ModelDashboardModel { public: AWS_SAGEMAKER_API ModelDashboardModel(); AWS_SAGEMAKER_API ModelDashboardModel(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ModelDashboardModel& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A model displayed in the Model Dashboard.

*/ inline const Model& GetModel() const{ return m_model; } /** *

A model displayed in the Model Dashboard.

*/ inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; } /** *

A model displayed in the Model Dashboard.

*/ inline void SetModel(const Model& value) { m_modelHasBeenSet = true; m_model = value; } /** *

A model displayed in the Model Dashboard.

*/ inline void SetModel(Model&& value) { m_modelHasBeenSet = true; m_model = std::move(value); } /** *

A model displayed in the Model Dashboard.

*/ inline ModelDashboardModel& WithModel(const Model& value) { SetModel(value); return *this;} /** *

A model displayed in the Model Dashboard.

*/ inline ModelDashboardModel& WithModel(Model&& value) { SetModel(std::move(value)); return *this;} /** *

The endpoints that host a model.

*/ inline const Aws::Vector& GetEndpoints() const{ return m_endpoints; } /** *

The endpoints that host a model.

*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *

The endpoints that host a model.

*/ inline void SetEndpoints(const Aws::Vector& value) { m_endpointsHasBeenSet = true; m_endpoints = value; } /** *

The endpoints that host a model.

*/ inline void SetEndpoints(Aws::Vector&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); } /** *

The endpoints that host a model.

*/ inline ModelDashboardModel& WithEndpoints(const Aws::Vector& value) { SetEndpoints(value); return *this;} /** *

The endpoints that host a model.

*/ inline ModelDashboardModel& WithEndpoints(Aws::Vector&& value) { SetEndpoints(std::move(value)); return *this;} /** *

The endpoints that host a model.

*/ inline ModelDashboardModel& AddEndpoints(const ModelDashboardEndpoint& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

The endpoints that host a model.

*/ inline ModelDashboardModel& AddEndpoints(ModelDashboardEndpoint&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; } inline const TransformJob& GetLastBatchTransformJob() const{ return m_lastBatchTransformJob; } inline bool LastBatchTransformJobHasBeenSet() const { return m_lastBatchTransformJobHasBeenSet; } inline void SetLastBatchTransformJob(const TransformJob& value) { m_lastBatchTransformJobHasBeenSet = true; m_lastBatchTransformJob = value; } inline void SetLastBatchTransformJob(TransformJob&& value) { m_lastBatchTransformJobHasBeenSet = true; m_lastBatchTransformJob = std::move(value); } inline ModelDashboardModel& WithLastBatchTransformJob(const TransformJob& value) { SetLastBatchTransformJob(value); return *this;} inline ModelDashboardModel& WithLastBatchTransformJob(TransformJob&& value) { SetLastBatchTransformJob(std::move(value)); return *this;} /** *

The monitoring schedules for a model.

*/ inline const Aws::Vector& GetMonitoringSchedules() const{ return m_monitoringSchedules; } /** *

The monitoring schedules for a model.

*/ inline bool MonitoringSchedulesHasBeenSet() const { return m_monitoringSchedulesHasBeenSet; } /** *

The monitoring schedules for a model.

*/ inline void SetMonitoringSchedules(const Aws::Vector& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = value; } /** *

The monitoring schedules for a model.

*/ inline void SetMonitoringSchedules(Aws::Vector&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = std::move(value); } /** *

The monitoring schedules for a model.

*/ inline ModelDashboardModel& WithMonitoringSchedules(const Aws::Vector& value) { SetMonitoringSchedules(value); return *this;} /** *

The monitoring schedules for a model.

*/ inline ModelDashboardModel& WithMonitoringSchedules(Aws::Vector&& value) { SetMonitoringSchedules(std::move(value)); return *this;} /** *

The monitoring schedules for a model.

*/ inline ModelDashboardModel& AddMonitoringSchedules(const ModelDashboardMonitoringSchedule& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.push_back(value); return *this; } /** *

The monitoring schedules for a model.

*/ inline ModelDashboardModel& AddMonitoringSchedules(ModelDashboardMonitoringSchedule&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.push_back(std::move(value)); return *this; } /** *

The model card for a model.

*/ inline const ModelDashboardModelCard& GetModelCard() const{ return m_modelCard; } /** *

The model card for a model.

*/ inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; } /** *

The model card for a model.

*/ inline void SetModelCard(const ModelDashboardModelCard& value) { m_modelCardHasBeenSet = true; m_modelCard = value; } /** *

The model card for a model.

*/ inline void SetModelCard(ModelDashboardModelCard&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::move(value); } /** *

The model card for a model.

*/ inline ModelDashboardModel& WithModelCard(const ModelDashboardModelCard& value) { SetModelCard(value); return *this;} /** *

The model card for a model.

*/ inline ModelDashboardModel& WithModelCard(ModelDashboardModelCard&& value) { SetModelCard(std::move(value)); return *this;} private: Model m_model; bool m_modelHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; TransformJob m_lastBatchTransformJob; bool m_lastBatchTransformJobHasBeenSet = false; Aws::Vector m_monitoringSchedules; bool m_monitoringSchedulesHasBeenSet = false; ModelDashboardModelCard m_modelCard; bool m_modelCardHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws