/** * 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 ChimeSDKIdentity { namespace Model { /** */ class UpdateAppInstanceBotRequest : public ChimeSDKIdentityRequest { public: AWS_CHIMESDKIDENTITY_API UpdateAppInstanceBotRequest(); // 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 "UpdateAppInstanceBot"; } AWS_CHIMESDKIDENTITY_API Aws::String SerializePayload() const override; /** *

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 UpdateAppInstanceBotRequest& WithAppInstanceBotArn(const Aws::String& value) { SetAppInstanceBotArn(value); return *this;} /** *

The ARN of the AppInstanceBot.

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

The ARN of the AppInstanceBot.

*/ inline UpdateAppInstanceBotRequest& 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 UpdateAppInstanceBotRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the AppInstanceBot.

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

The name of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

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

The metadata of the AppInstanceBot.

*/ inline UpdateAppInstanceBotRequest& WithMetadata(const char* value) { SetMetadata(value); return *this;} /** *

The configuration for the bot update.

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

The configuration for the bot update.

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

The configuration for the bot update.

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

The configuration for the bot update.

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

The configuration for the bot update.

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

The configuration for the bot update.

*/ inline UpdateAppInstanceBotRequest& WithConfiguration(Configuration&& value) { SetConfiguration(std::move(value)); return *this;} private: Aws::String m_appInstanceBotArn; bool m_appInstanceBotArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_metadata; bool m_metadataHasBeenSet = false; Configuration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws