/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKIdentity { namespace Model { /** *

An Amazon Lex V2 chat bot created under an * AppInstance.

See Also:

AWS * API Reference

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

The ARN of the AppInstanceBot.

*/ inline const Aws::String& GetAppInstanceBotArn() const{ return m_appInstanceBotArn; } /** *

The ARN of the AppInstanceBot.

*/ inline bool AppInstanceBotArnHasBeenSet() const { return m_appInstanceBotArnHasBeenSet; } /** *

The ARN of the AppInstanceBot.

*/ inline void SetAppInstanceBotArn(const Aws::String& value) { m_appInstanceBotArnHasBeenSet = true; m_appInstanceBotArn = value; } /** *

The ARN of the AppInstanceBot.

*/ inline void SetAppInstanceBotArn(Aws::String&& value) { m_appInstanceBotArnHasBeenSet = true; m_appInstanceBotArn = std::move(value); } /** *

The ARN of the AppInstanceBot.

*/ inline void SetAppInstanceBotArn(const char* value) { m_appInstanceBotArnHasBeenSet = true; m_appInstanceBotArn.assign(value); } /** *

The ARN of the AppInstanceBot.

*/ inline AppInstanceBot& WithAppInstanceBotArn(const Aws::String& value) { SetAppInstanceBotArn(value); return *this;} /** *

The ARN of the AppInstanceBot.

*/ inline AppInstanceBot& WithAppInstanceBotArn(Aws::String&& value) { SetAppInstanceBotArn(std::move(value)); return *this;} /** *

The ARN of the AppInstanceBot.

*/ inline AppInstanceBot& WithAppInstanceBotArn(const char* value) { SetAppInstanceBotArn(value); return *this;} /** *

The name of the AppInstanceBot.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the AppInstanceBot.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the AppInstanceBot.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the AppInstanceBot.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the AppInstanceBot.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the AppInstanceBot.

*/ inline AppInstanceBot& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the AppInstanceBot.

*/ inline AppInstanceBot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the AppInstanceBot.

*/ inline AppInstanceBot& WithName(const char* value) { SetName(value); return *this;} /** *

The data processing instructions for an AppInstanceBot.

*/ inline const Configuration& GetConfiguration() const{ return m_configuration; } /** *

The data processing instructions for an AppInstanceBot.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

The data processing instructions for an AppInstanceBot.

*/ inline void SetConfiguration(const Configuration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

The data processing instructions for an AppInstanceBot.

*/ inline void SetConfiguration(Configuration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

The data processing instructions for an AppInstanceBot.

*/ inline AppInstanceBot& WithConfiguration(const Configuration& value) { SetConfiguration(value); return *this;} /** *

The data processing instructions for an AppInstanceBot.

*/ inline AppInstanceBot& WithConfiguration(Configuration&& value) { SetConfiguration(std::move(value)); return *this;} /** *

The time at which the AppInstanceBot was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which the AppInstanceBot was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which the AppInstanceBot was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which the AppInstanceBot was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which the AppInstanceBot was created.

*/ inline AppInstanceBot& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which the AppInstanceBot was created.

*/ inline AppInstanceBot& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The time at which the AppInstanceBot was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; } /** *

The time at which the AppInstanceBot was last updated.

*/ inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } /** *

The time at which the AppInstanceBot was last updated.

*/ inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; } /** *

The time at which the AppInstanceBot was last updated.

*/ inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); } /** *

The time at which the AppInstanceBot was last updated.

*/ inline AppInstanceBot& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;} /** *

The time at which the AppInstanceBot was last updated.

*/ inline AppInstanceBot& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;} /** *

The metadata for an AppInstanceBot.

*/ inline const Aws::String& GetMetadata() const{ return m_metadata; } /** *

The metadata for an AppInstanceBot.

*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *

The metadata for an AppInstanceBot.

*/ inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** *

The metadata for an AppInstanceBot.

*/ inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } /** *

The metadata for an AppInstanceBot.

*/ inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); } /** *

The metadata for an AppInstanceBot.

*/ inline AppInstanceBot& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;} /** *

The metadata for an AppInstanceBot.

*/ inline AppInstanceBot& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;} /** *

The metadata for an AppInstanceBot.

*/ inline AppInstanceBot& WithMetadata(const char* value) { SetMetadata(value); return *this;} private: Aws::String m_appInstanceBotArn; bool m_appInstanceBotArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Configuration m_configuration; bool m_configurationHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTimestamp; bool m_lastUpdatedTimestampHasBeenSet = false; Aws::String m_metadata; bool m_metadataHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws