/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

A collection of voice profiles.

See Also:

AWS * API Reference

*/ class VoiceProfileDomain { public: AWS_CHIMESDKVOICE_API VoiceProfileDomain(); AWS_CHIMESDKVOICE_API VoiceProfileDomain(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API VoiceProfileDomain& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the voice profile domain.

*/ inline const Aws::String& GetVoiceProfileDomainId() const{ return m_voiceProfileDomainId; } /** *

The ID of the voice profile domain.

*/ inline bool VoiceProfileDomainIdHasBeenSet() const { return m_voiceProfileDomainIdHasBeenSet; } /** *

The ID of the voice profile domain.

*/ inline void SetVoiceProfileDomainId(const Aws::String& value) { m_voiceProfileDomainIdHasBeenSet = true; m_voiceProfileDomainId = value; } /** *

The ID of the voice profile domain.

*/ inline void SetVoiceProfileDomainId(Aws::String&& value) { m_voiceProfileDomainIdHasBeenSet = true; m_voiceProfileDomainId = std::move(value); } /** *

The ID of the voice profile domain.

*/ inline void SetVoiceProfileDomainId(const char* value) { m_voiceProfileDomainIdHasBeenSet = true; m_voiceProfileDomainId.assign(value); } /** *

The ID of the voice profile domain.

*/ inline VoiceProfileDomain& WithVoiceProfileDomainId(const Aws::String& value) { SetVoiceProfileDomainId(value); return *this;} /** *

The ID of the voice profile domain.

*/ inline VoiceProfileDomain& WithVoiceProfileDomainId(Aws::String&& value) { SetVoiceProfileDomainId(std::move(value)); return *this;} /** *

The ID of the voice profile domain.

*/ inline VoiceProfileDomain& WithVoiceProfileDomainId(const char* value) { SetVoiceProfileDomainId(value); return *this;} /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline const Aws::String& GetVoiceProfileDomainArn() const{ return m_voiceProfileDomainArn; } /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline bool VoiceProfileDomainArnHasBeenSet() const { return m_voiceProfileDomainArnHasBeenSet; } /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline void SetVoiceProfileDomainArn(const Aws::String& value) { m_voiceProfileDomainArnHasBeenSet = true; m_voiceProfileDomainArn = value; } /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline void SetVoiceProfileDomainArn(Aws::String&& value) { m_voiceProfileDomainArnHasBeenSet = true; m_voiceProfileDomainArn = std::move(value); } /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline void SetVoiceProfileDomainArn(const char* value) { m_voiceProfileDomainArnHasBeenSet = true; m_voiceProfileDomainArn.assign(value); } /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline VoiceProfileDomain& WithVoiceProfileDomainArn(const Aws::String& value) { SetVoiceProfileDomainArn(value); return *this;} /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline VoiceProfileDomain& WithVoiceProfileDomainArn(Aws::String&& value) { SetVoiceProfileDomainArn(std::move(value)); return *this;} /** *

The voice profile domain's Amazon Resource Number (ARN).

*/ inline VoiceProfileDomain& WithVoiceProfileDomainArn(const char* value) { SetVoiceProfileDomainArn(value); return *this;} /** *

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

The name of the voice profile domain.

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

The name of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

The description of the voice profile domain.

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

A structure that contains the configuration settings for server-side * encryption.

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

A structure that contains the configuration settings for server-side * encryption.

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

A structure that contains the configuration settings for server-side * encryption.

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

A structure that contains the configuration settings for server-side * encryption.

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

A structure that contains the configuration settings for server-side * encryption.

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

A structure that contains the configuration settings for server-side * encryption.

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

The time at which the voice profile domain was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which the voice profile domain was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which the voice profile domain was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which the voice profile domain was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which the voice profile domain was created.

*/ inline VoiceProfileDomain& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which the voice profile domain was created.

*/ inline VoiceProfileDomain& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The time at which the voice profile was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *

The time at which the voice profile was last updated.

*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *

The time at which the voice profile was last updated.

*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *

The time at which the voice profile was last updated.

*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *

The time at which the voice profile was last updated.

*/ inline VoiceProfileDomain& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *

The time at which the voice profile was last updated.

*/ inline VoiceProfileDomain& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_voiceProfileDomainId; bool m_voiceProfileDomainIdHasBeenSet = false; Aws::String m_voiceProfileDomainArn; bool m_voiceProfileDomainArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; bool m_serverSideEncryptionConfigurationHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws