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

The configuration properties of a flywheel iteration.

See * Also:

AWS * API Reference

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

*/ inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; } /** *

*/ inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; } /** *

*/ inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; } /** *

*/ inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); } /** *

*/ inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); } /** *

*/ inline FlywheelIterationProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;} /** *

*/ inline FlywheelIterationProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;} /** *

*/ inline FlywheelIterationProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;} /** *

*/ inline const Aws::String& GetFlywheelIterationId() const{ return m_flywheelIterationId; } /** *

*/ inline bool FlywheelIterationIdHasBeenSet() const { return m_flywheelIterationIdHasBeenSet; } /** *

*/ inline void SetFlywheelIterationId(const Aws::String& value) { m_flywheelIterationIdHasBeenSet = true; m_flywheelIterationId = value; } /** *

*/ inline void SetFlywheelIterationId(Aws::String&& value) { m_flywheelIterationIdHasBeenSet = true; m_flywheelIterationId = std::move(value); } /** *

*/ inline void SetFlywheelIterationId(const char* value) { m_flywheelIterationIdHasBeenSet = true; m_flywheelIterationId.assign(value); } /** *

*/ inline FlywheelIterationProperties& WithFlywheelIterationId(const Aws::String& value) { SetFlywheelIterationId(value); return *this;} /** *

*/ inline FlywheelIterationProperties& WithFlywheelIterationId(Aws::String&& value) { SetFlywheelIterationId(std::move(value)); return *this;} /** *

*/ inline FlywheelIterationProperties& WithFlywheelIterationId(const char* value) { SetFlywheelIterationId(value); return *this;} /** *

The creation start time of the flywheel iteration.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The creation start time of the flywheel iteration.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The creation start time of the flywheel iteration.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The creation start time of the flywheel iteration.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The creation start time of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The creation start time of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The completion time of this flywheel iteration.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The completion time of this flywheel iteration.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The completion time of this flywheel iteration.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The completion time of this flywheel iteration.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The completion time of this flywheel iteration.

*/ inline FlywheelIterationProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The completion time of this flywheel iteration.

*/ inline FlywheelIterationProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The status of the flywheel iteration.

*/ inline const FlywheelIterationStatus& GetStatus() const{ return m_status; } /** *

The status of the flywheel iteration.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the flywheel iteration.

*/ inline void SetStatus(const FlywheelIterationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the flywheel iteration.

*/ inline void SetStatus(FlywheelIterationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithStatus(const FlywheelIterationStatus& value) { SetStatus(value); return *this;} /** *

The status of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithStatus(FlywheelIterationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

A description of the status of the flywheel iteration.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

A description of the status of the flywheel iteration.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

A description of the status of the flywheel iteration.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

A description of the status of the flywheel iteration.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

A description of the status of the flywheel iteration.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

A description of the status of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

A description of the status of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

A description of the status of the flywheel iteration.

*/ inline FlywheelIterationProperties& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline const Aws::String& GetEvaluatedModelArn() const{ return m_evaluatedModelArn; } /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline bool EvaluatedModelArnHasBeenSet() const { return m_evaluatedModelArnHasBeenSet; } /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline void SetEvaluatedModelArn(const Aws::String& value) { m_evaluatedModelArnHasBeenSet = true; m_evaluatedModelArn = value; } /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline void SetEvaluatedModelArn(Aws::String&& value) { m_evaluatedModelArnHasBeenSet = true; m_evaluatedModelArn = std::move(value); } /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline void SetEvaluatedModelArn(const char* value) { m_evaluatedModelArnHasBeenSet = true; m_evaluatedModelArn.assign(value); } /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline FlywheelIterationProperties& WithEvaluatedModelArn(const Aws::String& value) { SetEvaluatedModelArn(value); return *this;} /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline FlywheelIterationProperties& WithEvaluatedModelArn(Aws::String&& value) { SetEvaluatedModelArn(std::move(value)); return *this;} /** *

The ARN of the evaluated model associated with this flywheel iteration.

*/ inline FlywheelIterationProperties& WithEvaluatedModelArn(const char* value) { SetEvaluatedModelArn(value); return *this;} inline const FlywheelModelEvaluationMetrics& GetEvaluatedModelMetrics() const{ return m_evaluatedModelMetrics; } inline bool EvaluatedModelMetricsHasBeenSet() const { return m_evaluatedModelMetricsHasBeenSet; } inline void SetEvaluatedModelMetrics(const FlywheelModelEvaluationMetrics& value) { m_evaluatedModelMetricsHasBeenSet = true; m_evaluatedModelMetrics = value; } inline void SetEvaluatedModelMetrics(FlywheelModelEvaluationMetrics&& value) { m_evaluatedModelMetricsHasBeenSet = true; m_evaluatedModelMetrics = std::move(value); } inline FlywheelIterationProperties& WithEvaluatedModelMetrics(const FlywheelModelEvaluationMetrics& value) { SetEvaluatedModelMetrics(value); return *this;} inline FlywheelIterationProperties& WithEvaluatedModelMetrics(FlywheelModelEvaluationMetrics&& value) { SetEvaluatedModelMetrics(std::move(value)); return *this;} /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline const Aws::String& GetTrainedModelArn() const{ return m_trainedModelArn; } /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline bool TrainedModelArnHasBeenSet() const { return m_trainedModelArnHasBeenSet; } /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline void SetTrainedModelArn(const Aws::String& value) { m_trainedModelArnHasBeenSet = true; m_trainedModelArn = value; } /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline void SetTrainedModelArn(Aws::String&& value) { m_trainedModelArnHasBeenSet = true; m_trainedModelArn = std::move(value); } /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline void SetTrainedModelArn(const char* value) { m_trainedModelArnHasBeenSet = true; m_trainedModelArn.assign(value); } /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline FlywheelIterationProperties& WithTrainedModelArn(const Aws::String& value) { SetTrainedModelArn(value); return *this;} /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline FlywheelIterationProperties& WithTrainedModelArn(Aws::String&& value) { SetTrainedModelArn(std::move(value)); return *this;} /** *

The ARN of the trained model associated with this flywheel iteration.

*/ inline FlywheelIterationProperties& WithTrainedModelArn(const char* value) { SetTrainedModelArn(value); return *this;} /** *

The metrics associated with the trained model.

*/ inline const FlywheelModelEvaluationMetrics& GetTrainedModelMetrics() const{ return m_trainedModelMetrics; } /** *

The metrics associated with the trained model.

*/ inline bool TrainedModelMetricsHasBeenSet() const { return m_trainedModelMetricsHasBeenSet; } /** *

The metrics associated with the trained model.

*/ inline void SetTrainedModelMetrics(const FlywheelModelEvaluationMetrics& value) { m_trainedModelMetricsHasBeenSet = true; m_trainedModelMetrics = value; } /** *

The metrics associated with the trained model.

*/ inline void SetTrainedModelMetrics(FlywheelModelEvaluationMetrics&& value) { m_trainedModelMetricsHasBeenSet = true; m_trainedModelMetrics = std::move(value); } /** *

The metrics associated with the trained model.

*/ inline FlywheelIterationProperties& WithTrainedModelMetrics(const FlywheelModelEvaluationMetrics& value) { SetTrainedModelMetrics(value); return *this;} /** *

The metrics associated with the trained model.

*/ inline FlywheelIterationProperties& WithTrainedModelMetrics(FlywheelModelEvaluationMetrics&& value) { SetTrainedModelMetrics(std::move(value)); return *this;} /** *

*/ inline const Aws::String& GetEvaluationManifestS3Prefix() const{ return m_evaluationManifestS3Prefix; } /** *

*/ inline bool EvaluationManifestS3PrefixHasBeenSet() const { return m_evaluationManifestS3PrefixHasBeenSet; } /** *

*/ inline void SetEvaluationManifestS3Prefix(const Aws::String& value) { m_evaluationManifestS3PrefixHasBeenSet = true; m_evaluationManifestS3Prefix = value; } /** *

*/ inline void SetEvaluationManifestS3Prefix(Aws::String&& value) { m_evaluationManifestS3PrefixHasBeenSet = true; m_evaluationManifestS3Prefix = std::move(value); } /** *

*/ inline void SetEvaluationManifestS3Prefix(const char* value) { m_evaluationManifestS3PrefixHasBeenSet = true; m_evaluationManifestS3Prefix.assign(value); } /** *

*/ inline FlywheelIterationProperties& WithEvaluationManifestS3Prefix(const Aws::String& value) { SetEvaluationManifestS3Prefix(value); return *this;} /** *

*/ inline FlywheelIterationProperties& WithEvaluationManifestS3Prefix(Aws::String&& value) { SetEvaluationManifestS3Prefix(std::move(value)); return *this;} /** *

*/ inline FlywheelIterationProperties& WithEvaluationManifestS3Prefix(const char* value) { SetEvaluationManifestS3Prefix(value); return *this;} private: Aws::String m_flywheelArn; bool m_flywheelArnHasBeenSet = false; Aws::String m_flywheelIterationId; bool m_flywheelIterationIdHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; FlywheelIterationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_evaluatedModelArn; bool m_evaluatedModelArnHasBeenSet = false; FlywheelModelEvaluationMetrics m_evaluatedModelMetrics; bool m_evaluatedModelMetricsHasBeenSet = false; Aws::String m_trainedModelArn; bool m_trainedModelArnHasBeenSet = false; FlywheelModelEvaluationMetrics m_trainedModelMetrics; bool m_trainedModelMetricsHasBeenSet = false; Aws::String m_evaluationManifestS3Prefix; bool m_evaluationManifestS3PrefixHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws