AWS SDK for C++  1.9.160
AWS SDK for C++
MediaConcurrency.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline const Channel& GetChannel() const{ return m_channel; }
46 
50  inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
51 
55  inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
56 
60  inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
61 
65  inline MediaConcurrency& WithChannel(const Channel& value) { SetChannel(value); return *this;}
66 
70  inline MediaConcurrency& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
71 
72 
80  inline int GetConcurrency() const{ return m_concurrency; }
81 
89  inline bool ConcurrencyHasBeenSet() const { return m_concurrencyHasBeenSet; }
90 
98  inline void SetConcurrency(int value) { m_concurrencyHasBeenSet = true; m_concurrency = value; }
99 
107  inline MediaConcurrency& WithConcurrency(int value) { SetConcurrency(value); return *this;}
108 
109  private:
110 
111  Channel m_channel;
112  bool m_channelHasBeenSet;
113 
114  int m_concurrency;
115  bool m_concurrencyHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace Connect
120 } // namespace Aws
Aws::Connect::Model::Channel
Channel
Definition: Channel.h:17
Aws::Connect::Model::MediaConcurrency::ChannelHasBeenSet
bool ChannelHasBeenSet() const
Definition: MediaConcurrency.h:50
Aws::Connect::Model::MediaConcurrency
Definition: MediaConcurrency.h:34
Channel.h
Aws::Connect::Model::MediaConcurrency::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::MediaConcurrency::MediaConcurrency
MediaConcurrency()
Aws::Connect::Model::MediaConcurrency::WithChannel
MediaConcurrency & WithChannel(Channel &&value)
Definition: MediaConcurrency.h:70
Aws::Connect::Model::MediaConcurrency::MediaConcurrency
MediaConcurrency(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::MediaConcurrency::SetConcurrency
void SetConcurrency(int value)
Definition: MediaConcurrency.h:98
Aws::Connect::Model::MediaConcurrency::SetChannel
void SetChannel(const Channel &value)
Definition: MediaConcurrency.h:55
Aws::Connect::Model::MediaConcurrency::SetChannel
void SetChannel(Channel &&value)
Definition: MediaConcurrency.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::MediaConcurrency::GetConcurrency
int GetConcurrency() const
Definition: MediaConcurrency.h:80
Aws::Connect::Model::MediaConcurrency::operator=
MediaConcurrency & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::MediaConcurrency::ConcurrencyHasBeenSet
bool ConcurrencyHasBeenSet() const
Definition: MediaConcurrency.h:89
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::MediaConcurrency::GetChannel
const Channel & GetChannel() const
Definition: MediaConcurrency.h:45
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::MediaConcurrency::WithChannel
MediaConcurrency & WithChannel(const Channel &value)
Definition: MediaConcurrency.h:65
Connect_EXPORTS.h
Aws::Connect::Model::MediaConcurrency::WithConcurrency
MediaConcurrency & WithConcurrency(int value)
Definition: MediaConcurrency.h:107