AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
ManagedNotificationChannelAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/Notifications_EXPORTS.h>
9#include <aws/notifications/model/ChannelAssociationOverrideOption.h>
10#include <aws/notifications/model/ChannelType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Notifications {
22namespace Model {
23
31 public:
32 AWS_NOTIFICATIONS_API ManagedNotificationChannelAssociationSummary() = default;
35 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetChannelIdentifier() const { return m_channelIdentifier; }
42 inline bool ChannelIdentifierHasBeenSet() const { return m_channelIdentifierHasBeenSet; }
43 template <typename ChannelIdentifierT = Aws::String>
44 void SetChannelIdentifier(ChannelIdentifierT&& value) {
45 m_channelIdentifierHasBeenSet = true;
46 m_channelIdentifier = std::forward<ChannelIdentifierT>(value);
47 }
48 template <typename ChannelIdentifierT = Aws::String>
50 SetChannelIdentifier(std::forward<ChannelIdentifierT>(value));
51 return *this;
52 }
54
56
68 inline ChannelType GetChannelType() const { return m_channelType; }
69 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
70 inline void SetChannelType(ChannelType value) {
71 m_channelTypeHasBeenSet = true;
72 m_channelType = value;
73 }
75 SetChannelType(value);
76 return *this;
77 }
79
81
89 inline ChannelAssociationOverrideOption GetOverrideOption() const { return m_overrideOption; }
90 inline bool OverrideOptionHasBeenSet() const { return m_overrideOptionHasBeenSet; }
92 m_overrideOptionHasBeenSet = true;
93 m_overrideOption = value;
94 }
96 SetOverrideOption(value);
97 return *this;
98 }
100
102
106 inline bool GetIsSensitiveEventsSubscribed() const { return m_isSensitiveEventsSubscribed; }
107 inline bool IsSensitiveEventsSubscribedHasBeenSet() const { return m_isSensitiveEventsSubscribedHasBeenSet; }
108 inline void SetIsSensitiveEventsSubscribed(bool value) {
109 m_isSensitiveEventsSubscribedHasBeenSet = true;
110 m_isSensitiveEventsSubscribed = value;
111 }
114 return *this;
115 }
117 private:
118 Aws::String m_channelIdentifier;
119
120 ChannelType m_channelType{ChannelType::NOT_SET};
121
123
124 bool m_isSensitiveEventsSubscribed{false};
125 bool m_channelIdentifierHasBeenSet = false;
126 bool m_channelTypeHasBeenSet = false;
127 bool m_overrideOptionHasBeenSet = false;
128 bool m_isSensitiveEventsSubscribedHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace Notifications
133} // namespace Aws
ManagedNotificationChannelAssociationSummary & WithChannelIdentifier(ChannelIdentifierT &&value)
AWS_NOTIFICATIONS_API ManagedNotificationChannelAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedNotificationChannelAssociationSummary & WithChannelType(ChannelType value)
ManagedNotificationChannelAssociationSummary & WithOverrideOption(ChannelAssociationOverrideOption value)
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOTIFICATIONS_API ManagedNotificationChannelAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue