AWS SDK for C++

AWS SDK for C++ Version 1.11.709

Loading...
Searching...
No Matches
AssociateChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Notifications {
15namespace Model {
16
20 public:
21 AWS_NOTIFICATIONS_API AssociateChannelRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "AssociateChannel"; }
28
29 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
30
32
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetNotificationConfigurationArn() const { return m_notificationConfigurationArn; }
58 inline bool NotificationConfigurationArnHasBeenSet() const { return m_notificationConfigurationArnHasBeenSet; }
59 template <typename NotificationConfigurationArnT = Aws::String>
60 void SetNotificationConfigurationArn(NotificationConfigurationArnT&& value) {
61 m_notificationConfigurationArnHasBeenSet = true;
62 m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value);
63 }
64 template <typename NotificationConfigurationArnT = Aws::String>
65 AssociateChannelRequest& WithNotificationConfigurationArn(NotificationConfigurationArnT&& value) {
66 SetNotificationConfigurationArn(std::forward<NotificationConfigurationArnT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_arn;
72
73 Aws::String m_notificationConfigurationArn;
74 bool m_arnHasBeenSet = false;
75 bool m_notificationConfigurationArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Notifications
80} // namespace Aws
AssociateChannelRequest & WithArn(ArnT &&value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
void SetNotificationConfigurationArn(NotificationConfigurationArnT &&value)
AWS_NOTIFICATIONS_API AssociateChannelRequest()=default
AssociateChannelRequest & WithNotificationConfigurationArn(NotificationConfigurationArnT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String