/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class DescribeTestSetGenerationResult { public: AWS_LEXMODELSV2_API DescribeTestSetGenerationResult(); AWS_LEXMODELSV2_API DescribeTestSetGenerationResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DescribeTestSetGenerationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the test set generation.

*/ inline const Aws::String& GetTestSetGenerationId() const{ return m_testSetGenerationId; } /** *

The unique identifier of the test set generation.

*/ inline void SetTestSetGenerationId(const Aws::String& value) { m_testSetGenerationId = value; } /** *

The unique identifier of the test set generation.

*/ inline void SetTestSetGenerationId(Aws::String&& value) { m_testSetGenerationId = std::move(value); } /** *

The unique identifier of the test set generation.

*/ inline void SetTestSetGenerationId(const char* value) { m_testSetGenerationId.assign(value); } /** *

The unique identifier of the test set generation.

*/ inline DescribeTestSetGenerationResult& WithTestSetGenerationId(const Aws::String& value) { SetTestSetGenerationId(value); return *this;} /** *

The unique identifier of the test set generation.

*/ inline DescribeTestSetGenerationResult& WithTestSetGenerationId(Aws::String&& value) { SetTestSetGenerationId(std::move(value)); return *this;} /** *

The unique identifier of the test set generation.

*/ inline DescribeTestSetGenerationResult& WithTestSetGenerationId(const char* value) { SetTestSetGenerationId(value); return *this;} /** *

The status for the test set generation.

*/ inline const TestSetGenerationStatus& GetTestSetGenerationStatus() const{ return m_testSetGenerationStatus; } /** *

The status for the test set generation.

*/ inline void SetTestSetGenerationStatus(const TestSetGenerationStatus& value) { m_testSetGenerationStatus = value; } /** *

The status for the test set generation.

*/ inline void SetTestSetGenerationStatus(TestSetGenerationStatus&& value) { m_testSetGenerationStatus = std::move(value); } /** *

The status for the test set generation.

*/ inline DescribeTestSetGenerationResult& WithTestSetGenerationStatus(const TestSetGenerationStatus& value) { SetTestSetGenerationStatus(value); return *this;} /** *

The status for the test set generation.

*/ inline DescribeTestSetGenerationResult& WithTestSetGenerationStatus(TestSetGenerationStatus&& value) { SetTestSetGenerationStatus(std::move(value)); return *this;} /** *

The reasons the test set generation failed.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** *

The reasons the test set generation failed.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasons = value; } /** *

The reasons the test set generation failed.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasons = std::move(value); } /** *

The reasons the test set generation failed.

*/ inline DescribeTestSetGenerationResult& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** *

The reasons the test set generation failed.

*/ inline DescribeTestSetGenerationResult& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** *

The reasons the test set generation failed.

*/ inline DescribeTestSetGenerationResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; } /** *

The reasons the test set generation failed.

*/ inline DescribeTestSetGenerationResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; } /** *

The reasons the test set generation failed.

*/ inline DescribeTestSetGenerationResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; } /** *

The unique identifier for the test set created for the generated test * set.

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

The unique identifier for the test set created for the generated test * set.

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

The unique identifier for the test set created for the generated test * set.

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

The unique identifier for the test set created for the generated test * set.

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

The unique identifier for the test set created for the generated test * set.

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

The unique identifier for the test set created for the generated test * set.

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

The unique identifier for the test set created for the generated test * set.

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

The test set name for the generated test set.

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

The test set name for the generated test set.

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

The test set name for the generated test set.

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

The test set name for the generated test set.

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

The test set name for the generated test set.

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

The test set name for the generated test set.

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

The test set name for the generated test set.

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

The test set description for the test set generation.

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

The test set description for the test set generation.

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

The test set description for the test set generation.

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

The test set description for the test set generation.

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

The test set description for the test set generation.

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

The test set description for the test set generation.

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

The test set description for the test set generation.

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

The Amazon S3 storage location for the test set generation.

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

The Amazon S3 storage location for the test set generation.

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

The Amazon S3 storage location for the test set generation.

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

The Amazon S3 storage location for the test set generation.

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

The Amazon S3 storage location for the test set generation.

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

The data source of the test set used for the test set generation.

*/ inline const TestSetGenerationDataSource& GetGenerationDataSource() const{ return m_generationDataSource; } /** *

The data source of the test set used for the test set generation.

*/ inline void SetGenerationDataSource(const TestSetGenerationDataSource& value) { m_generationDataSource = value; } /** *

The data source of the test set used for the test set generation.

*/ inline void SetGenerationDataSource(TestSetGenerationDataSource&& value) { m_generationDataSource = std::move(value); } /** *

The data source of the test set used for the test set generation.

*/ inline DescribeTestSetGenerationResult& WithGenerationDataSource(const TestSetGenerationDataSource& value) { SetGenerationDataSource(value); return *this;} /** *

The data source of the test set used for the test set generation.

*/ inline DescribeTestSetGenerationResult& WithGenerationDataSource(TestSetGenerationDataSource&& value) { SetGenerationDataSource(std::move(value)); return *this;} /** *

The roleARN of the test set used for the test set generation.

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

The roleARN of the test set used for the test set generation.

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

The roleARN of the test set used for the test set generation.

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

The roleARN of the test set used for the test set generation.

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

The roleARN of the test set used for the test set generation.

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

The roleARN of the test set used for the test set generation.

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

The roleARN of the test set used for the test set generation.

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

The creation date and time for the test set generation.

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

The creation date and time for the test set generation.

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

The creation date and time for the test set generation.

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

The creation date and time for the test set generation.

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

The creation date and time for the test set generation.

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

The date and time of the last update for the test set generation.

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

The date and time of the last update for the test set generation.

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

The date and time of the last update for the test set generation.

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

The date and time of the last update for the test set generation.

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

The date and time of the last update for the test set generation.

*/ inline DescribeTestSetGenerationResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeTestSetGenerationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTestSetGenerationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTestSetGenerationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_testSetGenerationId; TestSetGenerationStatus m_testSetGenerationStatus; Aws::Vector m_failureReasons; Aws::String m_testSetId; Aws::String m_testSetName; Aws::String m_description; TestSetStorageLocation m_storageLocation; TestSetGenerationDataSource m_generationDataSource; Aws::String m_roleArn; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws