AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataLakeExceptionSubscriptionRequest.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/SecurityLakeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SecurityLake
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateDataLakeExceptionSubscription"; }
31
32 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
33
34
36
40 inline long long GetExceptionTimeToLive() const{ return m_exceptionTimeToLive; }
41 inline bool ExceptionTimeToLiveHasBeenSet() const { return m_exceptionTimeToLiveHasBeenSet; }
42 inline void SetExceptionTimeToLive(long long value) { m_exceptionTimeToLiveHasBeenSet = true; m_exceptionTimeToLive = value; }
45
47
51 inline const Aws::String& GetNotificationEndpoint() const{ return m_notificationEndpoint; }
52 inline bool NotificationEndpointHasBeenSet() const { return m_notificationEndpointHasBeenSet; }
53 inline void SetNotificationEndpoint(const Aws::String& value) { m_notificationEndpointHasBeenSet = true; m_notificationEndpoint = value; }
54 inline void SetNotificationEndpoint(Aws::String&& value) { m_notificationEndpointHasBeenSet = true; m_notificationEndpoint = std::move(value); }
55 inline void SetNotificationEndpoint(const char* value) { m_notificationEndpointHasBeenSet = true; m_notificationEndpoint.assign(value); }
60
62
65 inline const Aws::String& GetSubscriptionProtocol() const{ return m_subscriptionProtocol; }
66 inline bool SubscriptionProtocolHasBeenSet() const { return m_subscriptionProtocolHasBeenSet; }
67 inline void SetSubscriptionProtocol(const Aws::String& value) { m_subscriptionProtocolHasBeenSet = true; m_subscriptionProtocol = value; }
68 inline void SetSubscriptionProtocol(Aws::String&& value) { m_subscriptionProtocolHasBeenSet = true; m_subscriptionProtocol = std::move(value); }
69 inline void SetSubscriptionProtocol(const char* value) { m_subscriptionProtocolHasBeenSet = true; m_subscriptionProtocol.assign(value); }
74 private:
75
76 long long m_exceptionTimeToLive;
77 bool m_exceptionTimeToLiveHasBeenSet = false;
78
79 Aws::String m_notificationEndpoint;
80 bool m_notificationEndpointHasBeenSet = false;
81
82 Aws::String m_subscriptionProtocol;
83 bool m_subscriptionProtocolHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SecurityLake
88} // namespace Aws
CreateDataLakeExceptionSubscriptionRequest & WithNotificationEndpoint(const Aws::String &value)
CreateDataLakeExceptionSubscriptionRequest & WithSubscriptionProtocol(Aws::String &&value)
CreateDataLakeExceptionSubscriptionRequest & WithSubscriptionProtocol(const Aws::String &value)
CreateDataLakeExceptionSubscriptionRequest & WithNotificationEndpoint(const char *value)
CreateDataLakeExceptionSubscriptionRequest & WithExceptionTimeToLive(long long value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
CreateDataLakeExceptionSubscriptionRequest & WithSubscriptionProtocol(const char *value)
CreateDataLakeExceptionSubscriptionRequest & WithNotificationEndpoint(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String