AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDataLakeExceptionSubscriptionResult.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecurityLake
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SECURITYLAKE_API GetDataLakeExceptionSubscriptionResult() = default;
33
34
36
40 inline long long GetExceptionTimeToLive() const { return m_exceptionTimeToLive; }
41 inline void SetExceptionTimeToLive(long long value) { m_exceptionTimeToLiveHasBeenSet = true; m_exceptionTimeToLive = value; }
44
46
50 inline const Aws::String& GetNotificationEndpoint() const { return m_notificationEndpoint; }
51 template<typename NotificationEndpointT = Aws::String>
52 void SetNotificationEndpoint(NotificationEndpointT&& value) { m_notificationEndpointHasBeenSet = true; m_notificationEndpoint = std::forward<NotificationEndpointT>(value); }
53 template<typename NotificationEndpointT = Aws::String>
54 GetDataLakeExceptionSubscriptionResult& WithNotificationEndpoint(NotificationEndpointT&& value) { SetNotificationEndpoint(std::forward<NotificationEndpointT>(value)); return *this;}
56
58
61 inline const Aws::String& GetSubscriptionProtocol() const { return m_subscriptionProtocol; }
62 template<typename SubscriptionProtocolT = Aws::String>
63 void SetSubscriptionProtocol(SubscriptionProtocolT&& value) { m_subscriptionProtocolHasBeenSet = true; m_subscriptionProtocol = std::forward<SubscriptionProtocolT>(value); }
64 template<typename SubscriptionProtocolT = Aws::String>
65 GetDataLakeExceptionSubscriptionResult& WithSubscriptionProtocol(SubscriptionProtocolT&& value) { SetSubscriptionProtocol(std::forward<SubscriptionProtocolT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 GetDataLakeExceptionSubscriptionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 long long m_exceptionTimeToLive{0};
79 bool m_exceptionTimeToLiveHasBeenSet = false;
80
81 Aws::String m_notificationEndpoint;
82 bool m_notificationEndpointHasBeenSet = false;
83
84 Aws::String m_subscriptionProtocol;
85 bool m_subscriptionProtocolHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SecurityLake
93} // namespace Aws
AWS_SECURITYLAKE_API GetDataLakeExceptionSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataLakeExceptionSubscriptionResult & WithRequestId(RequestIdT &&value)
GetDataLakeExceptionSubscriptionResult & WithSubscriptionProtocol(SubscriptionProtocolT &&value)
AWS_SECURITYLAKE_API GetDataLakeExceptionSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataLakeExceptionSubscriptionResult & WithExceptionTimeToLive(long long value)
GetDataLakeExceptionSubscriptionResult & WithNotificationEndpoint(NotificationEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue