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

The name of the AppInstance.

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

The name of the AppInstance.

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

The name of the AppInstance.

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

The name of the AppInstance.

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

The name of the AppInstance.

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

The name of the AppInstance.

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

The name of the AppInstance.

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

The name of the AppInstance.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The metadata of the AppInstance. Limited to a 1KB string in * UTF-8.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

The unique ID of the request. Use different tokens to create different * AppInstances.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

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

Tags assigned to the AppInstance.

*/ inline CreateAppInstanceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: 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; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws