/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A domain that is used to redirect email recipients to an Amazon SES-operated
* domain. This domain captures open and click events generated by Amazon SES
* emails. For more information, see Configuring
* Custom Domains to Handle Open and Click Tracking in the Amazon SES
* Developer Guide.See Also:
AWS
* API Reference
The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline const Aws::String& GetCustomRedirectDomain() const{ return m_customRedirectDomain; } /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; } /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; } /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); } /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); } /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline TrackingOptions& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;} /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline TrackingOptions& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;} /** *The custom subdomain that will be used to redirect email recipients to the * Amazon SES event tracking domain.
*/ inline TrackingOptions& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;} private: Aws::String m_customRedirectDomain; bool m_customRedirectDomainHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws