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

The model on the edge device.

See Also:

AWS * API Reference

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

The name of the model.

*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *

The name of the model.

*/ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } /** *

The name of the model.

*/ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } /** *

The name of the model.

*/ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } /** *

The name of the model.

*/ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } /** *

The name of the model.

*/ inline EdgeModel& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *

The name of the model.

*/ inline EdgeModel& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *

The name of the model.

*/ inline EdgeModel& WithModelName(const char* value) { SetModelName(value); return *this;} /** *

The model version.

*/ inline const Aws::String& GetModelVersion() const{ return m_modelVersion; } /** *

The model version.

*/ inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } /** *

The model version.

*/ inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; } /** *

The model version.

*/ inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); } /** *

The model version.

*/ inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); } /** *

The model version.

*/ inline EdgeModel& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;} /** *

The model version.

*/ inline EdgeModel& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;} /** *

The model version.

*/ inline EdgeModel& WithModelVersion(const char* value) { SetModelVersion(value); return *this;} /** *

The timestamp of the last data sample taken.

*/ inline const Aws::Utils::DateTime& GetLatestSampleTime() const{ return m_latestSampleTime; } /** *

The timestamp of the last data sample taken.

*/ inline bool LatestSampleTimeHasBeenSet() const { return m_latestSampleTimeHasBeenSet; } /** *

The timestamp of the last data sample taken.

*/ inline void SetLatestSampleTime(const Aws::Utils::DateTime& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = value; } /** *

The timestamp of the last data sample taken.

*/ inline void SetLatestSampleTime(Aws::Utils::DateTime&& value) { m_latestSampleTimeHasBeenSet = true; m_latestSampleTime = std::move(value); } /** *

The timestamp of the last data sample taken.

*/ inline EdgeModel& WithLatestSampleTime(const Aws::Utils::DateTime& value) { SetLatestSampleTime(value); return *this;} /** *

The timestamp of the last data sample taken.

*/ inline EdgeModel& WithLatestSampleTime(Aws::Utils::DateTime&& value) { SetLatestSampleTime(std::move(value)); return *this;} /** *

The timestamp of the last inference that was made.

*/ inline const Aws::Utils::DateTime& GetLatestInference() const{ return m_latestInference; } /** *

The timestamp of the last inference that was made.

*/ inline bool LatestInferenceHasBeenSet() const { return m_latestInferenceHasBeenSet; } /** *

The timestamp of the last inference that was made.

*/ inline void SetLatestInference(const Aws::Utils::DateTime& value) { m_latestInferenceHasBeenSet = true; m_latestInference = value; } /** *

The timestamp of the last inference that was made.

*/ inline void SetLatestInference(Aws::Utils::DateTime&& value) { m_latestInferenceHasBeenSet = true; m_latestInference = std::move(value); } /** *

The timestamp of the last inference that was made.

*/ inline EdgeModel& WithLatestInference(const Aws::Utils::DateTime& value) { SetLatestInference(value); return *this;} /** *

The timestamp of the last inference that was made.

*/ inline EdgeModel& WithLatestInference(Aws::Utils::DateTime&& value) { SetLatestInference(std::move(value)); return *this;} private: Aws::String m_modelName; bool m_modelNameHasBeenSet = false; Aws::String m_modelVersion; bool m_modelVersionHasBeenSet = false; Aws::Utils::DateTime m_latestSampleTime; bool m_latestSampleTimeHasBeenSet = false; Aws::Utils::DateTime m_latestInference; bool m_latestInferenceHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws