/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ACM { namespace Model { /** *

Object containing expiration events options associated with an Amazon Web * Services account.

See Also:

AWS * API Reference

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

Specifies the number of days prior to certificate expiration when ACM starts * generating EventBridge events. ACM sends one event per day per * certificate until the certificate expires. By default, accounts receive events * starting 45 days before certificate expiration.

*/ inline int GetDaysBeforeExpiry() const{ return m_daysBeforeExpiry; } /** *

Specifies the number of days prior to certificate expiration when ACM starts * generating EventBridge events. ACM sends one event per day per * certificate until the certificate expires. By default, accounts receive events * starting 45 days before certificate expiration.

*/ inline bool DaysBeforeExpiryHasBeenSet() const { return m_daysBeforeExpiryHasBeenSet; } /** *

Specifies the number of days prior to certificate expiration when ACM starts * generating EventBridge events. ACM sends one event per day per * certificate until the certificate expires. By default, accounts receive events * starting 45 days before certificate expiration.

*/ inline void SetDaysBeforeExpiry(int value) { m_daysBeforeExpiryHasBeenSet = true; m_daysBeforeExpiry = value; } /** *

Specifies the number of days prior to certificate expiration when ACM starts * generating EventBridge events. ACM sends one event per day per * certificate until the certificate expires. By default, accounts receive events * starting 45 days before certificate expiration.

*/ inline ExpiryEventsConfiguration& WithDaysBeforeExpiry(int value) { SetDaysBeforeExpiry(value); return *this;} private: int m_daysBeforeExpiry; bool m_daysBeforeExpiryHasBeenSet = false; }; } // namespace Model } // namespace ACM } // namespace Aws