AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PersistentConnectionConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Channel.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API PersistentConnectionConfig() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline Channel GetChannel() const { return m_channel; }
41 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
42 inline void SetChannel(Channel value) {
43 m_channelHasBeenSet = true;
44 m_channel = value;
45 }
47 SetChannel(value);
48 return *this;
49 }
51
53
58 inline bool GetPersistentConnection() const { return m_persistentConnection; }
59 inline bool PersistentConnectionHasBeenSet() const { return m_persistentConnectionHasBeenSet; }
60 inline void SetPersistentConnection(bool value) {
61 m_persistentConnectionHasBeenSet = true;
62 m_persistentConnection = value;
63 }
66 return *this;
67 }
69 private:
70 Channel m_channel{Channel::NOT_SET};
71
72 bool m_persistentConnection{false};
73 bool m_channelHasBeenSet = false;
74 bool m_persistentConnectionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
AWS_CONNECT_API PersistentConnectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
PersistentConnectionConfig & WithChannel(Channel value)
AWS_CONNECT_API PersistentConnectionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API PersistentConnectionConfig()=default
PersistentConnectionConfig & WithPersistentConnection(bool value)
Aws::Utils::Json::JsonValue JsonValue