/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class GetDomainResult { public: AWS_CUSTOMERPROFILES_API GetDomainResult(); AWS_CUSTOMERPROFILES_API GetDomainResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API GetDomainResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The unique name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainName = value; } /** *

The unique name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); } /** *

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline GetDomainResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline GetDomainResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline GetDomainResult& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The default number of days until the data within the domain expires.

*/ inline int GetDefaultExpirationDays() const{ return m_defaultExpirationDays; } /** *

The default number of days until the data within the domain expires.

*/ inline void SetDefaultExpirationDays(int value) { m_defaultExpirationDays = value; } /** *

The default number of days until the data within the domain expires.

*/ inline GetDomainResult& WithDefaultExpirationDays(int value) { SetDefaultExpirationDays(value); return *this;} /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline const Aws::String& GetDefaultEncryptionKey() const{ return m_defaultEncryptionKey; } /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline void SetDefaultEncryptionKey(const Aws::String& value) { m_defaultEncryptionKey = value; } /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline void SetDefaultEncryptionKey(Aws::String&& value) { m_defaultEncryptionKey = std::move(value); } /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline void SetDefaultEncryptionKey(const char* value) { m_defaultEncryptionKey.assign(value); } /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline GetDomainResult& WithDefaultEncryptionKey(const Aws::String& value) { SetDefaultEncryptionKey(value); return *this;} /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline GetDomainResult& WithDefaultEncryptionKey(Aws::String&& value) { SetDefaultEncryptionKey(std::move(value)); return *this;} /** *

The default encryption key, which is an AWS managed key, is used when no * specific type of encryption key is specified. It is used to encrypt all data * before it is placed in permanent or semi-permanent storage.

*/ inline GetDomainResult& WithDefaultEncryptionKey(const char* value) { SetDefaultEncryptionKey(value); return *this;} /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline const Aws::String& GetDeadLetterQueueUrl() const{ return m_deadLetterQueueUrl; } /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline void SetDeadLetterQueueUrl(const Aws::String& value) { m_deadLetterQueueUrl = value; } /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline void SetDeadLetterQueueUrl(Aws::String&& value) { m_deadLetterQueueUrl = std::move(value); } /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline void SetDeadLetterQueueUrl(const char* value) { m_deadLetterQueueUrl.assign(value); } /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline GetDomainResult& WithDeadLetterQueueUrl(const Aws::String& value) { SetDeadLetterQueueUrl(value); return *this;} /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline GetDomainResult& WithDeadLetterQueueUrl(Aws::String&& value) { SetDeadLetterQueueUrl(std::move(value)); return *this;} /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications.

*/ inline GetDomainResult& WithDeadLetterQueueUrl(const char* value) { SetDeadLetterQueueUrl(value); return *this;} /** *

Usage-specific statistics about the domain.

*/ inline const DomainStats& GetStats() const{ return m_stats; } /** *

Usage-specific statistics about the domain.

*/ inline void SetStats(const DomainStats& value) { m_stats = value; } /** *

Usage-specific statistics about the domain.

*/ inline void SetStats(DomainStats&& value) { m_stats = std::move(value); } /** *

Usage-specific statistics about the domain.

*/ inline GetDomainResult& WithStats(const DomainStats& value) { SetStats(value); return *this;} /** *

Usage-specific statistics about the domain.

*/ inline GetDomainResult& WithStats(DomainStats&& value) { SetStats(std::move(value)); return *this;} /** *

The process of matching duplicate profiles. If Matching = * true, Amazon Connect Customer Profiles starts a weekly batch * process called Identity Resolution Job. If you do not specify a date and time * for Identity Resolution Job to run, by default it runs every Saturday at 12AM * UTC to detect duplicate profiles in your domains.

After the Identity * Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured * ExportingConfig in the MatchingRequest, you can * download the results from S3.

*/ inline const MatchingResponse& GetMatching() const{ return m_matching; } /** *

The process of matching duplicate profiles. If Matching = * true, Amazon Connect Customer Profiles starts a weekly batch * process called Identity Resolution Job. If you do not specify a date and time * for Identity Resolution Job to run, by default it runs every Saturday at 12AM * UTC to detect duplicate profiles in your domains.

After the Identity * Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured * ExportingConfig in the MatchingRequest, you can * download the results from S3.

*/ inline void SetMatching(const MatchingResponse& value) { m_matching = value; } /** *

The process of matching duplicate profiles. If Matching = * true, Amazon Connect Customer Profiles starts a weekly batch * process called Identity Resolution Job. If you do not specify a date and time * for Identity Resolution Job to run, by default it runs every Saturday at 12AM * UTC to detect duplicate profiles in your domains.

After the Identity * Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured * ExportingConfig in the MatchingRequest, you can * download the results from S3.

*/ inline void SetMatching(MatchingResponse&& value) { m_matching = std::move(value); } /** *

The process of matching duplicate profiles. If Matching = * true, Amazon Connect Customer Profiles starts a weekly batch * process called Identity Resolution Job. If you do not specify a date and time * for Identity Resolution Job to run, by default it runs every Saturday at 12AM * UTC to detect duplicate profiles in your domains.

After the Identity * Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured * ExportingConfig in the MatchingRequest, you can * download the results from S3.

*/ inline GetDomainResult& WithMatching(const MatchingResponse& value) { SetMatching(value); return *this;} /** *

The process of matching duplicate profiles. If Matching = * true, Amazon Connect Customer Profiles starts a weekly batch * process called Identity Resolution Job. If you do not specify a date and time * for Identity Resolution Job to run, by default it runs every Saturday at 12AM * UTC to detect duplicate profiles in your domains.

After the Identity * Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured * ExportingConfig in the MatchingRequest, you can * download the results from S3.

*/ inline GetDomainResult& WithMatching(MatchingResponse&& value) { SetMatching(std::move(value)); return *this;} /** *

The process of matching duplicate profiles using the Rule-Based matching. If * RuleBasedMatching = true, Amazon Connect Customer Profiles will * start to match and merge your profiles according to your configuration in the * RuleBasedMatchingRequest. You can use the * ListRuleBasedMatches and GetSimilarProfiles API to * return and review the results. Also, if you have configured * ExportingConfig in the RuleBasedMatchingRequest, you * can download the results from S3.

*/ inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const{ return m_ruleBasedMatching; } /** *

The process of matching duplicate profiles using the Rule-Based matching. If * RuleBasedMatching = true, Amazon Connect Customer Profiles will * start to match and merge your profiles according to your configuration in the * RuleBasedMatchingRequest. You can use the * ListRuleBasedMatches and GetSimilarProfiles API to * return and review the results. Also, if you have configured * ExportingConfig in the RuleBasedMatchingRequest, you * can download the results from S3.

*/ inline void SetRuleBasedMatching(const RuleBasedMatchingResponse& value) { m_ruleBasedMatching = value; } /** *

The process of matching duplicate profiles using the Rule-Based matching. If * RuleBasedMatching = true, Amazon Connect Customer Profiles will * start to match and merge your profiles according to your configuration in the * RuleBasedMatchingRequest. You can use the * ListRuleBasedMatches and GetSimilarProfiles API to * return and review the results. Also, if you have configured * ExportingConfig in the RuleBasedMatchingRequest, you * can download the results from S3.

*/ inline void SetRuleBasedMatching(RuleBasedMatchingResponse&& value) { m_ruleBasedMatching = std::move(value); } /** *

The process of matching duplicate profiles using the Rule-Based matching. If * RuleBasedMatching = true, Amazon Connect Customer Profiles will * start to match and merge your profiles according to your configuration in the * RuleBasedMatchingRequest. You can use the * ListRuleBasedMatches and GetSimilarProfiles API to * return and review the results. Also, if you have configured * ExportingConfig in the RuleBasedMatchingRequest, you * can download the results from S3.

*/ inline GetDomainResult& WithRuleBasedMatching(const RuleBasedMatchingResponse& value) { SetRuleBasedMatching(value); return *this;} /** *

The process of matching duplicate profiles using the Rule-Based matching. If * RuleBasedMatching = true, Amazon Connect Customer Profiles will * start to match and merge your profiles according to your configuration in the * RuleBasedMatchingRequest. You can use the * ListRuleBasedMatches and GetSimilarProfiles API to * return and review the results. Also, if you have configured * ExportingConfig in the RuleBasedMatchingRequest, you * can download the results from S3.

*/ inline GetDomainResult& WithRuleBasedMatching(RuleBasedMatchingResponse&& value) { SetRuleBasedMatching(std::move(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 void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The timestamp of when the domain was created.

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

The timestamp of when the domain was created.

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

The timestamp of when the domain was created.

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

The timestamp of when the domain was most recently edited.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The timestamp of when the domain was most recently edited.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } /** *

The timestamp of when the domain was most recently edited.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } /** *

The timestamp of when the domain was most recently edited.

*/ inline GetDomainResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The timestamp of when the domain was most recently edited.

*/ inline GetDomainResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainName; int m_defaultExpirationDays; Aws::String m_defaultEncryptionKey; Aws::String m_deadLetterQueueUrl; DomainStats m_stats; MatchingResponse m_matching; RuleBasedMatchingResponse m_ruleBasedMatching; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_lastUpdatedAt; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws