AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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 private:
101 Aws::String m_channelIdentifier;
102
103 ChannelType m_channelType{ChannelType::NOT_SET};
104
106 bool m_channelIdentifierHasBeenSet = false;
107 bool m_channelTypeHasBeenSet = false;
108 bool m_overrideOptionHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Notifications
113} // 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