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

Updates the feature group online store configuration.

See * Also:

AWS * API Reference

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

Time to live duration, where the record is hard deleted after the expiration * time is reached; ExpiresAt = EventTime + * TtlDuration. For information on HardDelete, see the DeleteRecord * API in the Amazon SageMaker API Reference guide.

*/ inline const TtlDuration& GetTtlDuration() const{ return m_ttlDuration; } /** *

Time to live duration, where the record is hard deleted after the expiration * time is reached; ExpiresAt = EventTime + * TtlDuration. For information on HardDelete, see the DeleteRecord * API in the Amazon SageMaker API Reference guide.

*/ inline bool TtlDurationHasBeenSet() const { return m_ttlDurationHasBeenSet; } /** *

Time to live duration, where the record is hard deleted after the expiration * time is reached; ExpiresAt = EventTime + * TtlDuration. For information on HardDelete, see the DeleteRecord * API in the Amazon SageMaker API Reference guide.

*/ inline void SetTtlDuration(const TtlDuration& value) { m_ttlDurationHasBeenSet = true; m_ttlDuration = value; } /** *

Time to live duration, where the record is hard deleted after the expiration * time is reached; ExpiresAt = EventTime + * TtlDuration. For information on HardDelete, see the DeleteRecord * API in the Amazon SageMaker API Reference guide.

*/ inline void SetTtlDuration(TtlDuration&& value) { m_ttlDurationHasBeenSet = true; m_ttlDuration = std::move(value); } /** *

Time to live duration, where the record is hard deleted after the expiration * time is reached; ExpiresAt = EventTime + * TtlDuration. For information on HardDelete, see the DeleteRecord * API in the Amazon SageMaker API Reference guide.

*/ inline OnlineStoreConfigUpdate& WithTtlDuration(const TtlDuration& value) { SetTtlDuration(value); return *this;} /** *

Time to live duration, where the record is hard deleted after the expiration * time is reached; ExpiresAt = EventTime + * TtlDuration. For information on HardDelete, see the DeleteRecord * API in the Amazon SageMaker API Reference guide.

*/ inline OnlineStoreConfigUpdate& WithTtlDuration(TtlDuration&& value) { SetTtlDuration(std::move(value)); return *this;} private: TtlDuration m_ttlDuration; bool m_ttlDurationHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws