/** * 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 ChimeSDKVoice { namespace Model { /** */ class CreateVoiceProfileDomainRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API CreateVoiceProfileDomainRequest(); // 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 "CreateVoiceProfileDomain"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

A description of the voice profile domain.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the voice profile domain.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the voice profile domain.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the voice profile domain.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the voice profile domain.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the voice profile domain.

*/ inline CreateVoiceProfileDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the voice profile domain.

*/ inline CreateVoiceProfileDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the voice profile domain.

*/ inline CreateVoiceProfileDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The server-side encryption configuration for the request.

*/ inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; } /** *

The server-side encryption configuration for the request.

*/ inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; } /** *

The server-side encryption configuration for the request.

*/ inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; } /** *

The server-side encryption configuration for the request.

*/ inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); } /** *

The server-side encryption configuration for the request.

*/ inline CreateVoiceProfileDomainRequest& WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { SetServerSideEncryptionConfiguration(value); return *this;} /** *

The server-side encryption configuration for the request.

*/ inline CreateVoiceProfileDomainRequest& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { SetServerSideEncryptionConfiguration(std::move(value)); return *this;} /** *

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The unique identifier for the client request. Use a different token for * different domain creation requests.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

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

The tags assigned to the domain.

*/ inline CreateVoiceProfileDomainRequest& 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_description; bool m_descriptionHasBeenSet = false; ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; bool m_serverSideEncryptionConfigurationHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws