AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AssociateManagedNotificationAdditionalChannelRequest.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Notifications
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 "AssociateManagedNotificationAdditionalChannel"; }
31
32 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetChannelArn() const { return m_channelArn; }
42 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
43 template<typename ChannelArnT = Aws::String>
44 void SetChannelArn(ChannelArnT&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::forward<ChannelArnT>(value); }
45 template<typename ChannelArnT = Aws::String>
46 AssociateManagedNotificationAdditionalChannelRequest& WithChannelArn(ChannelArnT&& value) { SetChannelArn(std::forward<ChannelArnT>(value)); return *this;}
48
50
55 inline const Aws::String& GetManagedNotificationConfigurationArn() const { return m_managedNotificationConfigurationArn; }
56 inline bool ManagedNotificationConfigurationArnHasBeenSet() const { return m_managedNotificationConfigurationArnHasBeenSet; }
57 template<typename ManagedNotificationConfigurationArnT = Aws::String>
58 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { m_managedNotificationConfigurationArnHasBeenSet = true; m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value); }
59 template<typename ManagedNotificationConfigurationArnT = Aws::String>
60 AssociateManagedNotificationAdditionalChannelRequest& WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value)); return *this;}
62 private:
63
64 Aws::String m_channelArn;
65 bool m_channelArnHasBeenSet = false;
66
67 Aws::String m_managedNotificationConfigurationArn;
68 bool m_managedNotificationConfigurationArnHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Notifications
73} // namespace Aws
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
AssociateManagedNotificationAdditionalChannelRequest & WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String