/** * 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 { /** *

Flywheel summary information.

See Also:

AWS * API Reference

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

The Amazon Resource Number (ARN) of the flywheel

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

ARN of the active model version for the flywheel.

*/ inline const Aws::String& GetActiveModelArn() const{ return m_activeModelArn; } /** *

ARN of the active model version for the flywheel.

*/ inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; } /** *

ARN of the active model version for the flywheel.

*/ inline void SetActiveModelArn(const Aws::String& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = value; } /** *

ARN of the active model version for the flywheel.

*/ inline void SetActiveModelArn(Aws::String&& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = std::move(value); } /** *

ARN of the active model version for the flywheel.

*/ inline void SetActiveModelArn(const char* value) { m_activeModelArnHasBeenSet = true; m_activeModelArn.assign(value); } /** *

ARN of the active model version for the flywheel.

*/ inline FlywheelSummary& WithActiveModelArn(const Aws::String& value) { SetActiveModelArn(value); return *this;} /** *

ARN of the active model version for the flywheel.

*/ inline FlywheelSummary& WithActiveModelArn(Aws::String&& value) { SetActiveModelArn(std::move(value)); return *this;} /** *

ARN of the active model version for the flywheel.

*/ inline FlywheelSummary& WithActiveModelArn(const char* value) { SetActiveModelArn(value); return *this;} /** *

Amazon S3 URI of the data lake location.

*/ inline const Aws::String& GetDataLakeS3Uri() const{ return m_dataLakeS3Uri; } /** *

Amazon S3 URI of the data lake location.

*/ inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; } /** *

Amazon S3 URI of the data lake location.

*/ inline void SetDataLakeS3Uri(const Aws::String& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = value; } /** *

Amazon S3 URI of the data lake location.

*/ inline void SetDataLakeS3Uri(Aws::String&& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = std::move(value); } /** *

Amazon S3 URI of the data lake location.

*/ inline void SetDataLakeS3Uri(const char* value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri.assign(value); } /** *

Amazon S3 URI of the data lake location.

*/ inline FlywheelSummary& WithDataLakeS3Uri(const Aws::String& value) { SetDataLakeS3Uri(value); return *this;} /** *

Amazon S3 URI of the data lake location.

*/ inline FlywheelSummary& WithDataLakeS3Uri(Aws::String&& value) { SetDataLakeS3Uri(std::move(value)); return *this;} /** *

Amazon S3 URI of the data lake location.

*/ inline FlywheelSummary& WithDataLakeS3Uri(const char* value) { SetDataLakeS3Uri(value); return *this;} /** *

The status of the flywheel.

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

The status of the flywheel.

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

The status of the flywheel.

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

The status of the flywheel.

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

The status of the flywheel.

*/ inline FlywheelSummary& WithStatus(const FlywheelStatus& value) { SetStatus(value); return *this;} /** *

The status of the flywheel.

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

Model type of the flywheel's model.

*/ inline const ModelType& GetModelType() const{ return m_modelType; } /** *

Model type of the flywheel's model.

*/ inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; } /** *

Model type of the flywheel's model.

*/ inline void SetModelType(const ModelType& value) { m_modelTypeHasBeenSet = true; m_modelType = value; } /** *

Model type of the flywheel's model.

*/ inline void SetModelType(ModelType&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); } /** *

Model type of the flywheel's model.

*/ inline FlywheelSummary& WithModelType(const ModelType& value) { SetModelType(value); return *this;} /** *

Model type of the flywheel's model.

*/ inline FlywheelSummary& WithModelType(ModelType&& value) { SetModelType(std::move(value)); return *this;} /** *

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

A description of the status of the flywheel.

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

Creation time of the flywheel.

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

Creation time of the flywheel.

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

Creation time of the flywheel.

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

Creation time of the flywheel.

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

Creation time of the flywheel.

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

Creation time of the flywheel.

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

Last modified time for the flywheel.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

Last modified time for the flywheel.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

Last modified time for the flywheel.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

Last modified time for the flywheel.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

Last modified time for the flywheel.

*/ inline FlywheelSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

Last modified time for the flywheel.

*/ inline FlywheelSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The most recent flywheel iteration.

*/ inline const Aws::String& GetLatestFlywheelIteration() const{ return m_latestFlywheelIteration; } /** *

The most recent flywheel iteration.

*/ inline bool LatestFlywheelIterationHasBeenSet() const { return m_latestFlywheelIterationHasBeenSet; } /** *

The most recent flywheel iteration.

*/ inline void SetLatestFlywheelIteration(const Aws::String& value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration = value; } /** *

The most recent flywheel iteration.

*/ inline void SetLatestFlywheelIteration(Aws::String&& value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration = std::move(value); } /** *

The most recent flywheel iteration.

*/ inline void SetLatestFlywheelIteration(const char* value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration.assign(value); } /** *

The most recent flywheel iteration.

*/ inline FlywheelSummary& WithLatestFlywheelIteration(const Aws::String& value) { SetLatestFlywheelIteration(value); return *this;} /** *

The most recent flywheel iteration.

*/ inline FlywheelSummary& WithLatestFlywheelIteration(Aws::String&& value) { SetLatestFlywheelIteration(std::move(value)); return *this;} /** *

The most recent flywheel iteration.

*/ inline FlywheelSummary& WithLatestFlywheelIteration(const char* value) { SetLatestFlywheelIteration(value); return *this;} private: Aws::String m_flywheelArn; bool m_flywheelArnHasBeenSet = false; Aws::String m_activeModelArn; bool m_activeModelArnHasBeenSet = false; Aws::String m_dataLakeS3Uri; bool m_dataLakeS3UriHasBeenSet = false; FlywheelStatus m_status; bool m_statusHasBeenSet = false; ModelType m_modelType; bool m_modelTypeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_latestFlywheelIteration; bool m_latestFlywheelIterationHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws