AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Channel& GetChannel() const{ return m_channel; }
48 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
49 inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
50 inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
51 inline MediaConcurrency& WithChannel(const Channel& value) { SetChannel(value); return *this;}
52 inline MediaConcurrency& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
54
56
63 inline int GetConcurrency() const{ return m_concurrency; }
64 inline bool ConcurrencyHasBeenSet() const { return m_concurrencyHasBeenSet; }
65 inline void SetConcurrency(int value) { m_concurrencyHasBeenSet = true; m_concurrency = value; }
66 inline MediaConcurrency& WithConcurrency(int value) { SetConcurrency(value); return *this;}
68
70
76 inline const CrossChannelBehavior& GetCrossChannelBehavior() const{ return m_crossChannelBehavior; }
77 inline bool CrossChannelBehaviorHasBeenSet() const { return m_crossChannelBehaviorHasBeenSet; }
78 inline void SetCrossChannelBehavior(const CrossChannelBehavior& value) { m_crossChannelBehaviorHasBeenSet = true; m_crossChannelBehavior = value; }
79 inline void SetCrossChannelBehavior(CrossChannelBehavior&& value) { m_crossChannelBehaviorHasBeenSet = true; m_crossChannelBehavior = std::move(value); }
83 private:
84
85 Channel m_channel;
86 bool m_channelHasBeenSet = false;
87
88 int m_concurrency;
89 bool m_concurrencyHasBeenSet = false;
90
91 CrossChannelBehavior m_crossChannelBehavior;
92 bool m_crossChannelBehaviorHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Connect
97} // namespace Aws
void SetCrossChannelBehavior(CrossChannelBehavior &&value)
const CrossChannelBehavior & GetCrossChannelBehavior() const
AWS_CONNECT_API MediaConcurrency & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaConcurrency & WithCrossChannelBehavior(CrossChannelBehavior &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaConcurrency & WithChannel(Channel &&value)
void SetChannel(const Channel &value)
MediaConcurrency & WithChannel(const Channel &value)
MediaConcurrency & WithConcurrency(int value)
MediaConcurrency & WithCrossChannelBehavior(const CrossChannelBehavior &value)
AWS_CONNECT_API MediaConcurrency(Aws::Utils::Json::JsonView jsonValue)
void SetCrossChannelBehavior(const CrossChannelBehavior &value)
Aws::Utils::Json::JsonValue JsonValue