AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
WebNotificationContext.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 WebNotificationContext() = default;
31 AWS_CONNECTCAMPAIGNSV2_API WebNotificationContext(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNSV2_API WebNotificationContext& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetSessionId() const { return m_sessionId; }
38 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
39 template <typename SessionIdT = Aws::String>
40 void SetSessionId(SessionIdT&& value) {
41 m_sessionIdHasBeenSet = true;
42 m_sessionId = std::forward<SessionIdT>(value);
43 }
44 template <typename SessionIdT = Aws::String>
46 SetSessionId(std::forward<SessionIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetBrowserId() const { return m_browserId; }
54 inline bool BrowserIdHasBeenSet() const { return m_browserIdHasBeenSet; }
55 template <typename BrowserIdT = Aws::String>
56 void SetBrowserId(BrowserIdT&& value) {
57 m_browserIdHasBeenSet = true;
58 m_browserId = std::forward<BrowserIdT>(value);
59 }
60 template <typename BrowserIdT = Aws::String>
62 SetBrowserId(std::forward<BrowserIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_sessionId;
68
69 Aws::String m_browserId;
70 bool m_sessionIdHasBeenSet = false;
71 bool m_browserIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ConnectCampaignsV2
76} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API WebNotificationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
WebNotificationContext & WithBrowserId(BrowserIdT &&value)
WebNotificationContext & WithSessionId(SessionIdT &&value)
AWS_CONNECTCAMPAIGNSV2_API WebNotificationContext(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API WebNotificationContext()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue