/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 flywheel properties.

See Also:

AWS * API Reference

*/ class FlywheelProperties { public: AWS_COMPREHEND_API FlywheelProperties(); AWS_COMPREHEND_API FlywheelProperties(Aws::Utils::Json::JsonView jsonValue); AWS_COMPREHEND_API FlywheelProperties& 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 FlywheelProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;} /** *

The Amazon Resource Number (ARN) of the flywheel.

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

The Amazon Resource Number (ARN) of the flywheel.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline FlywheelProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline FlywheelProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend * permission to access the flywheel data.

*/ inline FlywheelProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *

Configuration about the custom classifier associated with the flywheel.

*/ inline const TaskConfig& GetTaskConfig() const{ return m_taskConfig; } /** *

Configuration about the custom classifier associated with the flywheel.

*/ inline bool TaskConfigHasBeenSet() const { return m_taskConfigHasBeenSet; } /** *

Configuration about the custom classifier associated with the flywheel.

*/ inline void SetTaskConfig(const TaskConfig& value) { m_taskConfigHasBeenSet = true; m_taskConfig = value; } /** *

Configuration about the custom classifier associated with the flywheel.

*/ inline void SetTaskConfig(TaskConfig&& value) { m_taskConfigHasBeenSet = true; m_taskConfig = std::move(value); } /** *

Configuration about the custom classifier associated with the flywheel.

*/ inline FlywheelProperties& WithTaskConfig(const TaskConfig& value) { SetTaskConfig(value); return *this;} /** *

Configuration about the custom classifier associated with the flywheel.

*/ inline FlywheelProperties& WithTaskConfig(TaskConfig&& value) { SetTaskConfig(std::move(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 FlywheelProperties& WithDataLakeS3Uri(const Aws::String& value) { SetDataLakeS3Uri(value); return *this;} /** *

Amazon S3 URI of the data lake location.

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

Amazon S3 URI of the data lake location.

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

Data security configuration.

*/ inline const DataSecurityConfig& GetDataSecurityConfig() const{ return m_dataSecurityConfig; } /** *

Data security configuration.

*/ inline bool DataSecurityConfigHasBeenSet() const { return m_dataSecurityConfigHasBeenSet; } /** *

Data security configuration.

*/ inline void SetDataSecurityConfig(const DataSecurityConfig& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = value; } /** *

Data security configuration.

*/ inline void SetDataSecurityConfig(DataSecurityConfig&& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = std::move(value); } /** *

Data security configuration.

*/ inline FlywheelProperties& WithDataSecurityConfig(const DataSecurityConfig& value) { SetDataSecurityConfig(value); return *this;} /** *

Data security configuration.

*/ inline FlywheelProperties& WithDataSecurityConfig(DataSecurityConfig&& value) { SetDataSecurityConfig(std::move(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 FlywheelProperties& WithStatus(const FlywheelStatus& value) { SetStatus(value); return *this;} /** *

The status of the flywheel.

*/ inline FlywheelProperties& 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 FlywheelProperties& WithModelType(const ModelType& value) { SetModelType(value); return *this;} /** *

Model type of the flywheel's model.

*/ inline FlywheelProperties& 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 FlywheelProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

A description of the status of the flywheel.

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

A description of the status of the flywheel.

*/ inline FlywheelProperties& 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 FlywheelProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

Creation time of the flywheel.

*/ inline FlywheelProperties& 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 FlywheelProperties& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

Last modified time for the flywheel.

*/ inline FlywheelProperties& 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 FlywheelProperties& WithLatestFlywheelIteration(const Aws::String& value) { SetLatestFlywheelIteration(value); return *this;} /** *

The most recent flywheel iteration.

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

The most recent flywheel iteration.

*/ inline FlywheelProperties& 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_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; TaskConfig m_taskConfig; bool m_taskConfigHasBeenSet = false; Aws::String m_dataLakeS3Uri; bool m_dataLakeS3UriHasBeenSet = false; DataSecurityConfig m_dataSecurityConfig; bool m_dataSecurityConfigHasBeenSet = 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