/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the bot or bot locale that you want to export. You
* can specify the botExportSpecification
or the
* botLocaleExportSpecification
, but not both.See
* Also:
AWS
* API Reference
Parameters for exporting a bot.
*/ inline const BotExportSpecification& GetBotExportSpecification() const{ return m_botExportSpecification; } /** *Parameters for exporting a bot.
*/ inline bool BotExportSpecificationHasBeenSet() const { return m_botExportSpecificationHasBeenSet; } /** *Parameters for exporting a bot.
*/ inline void SetBotExportSpecification(const BotExportSpecification& value) { m_botExportSpecificationHasBeenSet = true; m_botExportSpecification = value; } /** *Parameters for exporting a bot.
*/ inline void SetBotExportSpecification(BotExportSpecification&& value) { m_botExportSpecificationHasBeenSet = true; m_botExportSpecification = std::move(value); } /** *Parameters for exporting a bot.
*/ inline ExportResourceSpecification& WithBotExportSpecification(const BotExportSpecification& value) { SetBotExportSpecification(value); return *this;} /** *Parameters for exporting a bot.
*/ inline ExportResourceSpecification& WithBotExportSpecification(BotExportSpecification&& value) { SetBotExportSpecification(std::move(value)); return *this;} /** *Parameters for exporting a bot locale.
*/ inline const BotLocaleExportSpecification& GetBotLocaleExportSpecification() const{ return m_botLocaleExportSpecification; } /** *Parameters for exporting a bot locale.
*/ inline bool BotLocaleExportSpecificationHasBeenSet() const { return m_botLocaleExportSpecificationHasBeenSet; } /** *Parameters for exporting a bot locale.
*/ inline void SetBotLocaleExportSpecification(const BotLocaleExportSpecification& value) { m_botLocaleExportSpecificationHasBeenSet = true; m_botLocaleExportSpecification = value; } /** *Parameters for exporting a bot locale.
*/ inline void SetBotLocaleExportSpecification(BotLocaleExportSpecification&& value) { m_botLocaleExportSpecificationHasBeenSet = true; m_botLocaleExportSpecification = std::move(value); } /** *Parameters for exporting a bot locale.
*/ inline ExportResourceSpecification& WithBotLocaleExportSpecification(const BotLocaleExportSpecification& value) { SetBotLocaleExportSpecification(value); return *this;} /** *Parameters for exporting a bot locale.
*/ inline ExportResourceSpecification& WithBotLocaleExportSpecification(BotLocaleExportSpecification&& value) { SetBotLocaleExportSpecification(std::move(value)); return *this;} /** *The parameters required to export a custom vocabulary.
*/ inline const CustomVocabularyExportSpecification& GetCustomVocabularyExportSpecification() const{ return m_customVocabularyExportSpecification; } /** *The parameters required to export a custom vocabulary.
*/ inline bool CustomVocabularyExportSpecificationHasBeenSet() const { return m_customVocabularyExportSpecificationHasBeenSet; } /** *The parameters required to export a custom vocabulary.
*/ inline void SetCustomVocabularyExportSpecification(const CustomVocabularyExportSpecification& value) { m_customVocabularyExportSpecificationHasBeenSet = true; m_customVocabularyExportSpecification = value; } /** *The parameters required to export a custom vocabulary.
*/ inline void SetCustomVocabularyExportSpecification(CustomVocabularyExportSpecification&& value) { m_customVocabularyExportSpecificationHasBeenSet = true; m_customVocabularyExportSpecification = std::move(value); } /** *The parameters required to export a custom vocabulary.
*/ inline ExportResourceSpecification& WithCustomVocabularyExportSpecification(const CustomVocabularyExportSpecification& value) { SetCustomVocabularyExportSpecification(value); return *this;} /** *The parameters required to export a custom vocabulary.
*/ inline ExportResourceSpecification& WithCustomVocabularyExportSpecification(CustomVocabularyExportSpecification&& value) { SetCustomVocabularyExportSpecification(std::move(value)); return *this;} /** *Specifications for the test set that is exported as a resource.
*/ inline const TestSetExportSpecification& GetTestSetExportSpecification() const{ return m_testSetExportSpecification; } /** *Specifications for the test set that is exported as a resource.
*/ inline bool TestSetExportSpecificationHasBeenSet() const { return m_testSetExportSpecificationHasBeenSet; } /** *Specifications for the test set that is exported as a resource.
*/ inline void SetTestSetExportSpecification(const TestSetExportSpecification& value) { m_testSetExportSpecificationHasBeenSet = true; m_testSetExportSpecification = value; } /** *Specifications for the test set that is exported as a resource.
*/ inline void SetTestSetExportSpecification(TestSetExportSpecification&& value) { m_testSetExportSpecificationHasBeenSet = true; m_testSetExportSpecification = std::move(value); } /** *Specifications for the test set that is exported as a resource.
*/ inline ExportResourceSpecification& WithTestSetExportSpecification(const TestSetExportSpecification& value) { SetTestSetExportSpecification(value); return *this;} /** *Specifications for the test set that is exported as a resource.
*/ inline ExportResourceSpecification& WithTestSetExportSpecification(TestSetExportSpecification&& value) { SetTestSetExportSpecification(std::move(value)); return *this;} private: BotExportSpecification m_botExportSpecification; bool m_botExportSpecificationHasBeenSet = false; BotLocaleExportSpecification m_botLocaleExportSpecification; bool m_botLocaleExportSpecificationHasBeenSet = false; CustomVocabularyExportSpecification m_customVocabularyExportSpecification; bool m_customVocabularyExportSpecificationHasBeenSet = false; TestSetExportSpecification m_testSetExportSpecification; bool m_testSetExportSpecificationHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws