/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LexModelsV2 { namespace Model { /** */ class UpdateTestSetRequest : public LexModelsV2Request { public: AWS_LEXMODELSV2_API UpdateTestSetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateTestSet"; } AWS_LEXMODELSV2_API Aws::String SerializePayload() const override; /** *

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 bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

The new test set name.

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

The new test set name.

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

The new test set name.

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

The new test set name.

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

The new test set name.

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

The new test set name.

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

The new test set name.

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

The new test set name.

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

The new test set description.

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

The new test set description.

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

The new test set description.

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

The new test set description.

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

The new test set description.

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

The new test set description.

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

The new test set description.

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

The new test set description.

*/ inline UpdateTestSetRequest& WithDescription(const char* value) { SetDescription(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; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws