/** * 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 CustomerProfiles { namespace Model { /** */ class UpdateDomainRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_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_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; /** *

The unique name of the domain.

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

The unique name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

*/ inline UpdateDomainRequest& 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 bool DefaultExpirationDaysHasBeenSet() const { return m_defaultExpirationDaysHasBeenSet; } /** *

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

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

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

*/ inline UpdateDomainRequest& 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. If specified as an * empty string, it will clear any existing value.

*/ 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. If specified as an * empty string, it will clear any existing value.

*/ inline bool DefaultEncryptionKeyHasBeenSet() const { return m_defaultEncryptionKeyHasBeenSet; } /** *

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. If specified as an * empty string, it will clear any existing value.

*/ inline void SetDefaultEncryptionKey(const Aws::String& value) { m_defaultEncryptionKeyHasBeenSet = true; 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. If specified as an * empty string, it will clear any existing value.

*/ inline void SetDefaultEncryptionKey(Aws::String&& value) { m_defaultEncryptionKeyHasBeenSet = true; 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. If specified as an * empty string, it will clear any existing value.

*/ inline void SetDefaultEncryptionKey(const char* value) { m_defaultEncryptionKeyHasBeenSet = true; 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. If specified as an * empty string, it will clear any existing value.

*/ inline UpdateDomainRequest& 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. If specified as an * empty string, it will clear any existing value.

*/ inline UpdateDomainRequest& 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. If specified as an * empty string, it will clear any existing value.

*/ inline UpdateDomainRequest& 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline bool DeadLetterQueueUrlHasBeenSet() const { return m_deadLetterQueueUrlHasBeenSet; } /** *

The URL of the SQS dead letter queue, which is used for reporting errors * associated with ingesting data from third party applications. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline void SetDeadLetterQueueUrl(const Aws::String& value) { m_deadLetterQueueUrlHasBeenSet = true; 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline void SetDeadLetterQueueUrl(Aws::String&& value) { m_deadLetterQueueUrlHasBeenSet = true; 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline void SetDeadLetterQueueUrl(const char* value) { m_deadLetterQueueUrlHasBeenSet = true; 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline UpdateDomainRequest& 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline UpdateDomainRequest& 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. If specified as an * empty string, it will clear any existing value. You must set up a policy on the * DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer * Profiles to send messages to the DeadLetterQueue.

*/ inline UpdateDomainRequest& WithDeadLetterQueueUrl(const char* value) { SetDeadLetterQueueUrl(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 MatchingRequest& 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 bool MatchingHasBeenSet() const { return m_matchingHasBeenSet; } /** *

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 MatchingRequest& value) { m_matchingHasBeenSet = true; 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(MatchingRequest&& value) { m_matchingHasBeenSet = true; 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 UpdateDomainRequest& WithMatching(const MatchingRequest& 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 UpdateDomainRequest& WithMatching(MatchingRequest&& 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 RuleBasedMatchingRequest& 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 bool RuleBasedMatchingHasBeenSet() const { return m_ruleBasedMatchingHasBeenSet; } /** *

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 RuleBasedMatchingRequest& value) { m_ruleBasedMatchingHasBeenSet = true; 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(RuleBasedMatchingRequest&& value) { m_ruleBasedMatchingHasBeenSet = true; 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 UpdateDomainRequest& WithRuleBasedMatching(const RuleBasedMatchingRequest& 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 UpdateDomainRequest& WithRuleBasedMatching(RuleBasedMatchingRequest&& value) { SetRuleBasedMatching(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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline UpdateDomainRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; int m_defaultExpirationDays; bool m_defaultExpirationDaysHasBeenSet = false; Aws::String m_defaultEncryptionKey; bool m_defaultEncryptionKeyHasBeenSet = false; Aws::String m_deadLetterQueueUrl; bool m_deadLetterQueueUrlHasBeenSet = false; MatchingRequest m_matching; bool m_matchingHasBeenSet = false; RuleBasedMatchingRequest m_ruleBasedMatching; bool m_ruleBasedMatchingHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws