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

Describes the information about an entity recognizer and its * versions.

See Also:

AWS * API Reference

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

The name that you assigned the entity recognizer.

*/ inline const Aws::String& GetRecognizerName() const{ return m_recognizerName; } /** *

The name that you assigned the entity recognizer.

*/ inline bool RecognizerNameHasBeenSet() const { return m_recognizerNameHasBeenSet; } /** *

The name that you assigned the entity recognizer.

*/ inline void SetRecognizerName(const Aws::String& value) { m_recognizerNameHasBeenSet = true; m_recognizerName = value; } /** *

The name that you assigned the entity recognizer.

*/ inline void SetRecognizerName(Aws::String&& value) { m_recognizerNameHasBeenSet = true; m_recognizerName = std::move(value); } /** *

The name that you assigned the entity recognizer.

*/ inline void SetRecognizerName(const char* value) { m_recognizerNameHasBeenSet = true; m_recognizerName.assign(value); } /** *

The name that you assigned the entity recognizer.

*/ inline EntityRecognizerSummary& WithRecognizerName(const Aws::String& value) { SetRecognizerName(value); return *this;} /** *

The name that you assigned the entity recognizer.

*/ inline EntityRecognizerSummary& WithRecognizerName(Aws::String&& value) { SetRecognizerName(std::move(value)); return *this;} /** *

The name that you assigned the entity recognizer.

*/ inline EntityRecognizerSummary& WithRecognizerName(const char* value) { SetRecognizerName(value); return *this;} /** *

The number of versions you created.

*/ inline int GetNumberOfVersions() const{ return m_numberOfVersions; } /** *

The number of versions you created.

*/ inline bool NumberOfVersionsHasBeenSet() const { return m_numberOfVersionsHasBeenSet; } /** *

The number of versions you created.

*/ inline void SetNumberOfVersions(int value) { m_numberOfVersionsHasBeenSet = true; m_numberOfVersions = value; } /** *

The number of versions you created.

*/ inline EntityRecognizerSummary& WithNumberOfVersions(int value) { SetNumberOfVersions(value); return *this;} /** *

The time that the latest entity recognizer version was submitted for * processing.

*/ inline const Aws::Utils::DateTime& GetLatestVersionCreatedAt() const{ return m_latestVersionCreatedAt; } /** *

The time that the latest entity recognizer version was submitted for * processing.

*/ inline bool LatestVersionCreatedAtHasBeenSet() const { return m_latestVersionCreatedAtHasBeenSet; } /** *

The time that the latest entity recognizer version was submitted for * processing.

*/ inline void SetLatestVersionCreatedAt(const Aws::Utils::DateTime& value) { m_latestVersionCreatedAtHasBeenSet = true; m_latestVersionCreatedAt = value; } /** *

The time that the latest entity recognizer version was submitted for * processing.

*/ inline void SetLatestVersionCreatedAt(Aws::Utils::DateTime&& value) { m_latestVersionCreatedAtHasBeenSet = true; m_latestVersionCreatedAt = std::move(value); } /** *

The time that the latest entity recognizer version was submitted for * processing.

*/ inline EntityRecognizerSummary& WithLatestVersionCreatedAt(const Aws::Utils::DateTime& value) { SetLatestVersionCreatedAt(value); return *this;} /** *

The time that the latest entity recognizer version was submitted for * processing.

*/ inline EntityRecognizerSummary& WithLatestVersionCreatedAt(Aws::Utils::DateTime&& value) { SetLatestVersionCreatedAt(std::move(value)); return *this;} /** *

The version name you assigned to the latest entity recognizer version.

*/ inline const Aws::String& GetLatestVersionName() const{ return m_latestVersionName; } /** *

The version name you assigned to the latest entity recognizer version.

*/ inline bool LatestVersionNameHasBeenSet() const { return m_latestVersionNameHasBeenSet; } /** *

The version name you assigned to the latest entity recognizer version.

*/ inline void SetLatestVersionName(const Aws::String& value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName = value; } /** *

The version name you assigned to the latest entity recognizer version.

*/ inline void SetLatestVersionName(Aws::String&& value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName = std::move(value); } /** *

The version name you assigned to the latest entity recognizer version.

*/ inline void SetLatestVersionName(const char* value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName.assign(value); } /** *

The version name you assigned to the latest entity recognizer version.

*/ inline EntityRecognizerSummary& WithLatestVersionName(const Aws::String& value) { SetLatestVersionName(value); return *this;} /** *

The version name you assigned to the latest entity recognizer version.

*/ inline EntityRecognizerSummary& WithLatestVersionName(Aws::String&& value) { SetLatestVersionName(std::move(value)); return *this;} /** *

The version name you assigned to the latest entity recognizer version.

*/ inline EntityRecognizerSummary& WithLatestVersionName(const char* value) { SetLatestVersionName(value); return *this;} /** *

Provides the status of the latest entity recognizer version.

*/ inline const ModelStatus& GetLatestVersionStatus() const{ return m_latestVersionStatus; } /** *

Provides the status of the latest entity recognizer version.

*/ inline bool LatestVersionStatusHasBeenSet() const { return m_latestVersionStatusHasBeenSet; } /** *

Provides the status of the latest entity recognizer version.

*/ inline void SetLatestVersionStatus(const ModelStatus& value) { m_latestVersionStatusHasBeenSet = true; m_latestVersionStatus = value; } /** *

Provides the status of the latest entity recognizer version.

*/ inline void SetLatestVersionStatus(ModelStatus&& value) { m_latestVersionStatusHasBeenSet = true; m_latestVersionStatus = std::move(value); } /** *

Provides the status of the latest entity recognizer version.

*/ inline EntityRecognizerSummary& WithLatestVersionStatus(const ModelStatus& value) { SetLatestVersionStatus(value); return *this;} /** *

Provides the status of the latest entity recognizer version.

*/ inline EntityRecognizerSummary& WithLatestVersionStatus(ModelStatus&& value) { SetLatestVersionStatus(std::move(value)); return *this;} private: Aws::String m_recognizerName; bool m_recognizerNameHasBeenSet = false; int m_numberOfVersions; bool m_numberOfVersionsHasBeenSet = false; Aws::Utils::DateTime m_latestVersionCreatedAt; bool m_latestVersionCreatedAtHasBeenSet = false; Aws::String m_latestVersionName; bool m_latestVersionNameHasBeenSet = false; ModelStatus m_latestVersionStatus; bool m_latestVersionStatusHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws