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

Contains a summary of information about a domain.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) for the domain.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline DomainSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline DomainSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the domain.

*/ inline DomainSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The timestamp of when the domain was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp of when the domain was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The timestamp of when the domain was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The timestamp of when the domain was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The timestamp of when the domain was created.

*/ inline DomainSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp of when the domain was created.

*/ inline DomainSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The description of the domain.

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

The description of the domain.

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

The description of the domain.

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

The description of the domain.

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

The description of the domain.

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

The description of the domain.

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

The description of the domain.

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

The description of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The identifier of the domain.

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

The current status of the domain.

*/ inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; } /** *

The current status of the domain.

*/ inline bool DomainStatusHasBeenSet() const { return m_domainStatusHasBeenSet; } /** *

The current status of the domain.

*/ inline void SetDomainStatus(const DomainStatus& value) { m_domainStatusHasBeenSet = true; m_domainStatus = value; } /** *

The current status of the domain.

*/ inline void SetDomainStatus(DomainStatus&& value) { m_domainStatusHasBeenSet = true; m_domainStatus = std::move(value); } /** *

The current status of the domain.

*/ inline DomainSummary& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;} /** *

The current status of the domain.

*/ inline DomainSummary& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;} /** *

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The client-provided name for the domain.

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

The server-side encryption configuration containing the KMS key identifier * you want Voice ID to use to encrypt your data.

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

The server-side encryption configuration containing the KMS key identifier * you want Voice ID to use to encrypt your data.

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

The server-side encryption configuration containing the KMS key identifier * you want Voice ID to use to encrypt your data.

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

The server-side encryption configuration containing the KMS key identifier * you want Voice ID to use to encrypt your data.

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

The server-side encryption configuration containing the KMS key identifier * you want Voice ID to use to encrypt your data.

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

The server-side encryption configuration containing the KMS key identifier * you want Voice ID to use to encrypt your data.

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

Details about the most recent server-side encryption configuration update. * When the server-side encryption configuration is changed, dependency on the old * KMS key is removed through an asynchronous process. When this update is * complete, the domain's data can only be accessed using the new KMS key.

*/ inline const ServerSideEncryptionUpdateDetails& GetServerSideEncryptionUpdateDetails() const{ return m_serverSideEncryptionUpdateDetails; } /** *

Details about the most recent server-side encryption configuration update. * When the server-side encryption configuration is changed, dependency on the old * KMS key is removed through an asynchronous process. When this update is * complete, the domain's data can only be accessed using the new KMS key.

*/ inline bool ServerSideEncryptionUpdateDetailsHasBeenSet() const { return m_serverSideEncryptionUpdateDetailsHasBeenSet; } /** *

Details about the most recent server-side encryption configuration update. * When the server-side encryption configuration is changed, dependency on the old * KMS key is removed through an asynchronous process. When this update is * complete, the domain's data can only be accessed using the new KMS key.

*/ inline void SetServerSideEncryptionUpdateDetails(const ServerSideEncryptionUpdateDetails& value) { m_serverSideEncryptionUpdateDetailsHasBeenSet = true; m_serverSideEncryptionUpdateDetails = value; } /** *

Details about the most recent server-side encryption configuration update. * When the server-side encryption configuration is changed, dependency on the old * KMS key is removed through an asynchronous process. When this update is * complete, the domain's data can only be accessed using the new KMS key.

*/ inline void SetServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetails&& value) { m_serverSideEncryptionUpdateDetailsHasBeenSet = true; m_serverSideEncryptionUpdateDetails = std::move(value); } /** *

Details about the most recent server-side encryption configuration update. * When the server-side encryption configuration is changed, dependency on the old * KMS key is removed through an asynchronous process. When this update is * complete, the domain's data can only be accessed using the new KMS key.

*/ inline DomainSummary& WithServerSideEncryptionUpdateDetails(const ServerSideEncryptionUpdateDetails& value) { SetServerSideEncryptionUpdateDetails(value); return *this;} /** *

Details about the most recent server-side encryption configuration update. * When the server-side encryption configuration is changed, dependency on the old * KMS key is removed through an asynchronous process. When this update is * complete, the domain's data can only be accessed using the new KMS key.

*/ inline DomainSummary& WithServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetails&& value) { SetServerSideEncryptionUpdateDetails(std::move(value)); return *this;} /** *

The timestamp of when the domain was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The timestamp of when the domain was last updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The timestamp of when the domain was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The timestamp of when the domain was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The timestamp of when the domain was last updated.

*/ inline DomainSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The timestamp of when the domain was last updated.

*/ inline DomainSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *

Provides information about watchlistDetails and * DefaultWatchlistID.

*/ inline const WatchlistDetails& GetWatchlistDetails() const{ return m_watchlistDetails; } /** *

Provides information about watchlistDetails and * DefaultWatchlistID.

*/ inline bool WatchlistDetailsHasBeenSet() const { return m_watchlistDetailsHasBeenSet; } /** *

Provides information about watchlistDetails and * DefaultWatchlistID.

*/ inline void SetWatchlistDetails(const WatchlistDetails& value) { m_watchlistDetailsHasBeenSet = true; m_watchlistDetails = value; } /** *

Provides information about watchlistDetails and * DefaultWatchlistID.

*/ inline void SetWatchlistDetails(WatchlistDetails&& value) { m_watchlistDetailsHasBeenSet = true; m_watchlistDetails = std::move(value); } /** *

Provides information about watchlistDetails and * DefaultWatchlistID.

*/ inline DomainSummary& WithWatchlistDetails(const WatchlistDetails& value) { SetWatchlistDetails(value); return *this;} /** *

Provides information about watchlistDetails and * DefaultWatchlistID.

*/ inline DomainSummary& WithWatchlistDetails(WatchlistDetails&& value) { SetWatchlistDetails(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; DomainStatus m_domainStatus; bool m_domainStatusHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; bool m_serverSideEncryptionConfigurationHasBeenSet = false; ServerSideEncryptionUpdateDetails m_serverSideEncryptionUpdateDetails; bool m_serverSideEncryptionUpdateDetailsHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; WatchlistDetails m_watchlistDetails; bool m_watchlistDetailsHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws