/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Contains summary information about the test set.

See Also:

* AWS * API Reference

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

The unique identifier of the test set.

*/ inline const Aws::String& GetTestSetId() const{ return m_testSetId; } /** *

The unique identifier of the test set.

*/ inline bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; } /** *

The unique identifier of the test set.

*/ inline void SetTestSetId(const Aws::String& value) { m_testSetIdHasBeenSet = true; m_testSetId = value; } /** *

The unique identifier of the test set.

*/ inline void SetTestSetId(Aws::String&& value) { m_testSetIdHasBeenSet = true; m_testSetId = std::move(value); } /** *

The unique identifier of the test set.

*/ inline void SetTestSetId(const char* value) { m_testSetIdHasBeenSet = true; m_testSetId.assign(value); } /** *

The unique identifier of the test set.

*/ inline TestSetSummary& WithTestSetId(const Aws::String& value) { SetTestSetId(value); return *this;} /** *

The unique identifier of the test set.

*/ inline TestSetSummary& WithTestSetId(Aws::String&& value) { SetTestSetId(std::move(value)); return *this;} /** *

The unique identifier of the test set.

*/ inline TestSetSummary& WithTestSetId(const char* value) { SetTestSetId(value); return *this;} /** *

The name of the test set.

*/ inline const Aws::String& GetTestSetName() const{ return m_testSetName; } /** *

The name of the test set.

*/ inline bool TestSetNameHasBeenSet() const { return m_testSetNameHasBeenSet; } /** *

The name of the test set.

*/ inline void SetTestSetName(const Aws::String& value) { m_testSetNameHasBeenSet = true; m_testSetName = value; } /** *

The name of the test set.

*/ inline void SetTestSetName(Aws::String&& value) { m_testSetNameHasBeenSet = true; m_testSetName = std::move(value); } /** *

The name of the test set.

*/ inline void SetTestSetName(const char* value) { m_testSetNameHasBeenSet = true; m_testSetName.assign(value); } /** *

The name of the test set.

*/ inline TestSetSummary& WithTestSetName(const Aws::String& value) { SetTestSetName(value); return *this;} /** *

The name of the test set.

*/ inline TestSetSummary& WithTestSetName(Aws::String&& value) { SetTestSetName(std::move(value)); return *this;} /** *

The name of the test set.

*/ inline TestSetSummary& WithTestSetName(const char* value) { SetTestSetName(value); return *this;} /** *

The description of the test set.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the test set.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the test set.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the test set.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the test set.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the test set.

*/ inline TestSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the test set.

*/ inline TestSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the test set.

*/ inline TestSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Specifies whether the test set contains written or spoken data.

*/ inline const TestSetModality& GetModality() const{ return m_modality; } /** *

Specifies whether the test set contains written or spoken data.

*/ inline bool ModalityHasBeenSet() const { return m_modalityHasBeenSet; } /** *

Specifies whether the test set contains written or spoken data.

*/ inline void SetModality(const TestSetModality& value) { m_modalityHasBeenSet = true; m_modality = value; } /** *

Specifies whether the test set contains written or spoken data.

*/ inline void SetModality(TestSetModality&& value) { m_modalityHasBeenSet = true; m_modality = std::move(value); } /** *

Specifies whether the test set contains written or spoken data.

*/ inline TestSetSummary& WithModality(const TestSetModality& value) { SetModality(value); return *this;} /** *

Specifies whether the test set contains written or spoken data.

*/ inline TestSetSummary& WithModality(TestSetModality&& value) { SetModality(std::move(value)); return *this;} /** *

The status of the test set.

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

The status of the test set.

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

The status of the test set.

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

The status of the test set.

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

The status of the test set.

*/ inline TestSetSummary& WithStatus(const TestSetStatus& value) { SetStatus(value); return *this;} /** *

The status of the test set.

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

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline TestSetSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline TestSetSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the test set.

*/ inline TestSetSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The number of turns in the test set.

*/ inline int GetNumTurns() const{ return m_numTurns; } /** *

The number of turns in the test set.

*/ inline bool NumTurnsHasBeenSet() const { return m_numTurnsHasBeenSet; } /** *

The number of turns in the test set.

*/ inline void SetNumTurns(int value) { m_numTurnsHasBeenSet = true; m_numTurns = value; } /** *

The number of turns in the test set.

*/ inline TestSetSummary& WithNumTurns(int value) { SetNumTurns(value); return *this;} /** *

Contains information about the location at which the test set is stored.

*/ inline const TestSetStorageLocation& GetStorageLocation() const{ return m_storageLocation; } /** *

Contains information about the location at which the test set is stored.

*/ inline bool StorageLocationHasBeenSet() const { return m_storageLocationHasBeenSet; } /** *

Contains information about the location at which the test set is stored.

*/ inline void SetStorageLocation(const TestSetStorageLocation& value) { m_storageLocationHasBeenSet = true; m_storageLocation = value; } /** *

Contains information about the location at which the test set is stored.

*/ inline void SetStorageLocation(TestSetStorageLocation&& value) { m_storageLocationHasBeenSet = true; m_storageLocation = std::move(value); } /** *

Contains information about the location at which the test set is stored.

*/ inline TestSetSummary& WithStorageLocation(const TestSetStorageLocation& value) { SetStorageLocation(value); return *this;} /** *

Contains information about the location at which the test set is stored.

*/ inline TestSetSummary& WithStorageLocation(TestSetStorageLocation&& value) { SetStorageLocation(std::move(value)); return *this;} /** *

The date and time at which the test set was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time at which the test set was created.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The date and time at which the test set was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

The date and time at which the test set was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

The date and time at which the test set was created.

*/ inline TestSetSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time at which the test set was created.

*/ inline TestSetSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time at which the test set was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The date and time at which the test set was last updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The date and time at which the test set was last updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

The date and time at which the test set was last updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

The date and time at which the test set was last updated.

*/ inline TestSetSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The date and time at which the test set was last updated.

*/ inline TestSetSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} private: Aws::String m_testSetId; bool m_testSetIdHasBeenSet = false; Aws::String m_testSetName; bool m_testSetNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; TestSetModality m_modality; bool m_modalityHasBeenSet = false; TestSetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; int m_numTurns; bool m_numTurnsHasBeenSet = false; TestSetStorageLocation m_storageLocation; bool m_storageLocationHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws