/** * 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 VoiceID { namespace Model { /** */ class UpdateDomainRequest : public VoiceIDRequest { public: AWS_VOICEID_API UpdateDomainRequest(); // 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 "UpdateDomain"; } AWS_VOICEID_API Aws::String SerializePayload() const override; AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A brief description about this domain.

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

A brief description about this domain.

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

A brief description about this domain.

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

A brief description about this domain.

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

A brief description about this domain.

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

A brief description about this domain.

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

A brief description about this domain.

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

A brief description about this domain.

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

The identifier of the domain to be updated.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The identifier of the domain to be updated.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The identifier of the domain to be updated.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The identifier of the domain to be updated.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The identifier of the domain to be updated.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The identifier of the domain to be updated.

*/ inline UpdateDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The identifier of the domain to be updated.

*/ inline UpdateDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The identifier of the domain to be updated.

*/ inline UpdateDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The name of the domain.

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

The name of the domain.

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

The name of the domain.

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

The name of the domain.

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

The name of the domain.

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

The name of the domain.

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

The name of the domain.

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

The name of the domain.

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

The configuration, containing the KMS key identifier, to be used by Voice ID * for the server-side encryption of your data. Changing the domain's associated * KMS key immediately triggers an asynchronous process to remove dependency on the * old KMS key, such that the domain's data can only be accessed using the new KMS * key. The domain's ServerSideEncryptionUpdateDetails contains the * details for this process.

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

The configuration, containing the KMS key identifier, to be used by Voice ID * for the server-side encryption of your data. Changing the domain's associated * KMS key immediately triggers an asynchronous process to remove dependency on the * old KMS key, such that the domain's data can only be accessed using the new KMS * key. The domain's ServerSideEncryptionUpdateDetails contains the * details for this process.

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

The configuration, containing the KMS key identifier, to be used by Voice ID * for the server-side encryption of your data. Changing the domain's associated * KMS key immediately triggers an asynchronous process to remove dependency on the * old KMS key, such that the domain's data can only be accessed using the new KMS * key. The domain's ServerSideEncryptionUpdateDetails contains the * details for this process.

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

The configuration, containing the KMS key identifier, to be used by Voice ID * for the server-side encryption of your data. Changing the domain's associated * KMS key immediately triggers an asynchronous process to remove dependency on the * old KMS key, such that the domain's data can only be accessed using the new KMS * key. The domain's ServerSideEncryptionUpdateDetails contains the * details for this process.

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

The configuration, containing the KMS key identifier, to be used by Voice ID * for the server-side encryption of your data. Changing the domain's associated * KMS key immediately triggers an asynchronous process to remove dependency on the * old KMS key, such that the domain's data can only be accessed using the new KMS * key. The domain's ServerSideEncryptionUpdateDetails contains the * details for this process.

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

The configuration, containing the KMS key identifier, to be used by Voice ID * for the server-side encryption of your data. Changing the domain's associated * KMS key immediately triggers an asynchronous process to remove dependency on the * old KMS key, such that the domain's data can only be accessed using the new KMS * key. The domain's ServerSideEncryptionUpdateDetails contains the * details for this process.

*/ inline UpdateDomainRequest& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { SetServerSideEncryptionConfiguration(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; bool m_serverSideEncryptionConfigurationHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws