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

The test set Id for which update test operation to be performed.

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

The test set Id for which update test operation to be performed.

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

The test set Id for which update test operation to be performed.

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

The test set Id for which update test operation to be performed.

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

The test set Id for which update test operation to be performed.

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

The test set Id for which update test operation to be performed.

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

The test set Id for which update test operation to be performed.

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

The test set name for the updated test set.

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

The test set name for the updated test set.

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

The test set name for the updated test set.

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

The test set name for the updated test set.

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

The test set name for the updated test set.

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

The test set name for the updated test set.

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

The test set name for the updated test set.

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

The test set description for the updated test set.

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

The test set description for the updated test set.

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

The test set description for the updated test set.

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

The test set description for the updated test set.

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

The test set description for the updated test set.

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

The test set description for the updated test set.

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

The test set description for the updated test set.

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

Indicates whether audio or text is used for the updated test set.

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

Indicates whether audio or text is used for the updated test set.

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

Indicates whether audio or text is used for the updated test set.

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

Indicates whether audio or text is used for the updated test set.

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

Indicates whether audio or text is used for the updated test set.

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

The status for the updated test set.

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

The status for the updated test set.

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

The status for the updated test set.

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

The status for the updated test set.

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

The status for the updated test set.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The roleARN used for any operation in the test set to access resources in the * Amazon Web Services account.

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

The number of conversation turns from the updated test set.

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

The number of conversation turns from the updated test set.

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

The number of conversation turns from the updated test set.

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

The Amazon S3 storage location for the updated test set.

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

The Amazon S3 storage location for the updated test set.

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

The Amazon S3 storage location for the updated test set.

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

The Amazon S3 storage location for the updated test set.

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

The Amazon S3 storage location for the updated test set.

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

The creation date and time for the updated test set.

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

The creation date and time for the updated test set.

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

The creation date and time for the updated test set.

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

The creation date and time for the updated test set.

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

The creation date and time for the updated test set.

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

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

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

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

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

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

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

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

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

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

*/ inline UpdateTestSetResult& 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 UpdateTestSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateTestSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateTestSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_testSetId; Aws::String m_testSetName; Aws::String m_description; TestSetModality m_modality; TestSetStatus m_status; Aws::String m_roleArn; int m_numTurns; TestSetStorageLocation m_storageLocation; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws