/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SecurityLake { namespace Model { class GetDataLakeExceptionSubscriptionResult { public: AWS_SECURITYLAKE_API GetDataLakeExceptionSubscriptionResult(); AWS_SECURITYLAKE_API GetDataLakeExceptionSubscriptionResult(const Aws::AmazonWebServiceResult& result); AWS_SECURITYLAKE_API GetDataLakeExceptionSubscriptionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The expiration period and time-to-live (TTL).

*/ inline long long GetExceptionTimeToLive() const{ return m_exceptionTimeToLive; } /** *

The expiration period and time-to-live (TTL).

*/ inline void SetExceptionTimeToLive(long long value) { m_exceptionTimeToLive = value; } /** *

The expiration period and time-to-live (TTL).

*/ inline GetDataLakeExceptionSubscriptionResult& WithExceptionTimeToLive(long long value) { SetExceptionTimeToLive(value); return *this;} /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline const Aws::String& GetNotificationEndpoint() const{ return m_notificationEndpoint; } /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline void SetNotificationEndpoint(const Aws::String& value) { m_notificationEndpoint = value; } /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline void SetNotificationEndpoint(Aws::String&& value) { m_notificationEndpoint = std::move(value); } /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline void SetNotificationEndpoint(const char* value) { m_notificationEndpoint.assign(value); } /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline GetDataLakeExceptionSubscriptionResult& WithNotificationEndpoint(const Aws::String& value) { SetNotificationEndpoint(value); return *this;} /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline GetDataLakeExceptionSubscriptionResult& WithNotificationEndpoint(Aws::String&& value) { SetNotificationEndpoint(std::move(value)); return *this;} /** *

The Amazon Web Services account where you receive exception * notifications.

*/ inline GetDataLakeExceptionSubscriptionResult& WithNotificationEndpoint(const char* value) { SetNotificationEndpoint(value); return *this;} /** *

The subscription protocol to which exception notifications are posted.

*/ inline const Aws::String& GetSubscriptionProtocol() const{ return m_subscriptionProtocol; } /** *

The subscription protocol to which exception notifications are posted.

*/ inline void SetSubscriptionProtocol(const Aws::String& value) { m_subscriptionProtocol = value; } /** *

The subscription protocol to which exception notifications are posted.

*/ inline void SetSubscriptionProtocol(Aws::String&& value) { m_subscriptionProtocol = std::move(value); } /** *

The subscription protocol to which exception notifications are posted.

*/ inline void SetSubscriptionProtocol(const char* value) { m_subscriptionProtocol.assign(value); } /** *

The subscription protocol to which exception notifications are posted.

*/ inline GetDataLakeExceptionSubscriptionResult& WithSubscriptionProtocol(const Aws::String& value) { SetSubscriptionProtocol(value); return *this;} /** *

The subscription protocol to which exception notifications are posted.

*/ inline GetDataLakeExceptionSubscriptionResult& WithSubscriptionProtocol(Aws::String&& value) { SetSubscriptionProtocol(std::move(value)); return *this;} /** *

The subscription protocol to which exception notifications are posted.

*/ inline GetDataLakeExceptionSubscriptionResult& WithSubscriptionProtocol(const char* value) { SetSubscriptionProtocol(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDataLakeExceptionSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataLakeExceptionSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataLakeExceptionSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: long long m_exceptionTimeToLive; Aws::String m_notificationEndpoint; Aws::String m_subscriptionProtocol; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityLake } // namespace Aws