/** * 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 ServiceDiscovery { namespace Model { /** *

Updated Start of Authority (SOA) properties for a public or private DNS * namespace.

See Also:

AWS * API Reference

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

The updated time to live (TTL) for purposes of negative caching.

*/ inline long long GetTTL() const{ return m_tTL; } /** *

The updated time to live (TTL) for purposes of negative caching.

*/ inline bool TTLHasBeenSet() const { return m_tTLHasBeenSet; } /** *

The updated time to live (TTL) for purposes of negative caching.

*/ inline void SetTTL(long long value) { m_tTLHasBeenSet = true; m_tTL = value; } /** *

The updated time to live (TTL) for purposes of negative caching.

*/ inline SOAChange& WithTTL(long long value) { SetTTL(value); return *this;} private: long long m_tTL; bool m_tTLHasBeenSet = false; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws