/** * 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 StartTestSetGenerationResult { public: AWS_LEXMODELSV2_API StartTestSetGenerationResult(); AWS_LEXMODELSV2_API StartTestSetGenerationResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API StartTestSetGenerationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the test set generation to describe.

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

The unique identifier of the test set generation to describe.

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

The unique identifier of the test set generation to describe.

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

The unique identifier of the test set generation to describe.

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

The unique identifier of the test set generation to describe.

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

The unique identifier of the test set generation to describe.

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

The unique identifier of the test set generation to describe.

*/ inline StartTestSetGenerationResult& WithTestSetGenerationId(const char* value) { SetTestSetGenerationId(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 StartTestSetGenerationResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The creation date and time for the test set generation.

*/ inline StartTestSetGenerationResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(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 StartTestSetGenerationResult& WithTestSetGenerationStatus(const TestSetGenerationStatus& value) { SetTestSetGenerationStatus(value); return *this;} /** *

The status for the test set generation.

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

The test set name used for the test set generation.

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

The test set name used for the test set generation.

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

The test set name used for the test set generation.

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

The test set name used for the test set generation.

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

The test set name used for the test set generation.

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

The test set name used for the test set generation.

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

The test set name used for the test set generation.

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

The description used for the test set generation.

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

The description used for the test set generation.

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

The description used for the test set generation.

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

The description used for the test set generation.

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

The description used for the test set generation.

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

The description used for the test set generation.

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

The description used for the test set generation.

*/ inline StartTestSetGenerationResult& 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 StartTestSetGenerationResult& WithStorageLocation(const TestSetStorageLocation& value) { SetStorageLocation(value); return *this;} /** *

The Amazon S3 storage location for the test set generation.

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

The data source for the test set generation.

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

The data source for the test set generation.

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

The data source for the test set generation.

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

The data source for the test set generation.

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

The data source for the test set generation.

*/ inline StartTestSetGenerationResult& WithGenerationDataSource(TestSetGenerationDataSource&& value) { SetGenerationDataSource(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 StartTestSetGenerationResult& 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 StartTestSetGenerationResult& 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 StartTestSetGenerationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

A list of tags that was used for the test set that is being generated.

*/ inline const Aws::Map& GetTestSetTags() const{ return m_testSetTags; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline void SetTestSetTags(const Aws::Map& value) { m_testSetTags = value; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline void SetTestSetTags(Aws::Map&& value) { m_testSetTags = std::move(value); } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& WithTestSetTags(const Aws::Map& value) { SetTestSetTags(value); return *this;} /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& WithTestSetTags(Aws::Map&& value) { SetTestSetTags(std::move(value)); return *this;} /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(const Aws::String& key, const Aws::String& value) { m_testSetTags.emplace(key, value); return *this; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(Aws::String&& key, const Aws::String& value) { m_testSetTags.emplace(std::move(key), value); return *this; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(const Aws::String& key, Aws::String&& value) { m_testSetTags.emplace(key, std::move(value)); return *this; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(Aws::String&& key, Aws::String&& value) { m_testSetTags.emplace(std::move(key), std::move(value)); return *this; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(const char* key, Aws::String&& value) { m_testSetTags.emplace(key, std::move(value)); return *this; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(Aws::String&& key, const char* value) { m_testSetTags.emplace(std::move(key), value); return *this; } /** *

A list of tags that was used for the test set that is being generated.

*/ inline StartTestSetGenerationResult& AddTestSetTags(const char* key, const char* value) { m_testSetTags.emplace(key, 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 StartTestSetGenerationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartTestSetGenerationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartTestSetGenerationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_testSetGenerationId; Aws::Utils::DateTime m_creationDateTime; TestSetGenerationStatus m_testSetGenerationStatus; Aws::String m_testSetName; Aws::String m_description; TestSetStorageLocation m_storageLocation; TestSetGenerationDataSource m_generationDataSource; Aws::String m_roleArn; Aws::Map m_testSetTags; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws