AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubscriberNotificationRequest.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 "UpdateSubscriberNotification"; }
32
33 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const NotificationConfiguration& GetConfiguration() const{ return m_configuration; }
41 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
42 inline void SetConfiguration(const NotificationConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
43 inline void SetConfiguration(NotificationConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
47
49
52 inline const Aws::String& GetSubscriberId() const{ return m_subscriberId; }
53 inline bool SubscriberIdHasBeenSet() const { return m_subscriberIdHasBeenSet; }
54 inline void SetSubscriberId(const Aws::String& value) { m_subscriberIdHasBeenSet = true; m_subscriberId = value; }
55 inline void SetSubscriberId(Aws::String&& value) { m_subscriberIdHasBeenSet = true; m_subscriberId = std::move(value); }
56 inline void SetSubscriberId(const char* value) { m_subscriberIdHasBeenSet = true; m_subscriberId.assign(value); }
58 inline UpdateSubscriberNotificationRequest& WithSubscriberId(Aws::String&& value) { SetSubscriberId(std::move(value)); return *this;}
59 inline UpdateSubscriberNotificationRequest& WithSubscriberId(const char* value) { SetSubscriberId(value); return *this;}
61 private:
62
63 NotificationConfiguration m_configuration;
64 bool m_configurationHasBeenSet = false;
65
66 Aws::String m_subscriberId;
67 bool m_subscriberIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SecurityLake
72} // namespace Aws
UpdateSubscriberNotificationRequest & WithSubscriberId(const Aws::String &value)
UpdateSubscriberNotificationRequest & WithSubscriberId(const char *value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
UpdateSubscriberNotificationRequest & WithConfiguration(const NotificationConfiguration &value)
UpdateSubscriberNotificationRequest & WithConfiguration(NotificationConfiguration &&value)
UpdateSubscriberNotificationRequest & WithSubscriberId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String