/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the specified ML model, including dataset and
* model names and ARNs, as well as status. See Also:
AWS
* API Reference
The name of the ML model.
*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *The name of the ML model.
*/ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } /** *The name of the ML model.
*/ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } /** *The name of the ML model.
*/ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } /** *The name of the ML model.
*/ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } /** *The name of the ML model.
*/ inline ModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *The name of the ML model.
*/ inline ModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *The name of the ML model.
*/ inline ModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;} /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline const Aws::String& GetModelArn() const{ return m_modelArn; } /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; } /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); } /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline ModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline ModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the ML model.
*/ inline ModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;} /** *The name of the dataset being used for the ML model.
*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *The name of the dataset being used for the ML model.
*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *The name of the dataset being used for the ML model.
*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *The name of the dataset being used for the ML model.
*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *The name of the dataset being used for the ML model.
*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *The name of the dataset being used for the ML model.
*/ inline ModelSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *The name of the dataset being used for the ML model.
*/ inline ModelSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *The name of the dataset being used for the ML model.
*/ inline ModelSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline ModelSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline ModelSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset used to create the model.
*/ inline ModelSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *Indicates the status of the ML model.
*/ inline const ModelStatus& GetStatus() const{ return m_status; } /** *Indicates the status of the ML model.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Indicates the status of the ML model.
*/ inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Indicates the status of the ML model.
*/ inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Indicates the status of the ML model.
*/ inline ModelSummary& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;} /** *Indicates the status of the ML model.
*/ inline ModelSummary& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The time at which the specific model was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which the specific model was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which the specific model was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which the specific model was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which the specific model was created.
*/ inline ModelSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the specific model was created.
*/ inline ModelSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_modelName; bool m_modelNameHasBeenSet = false; Aws::String m_modelArn; bool m_modelArnHasBeenSet = false; Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; ModelStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws