AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedNotificationChannelAssociationSummary.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/notifications/model/ChannelType.h>
10#include <aws/notifications/model/ChannelAssociationOverrideOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Notifications
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_NOTIFICATIONS_API ManagedNotificationChannelAssociationSummary() = default;
40 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetChannelIdentifier() const { return m_channelIdentifier; }
48 inline bool ChannelIdentifierHasBeenSet() const { return m_channelIdentifierHasBeenSet; }
49 template<typename ChannelIdentifierT = Aws::String>
50 void SetChannelIdentifier(ChannelIdentifierT&& value) { m_channelIdentifierHasBeenSet = true; m_channelIdentifier = std::forward<ChannelIdentifierT>(value); }
51 template<typename ChannelIdentifierT = Aws::String>
52 ManagedNotificationChannelAssociationSummary& WithChannelIdentifier(ChannelIdentifierT&& value) { SetChannelIdentifier(std::forward<ChannelIdentifierT>(value)); return *this;}
54
56
68 inline ChannelType GetChannelType() const { return m_channelType; }
69 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
70 inline void SetChannelType(ChannelType value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
73
75
83 inline ChannelAssociationOverrideOption GetOverrideOption() const { return m_overrideOption; }
84 inline bool OverrideOptionHasBeenSet() const { return m_overrideOptionHasBeenSet; }
85 inline void SetOverrideOption(ChannelAssociationOverrideOption value) { m_overrideOptionHasBeenSet = true; m_overrideOption = value; }
88 private:
89
90 Aws::String m_channelIdentifier;
91 bool m_channelIdentifierHasBeenSet = false;
92
93 ChannelType m_channelType{ChannelType::NOT_SET};
94 bool m_channelTypeHasBeenSet = false;
95
97 bool m_overrideOptionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Notifications
102} // 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