/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Provides summary information about an import in an import list.

See * Also:

AWS * API Reference

*/ class ImportSummary { public: AWS_LEXMODELSV2_API ImportSummary(); AWS_LEXMODELSV2_API ImportSummary(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API ImportSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline const Aws::String& GetImportId() const{ return m_importId; } /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline bool ImportIdHasBeenSet() const { return m_importIdHasBeenSet; } /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline void SetImportId(const Aws::String& value) { m_importIdHasBeenSet = true; m_importId = value; } /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline void SetImportId(Aws::String&& value) { m_importIdHasBeenSet = true; m_importId = std::move(value); } /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline void SetImportId(const char* value) { m_importIdHasBeenSet = true; m_importId.assign(value); } /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline ImportSummary& WithImportId(const Aws::String& value) { SetImportId(value); return *this;} /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline ImportSummary& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;} /** *

The unique identifier that Amazon Lex assigned to the import.

*/ inline ImportSummary& WithImportId(const char* value) { SetImportId(value); return *this;} /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline const Aws::String& GetImportedResourceId() const{ return m_importedResourceId; } /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline bool ImportedResourceIdHasBeenSet() const { return m_importedResourceIdHasBeenSet; } /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline void SetImportedResourceId(const Aws::String& value) { m_importedResourceIdHasBeenSet = true; m_importedResourceId = value; } /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline void SetImportedResourceId(Aws::String&& value) { m_importedResourceIdHasBeenSet = true; m_importedResourceId = std::move(value); } /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline void SetImportedResourceId(const char* value) { m_importedResourceIdHasBeenSet = true; m_importedResourceId.assign(value); } /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline ImportSummary& WithImportedResourceId(const Aws::String& value) { SetImportedResourceId(value); return *this;} /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline ImportSummary& WithImportedResourceId(Aws::String&& value) { SetImportedResourceId(std::move(value)); return *this;} /** *

The unique identifier that Amazon Lex assigned to the imported resource.

*/ inline ImportSummary& WithImportedResourceId(const char* value) { SetImportedResourceId(value); return *this;} /** *

The name that you gave the imported resource.

*/ inline const Aws::String& GetImportedResourceName() const{ return m_importedResourceName; } /** *

The name that you gave the imported resource.

*/ inline bool ImportedResourceNameHasBeenSet() const { return m_importedResourceNameHasBeenSet; } /** *

The name that you gave the imported resource.

*/ inline void SetImportedResourceName(const Aws::String& value) { m_importedResourceNameHasBeenSet = true; m_importedResourceName = value; } /** *

The name that you gave the imported resource.

*/ inline void SetImportedResourceName(Aws::String&& value) { m_importedResourceNameHasBeenSet = true; m_importedResourceName = std::move(value); } /** *

The name that you gave the imported resource.

*/ inline void SetImportedResourceName(const char* value) { m_importedResourceNameHasBeenSet = true; m_importedResourceName.assign(value); } /** *

The name that you gave the imported resource.

*/ inline ImportSummary& WithImportedResourceName(const Aws::String& value) { SetImportedResourceName(value); return *this;} /** *

The name that you gave the imported resource.

*/ inline ImportSummary& WithImportedResourceName(Aws::String&& value) { SetImportedResourceName(std::move(value)); return *this;} /** *

The name that you gave the imported resource.

*/ inline ImportSummary& WithImportedResourceName(const char* value) { SetImportedResourceName(value); return *this;} /** *

The status of the resource. When the status is Completed the * resource is ready to build.

*/ inline const ImportStatus& GetImportStatus() const{ return m_importStatus; } /** *

The status of the resource. When the status is Completed the * resource is ready to build.

*/ inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; } /** *

The status of the resource. When the status is Completed the * resource is ready to build.

*/ inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; } /** *

The status of the resource. When the status is Completed the * resource is ready to build.

*/ inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); } /** *

The status of the resource. When the status is Completed the * resource is ready to build.

*/ inline ImportSummary& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;} /** *

The status of the resource. When the status is Completed the * resource is ready to build.

*/ inline ImportSummary& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;} /** *

The strategy used to merge existing bot or bot locale definitions with the * imported definition.

*/ inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; } /** *

The strategy used to merge existing bot or bot locale definitions with the * imported definition.

*/ inline bool MergeStrategyHasBeenSet() const { return m_mergeStrategyHasBeenSet; } /** *

The strategy used to merge existing bot or bot locale definitions with the * imported definition.

*/ inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategyHasBeenSet = true; m_mergeStrategy = value; } /** *

The strategy used to merge existing bot or bot locale definitions with the * imported definition.

*/ inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategyHasBeenSet = true; m_mergeStrategy = std::move(value); } /** *

The strategy used to merge existing bot or bot locale definitions with the * imported definition.

*/ inline ImportSummary& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;} /** *

The strategy used to merge existing bot or bot locale definitions with the * imported definition.

*/ inline ImportSummary& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;} /** *

The date and time that the import was created.

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

The date and time that the import was created.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The date and time that the import was created.

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

The date and time that the import was created.

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

The date and time that the import was created.

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

The date and time that the import was created.

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

The date and time that the import was last updated.

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

The date and time that the import was last updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The date and time that the import was last updated.

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

The date and time that the import was last updated.

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

The date and time that the import was last updated.

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

The date and time that the import was last updated.

*/ inline ImportSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

The type of resource that was imported.

*/ inline const ImportResourceType& GetImportedResourceType() const{ return m_importedResourceType; } /** *

The type of resource that was imported.

*/ inline bool ImportedResourceTypeHasBeenSet() const { return m_importedResourceTypeHasBeenSet; } /** *

The type of resource that was imported.

*/ inline void SetImportedResourceType(const ImportResourceType& value) { m_importedResourceTypeHasBeenSet = true; m_importedResourceType = value; } /** *

The type of resource that was imported.

*/ inline void SetImportedResourceType(ImportResourceType&& value) { m_importedResourceTypeHasBeenSet = true; m_importedResourceType = std::move(value); } /** *

The type of resource that was imported.

*/ inline ImportSummary& WithImportedResourceType(const ImportResourceType& value) { SetImportedResourceType(value); return *this;} /** *

The type of resource that was imported.

*/ inline ImportSummary& WithImportedResourceType(ImportResourceType&& value) { SetImportedResourceType(std::move(value)); return *this;} private: Aws::String m_importId; bool m_importIdHasBeenSet = false; Aws::String m_importedResourceId; bool m_importedResourceIdHasBeenSet = false; Aws::String m_importedResourceName; bool m_importedResourceNameHasBeenSet = false; ImportStatus m_importStatus; bool m_importStatusHasBeenSet = false; MergeStrategy m_mergeStrategy; bool m_mergeStrategyHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; ImportResourceType m_importedResourceType; bool m_importedResourceTypeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws