AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ChannelContext.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/WebNotificationContext.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCampaignsV2 {
20namespace Model {
21
29 public:
30 AWS_CONNECTCAMPAIGNSV2_API ChannelContext() = default;
31 AWS_CONNECTCAMPAIGNSV2_API ChannelContext(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNSV2_API ChannelContext& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const WebNotificationContext& GetWebNotificationContext() const { return m_webNotificationContext; }
38 inline bool WebNotificationContextHasBeenSet() const { return m_webNotificationContextHasBeenSet; }
39 template <typename WebNotificationContextT = WebNotificationContext>
40 void SetWebNotificationContext(WebNotificationContextT&& value) {
41 m_webNotificationContextHasBeenSet = true;
42 m_webNotificationContext = std::forward<WebNotificationContextT>(value);
43 }
44 template <typename WebNotificationContextT = WebNotificationContext>
45 ChannelContext& WithWebNotificationContext(WebNotificationContextT&& value) {
46 SetWebNotificationContext(std::forward<WebNotificationContextT>(value));
47 return *this;
48 }
50 private:
51 WebNotificationContext m_webNotificationContext;
52 bool m_webNotificationContextHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace ConnectCampaignsV2
57} // namespace Aws
void SetWebNotificationContext(WebNotificationContextT &&value)
AWS_CONNECTCAMPAIGNSV2_API ChannelContext & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API ChannelContext()=default
const WebNotificationContext & GetWebNotificationContext() const
AWS_CONNECTCAMPAIGNSV2_API ChannelContext(Aws::Utils::Json::JsonView jsonValue)
ChannelContext & WithWebNotificationContext(WebNotificationContextT &&value)
Aws::Utils::Json::JsonValue JsonValue