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

The ARN of the AppInstance request.

*/ inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; } /** *

The ARN of the AppInstance request.

*/ inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; } /** *

The ARN of the AppInstance request.

*/ inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; } /** *

The ARN of the AppInstance request.

*/ inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); } /** *

The ARN of the AppInstance request.

*/ inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); } /** *

The ARN of the AppInstance request.

*/ inline CreateAppInstanceBotRequest& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;} /** *

The ARN of the AppInstance request.

*/ inline CreateAppInstanceBotRequest& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;} /** *

The ARN of the AppInstance request.

*/ inline CreateAppInstanceBotRequest& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;} /** *

The user's name.

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

The user's name.

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

The user's name.

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

The user's name.

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

The user's name.

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

The user's name.

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

The user's name.

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

The user's name.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The request metadata. Limited to a 1KB string in UTF-8.

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

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline CreateAppInstanceBotRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline CreateAppInstanceBotRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

The unique ID for the client making the request. Use different tokens for * different AppInstanceBots.

*/ inline CreateAppInstanceBotRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The tags assigned to the AppInstanceBot.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags assigned to the AppInstanceBot.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the AppInstanceBot.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the AppInstanceBot.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the AppInstanceBot.

*/ inline CreateAppInstanceBotRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags assigned to the AppInstanceBot.

*/ inline CreateAppInstanceBotRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the AppInstanceBot.

*/ inline CreateAppInstanceBotRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags assigned to the AppInstanceBot.

*/ inline CreateAppInstanceBotRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

Configuration information about the Amazon Lex V2 V2 bot.

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

Configuration information about the Amazon Lex V2 V2 bot.

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

Configuration information about the Amazon Lex V2 V2 bot.

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

Configuration information about the Amazon Lex V2 V2 bot.

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

Configuration information about the Amazon Lex V2 V2 bot.

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

Configuration information about the Amazon Lex V2 V2 bot.

*/ inline CreateAppInstanceBotRequest& WithConfiguration(Configuration&& value) { SetConfiguration(std::move(value)); return *this;} private: Aws::String m_appInstanceArn; bool m_appInstanceArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_metadata; bool m_metadataHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Configuration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws