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

A summary of the model metadata.

See Also:

AWS * API Reference

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

The machine learning domain of the model.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The machine learning domain of the model.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

The machine learning domain of the model.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

The machine learning domain of the model.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

The machine learning domain of the model.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

The machine learning domain of the model.

*/ inline ModelMetadataSummary& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The machine learning domain of the model.

*/ inline ModelMetadataSummary& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The machine learning domain of the model.

*/ inline ModelMetadataSummary& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

The machine learning framework of the model.

*/ inline const Aws::String& GetFramework() const{ return m_framework; } /** *

The machine learning framework of the model.

*/ inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; } /** *

The machine learning framework of the model.

*/ inline void SetFramework(const Aws::String& value) { m_frameworkHasBeenSet = true; m_framework = value; } /** *

The machine learning framework of the model.

*/ inline void SetFramework(Aws::String&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); } /** *

The machine learning framework of the model.

*/ inline void SetFramework(const char* value) { m_frameworkHasBeenSet = true; m_framework.assign(value); } /** *

The machine learning framework of the model.

*/ inline ModelMetadataSummary& WithFramework(const Aws::String& value) { SetFramework(value); return *this;} /** *

The machine learning framework of the model.

*/ inline ModelMetadataSummary& WithFramework(Aws::String&& value) { SetFramework(std::move(value)); return *this;} /** *

The machine learning framework of the model.

*/ inline ModelMetadataSummary& WithFramework(const char* value) { SetFramework(value); return *this;} /** *

The machine learning task of the model.

*/ inline const Aws::String& GetTask() const{ return m_task; } /** *

The machine learning task of the model.

*/ inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; } /** *

The machine learning task of the model.

*/ inline void SetTask(const Aws::String& value) { m_taskHasBeenSet = true; m_task = value; } /** *

The machine learning task of the model.

*/ inline void SetTask(Aws::String&& value) { m_taskHasBeenSet = true; m_task = std::move(value); } /** *

The machine learning task of the model.

*/ inline void SetTask(const char* value) { m_taskHasBeenSet = true; m_task.assign(value); } /** *

The machine learning task of the model.

*/ inline ModelMetadataSummary& WithTask(const Aws::String& value) { SetTask(value); return *this;} /** *

The machine learning task of the model.

*/ inline ModelMetadataSummary& WithTask(Aws::String&& value) { SetTask(std::move(value)); return *this;} /** *

The machine learning task of the model.

*/ inline ModelMetadataSummary& WithTask(const char* value) { SetTask(value); return *this;} /** *

The name of the model.

*/ inline const Aws::String& GetModel() const{ return m_model; } /** *

The name of the model.

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

The name of the model.

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

The name of the model.

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

The name of the model.

*/ inline void SetModel(const char* value) { m_modelHasBeenSet = true; m_model.assign(value); } /** *

The name of the model.

*/ inline ModelMetadataSummary& WithModel(const Aws::String& value) { SetModel(value); return *this;} /** *

The name of the model.

*/ inline ModelMetadataSummary& WithModel(Aws::String&& value) { SetModel(std::move(value)); return *this;} /** *

The name of the model.

*/ inline ModelMetadataSummary& WithModel(const char* value) { SetModel(value); return *this;} /** *

The framework version of the model.

*/ inline const Aws::String& GetFrameworkVersion() const{ return m_frameworkVersion; } /** *

The framework version of the model.

*/ inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; } /** *

The framework version of the model.

*/ inline void SetFrameworkVersion(const Aws::String& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = value; } /** *

The framework version of the model.

*/ inline void SetFrameworkVersion(Aws::String&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::move(value); } /** *

The framework version of the model.

*/ inline void SetFrameworkVersion(const char* value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion.assign(value); } /** *

The framework version of the model.

*/ inline ModelMetadataSummary& WithFrameworkVersion(const Aws::String& value) { SetFrameworkVersion(value); return *this;} /** *

The framework version of the model.

*/ inline ModelMetadataSummary& WithFrameworkVersion(Aws::String&& value) { SetFrameworkVersion(std::move(value)); return *this;} /** *

The framework version of the model.

*/ inline ModelMetadataSummary& WithFrameworkVersion(const char* value) { SetFrameworkVersion(value); return *this;} private: Aws::String m_domain; bool m_domainHasBeenSet = false; Aws::String m_framework; bool m_frameworkHasBeenSet = false; Aws::String m_task; bool m_taskHasBeenSet = false; Aws::String m_model; bool m_modelHasBeenSet = false; Aws::String m_frameworkVersion; bool m_frameworkVersionHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws