AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSubscriberNotificationRequest.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/SecurityLakeRequest.h>
9#include <aws/securitylake/model/NotificationConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityLake
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateSubscriberNotification"; }
32
33 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const NotificationConfiguration& GetConfiguration() const{ return m_configuration; }
42 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
43 inline void SetConfiguration(const NotificationConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
44 inline void SetConfiguration(NotificationConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
48
50
53 inline const Aws::String& GetSubscriberId() const{ return m_subscriberId; }
54 inline bool SubscriberIdHasBeenSet() const { return m_subscriberIdHasBeenSet; }
55 inline void SetSubscriberId(const Aws::String& value) { m_subscriberIdHasBeenSet = true; m_subscriberId = value; }
56 inline void SetSubscriberId(Aws::String&& value) { m_subscriberIdHasBeenSet = true; m_subscriberId = std::move(value); }
57 inline void SetSubscriberId(const char* value) { m_subscriberIdHasBeenSet = true; m_subscriberId.assign(value); }
59 inline CreateSubscriberNotificationRequest& WithSubscriberId(Aws::String&& value) { SetSubscriberId(std::move(value)); return *this;}
60 inline CreateSubscriberNotificationRequest& WithSubscriberId(const char* value) { SetSubscriberId(value); return *this;}
62 private:
63
64 NotificationConfiguration m_configuration;
65 bool m_configurationHasBeenSet = false;
66
67 Aws::String m_subscriberId;
68 bool m_subscriberIdHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SecurityLake
73} // namespace Aws
CreateSubscriberNotificationRequest & WithConfiguration(NotificationConfiguration &&value)
CreateSubscriberNotificationRequest & WithSubscriberId(const char *value)
CreateSubscriberNotificationRequest & WithSubscriberId(const Aws::String &value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
CreateSubscriberNotificationRequest & WithConfiguration(const NotificationConfiguration &value)
CreateSubscriberNotificationRequest & WithSubscriberId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String