AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MediaConcurrency.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Channel.h>
9#include <aws/connect/model/CrossChannelBehavior.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CONNECT_API MediaConcurrency() = default;
38 AWS_CONNECT_API MediaConcurrency(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline Channel GetChannel() const { return m_channel; }
48 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
49 inline void SetChannel(Channel value) { m_channelHasBeenSet = true; m_channel = value; }
50 inline MediaConcurrency& WithChannel(Channel value) { SetChannel(value); return *this;}
52
54
61 inline int GetConcurrency() const { return m_concurrency; }
62 inline bool ConcurrencyHasBeenSet() const { return m_concurrencyHasBeenSet; }
63 inline void SetConcurrency(int value) { m_concurrencyHasBeenSet = true; m_concurrency = value; }
64 inline MediaConcurrency& WithConcurrency(int value) { SetConcurrency(value); return *this;}
66
68
74 inline const CrossChannelBehavior& GetCrossChannelBehavior() const { return m_crossChannelBehavior; }
75 inline bool CrossChannelBehaviorHasBeenSet() const { return m_crossChannelBehaviorHasBeenSet; }
76 template<typename CrossChannelBehaviorT = CrossChannelBehavior>
77 void SetCrossChannelBehavior(CrossChannelBehaviorT&& value) { m_crossChannelBehaviorHasBeenSet = true; m_crossChannelBehavior = std::forward<CrossChannelBehaviorT>(value); }
78 template<typename CrossChannelBehaviorT = CrossChannelBehavior>
79 MediaConcurrency& WithCrossChannelBehavior(CrossChannelBehaviorT&& value) { SetCrossChannelBehavior(std::forward<CrossChannelBehaviorT>(value)); return *this;}
81 private:
82
83 Channel m_channel{Channel::NOT_SET};
84 bool m_channelHasBeenSet = false;
85
86 int m_concurrency{0};
87 bool m_concurrencyHasBeenSet = false;
88
89 CrossChannelBehavior m_crossChannelBehavior;
90 bool m_crossChannelBehaviorHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
AWS_CONNECT_API MediaConcurrency()=default
const CrossChannelBehavior & GetCrossChannelBehavior() const
AWS_CONNECT_API MediaConcurrency & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaConcurrency & WithConcurrency(int value)
void SetCrossChannelBehavior(CrossChannelBehaviorT &&value)
MediaConcurrency & WithChannel(Channel value)
AWS_CONNECT_API MediaConcurrency(Aws::Utils::Json::JsonView jsonValue)
MediaConcurrency & WithCrossChannelBehavior(CrossChannelBehaviorT &&value)
Aws::Utils::Json::JsonValue JsonValue