AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RoutingProfileQueueConfigSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/Channel.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
34 {
35 public:
36 AWS_CONNECT_API RoutingProfileQueueConfigSummary() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetQueueId() const { return m_queueId; }
47 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
48 template<typename QueueIdT = Aws::String>
49 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
50 template<typename QueueIdT = Aws::String>
51 RoutingProfileQueueConfigSummary& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetQueueArn() const { return m_queueArn; }
59 inline bool QueueArnHasBeenSet() const { return m_queueArnHasBeenSet; }
60 template<typename QueueArnT = Aws::String>
61 void SetQueueArn(QueueArnT&& value) { m_queueArnHasBeenSet = true; m_queueArn = std::forward<QueueArnT>(value); }
62 template<typename QueueArnT = Aws::String>
63 RoutingProfileQueueConfigSummary& WithQueueArn(QueueArnT&& value) { SetQueueArn(std::forward<QueueArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetQueueName() const { return m_queueName; }
71 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
72 template<typename QueueNameT = Aws::String>
73 void SetQueueName(QueueNameT&& value) { m_queueNameHasBeenSet = true; m_queueName = std::forward<QueueNameT>(value); }
74 template<typename QueueNameT = Aws::String>
75 RoutingProfileQueueConfigSummary& WithQueueName(QueueNameT&& value) { SetQueueName(std::forward<QueueNameT>(value)); return *this;}
77
79
85 inline int GetPriority() const { return m_priority; }
86 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
87 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
88 inline RoutingProfileQueueConfigSummary& WithPriority(int value) { SetPriority(value); return *this;}
90
92
98 inline int GetDelay() const { return m_delay; }
99 inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; }
100 inline void SetDelay(int value) { m_delayHasBeenSet = true; m_delay = value; }
101 inline RoutingProfileQueueConfigSummary& WithDelay(int value) { SetDelay(value); return *this;}
103
105
108 inline Channel GetChannel() const { return m_channel; }
109 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
110 inline void SetChannel(Channel value) { m_channelHasBeenSet = true; m_channel = value; }
111 inline RoutingProfileQueueConfigSummary& WithChannel(Channel value) { SetChannel(value); return *this;}
113 private:
114
115 Aws::String m_queueId;
116 bool m_queueIdHasBeenSet = false;
117
118 Aws::String m_queueArn;
119 bool m_queueArnHasBeenSet = false;
120
121 Aws::String m_queueName;
122 bool m_queueNameHasBeenSet = false;
123
124 int m_priority{0};
125 bool m_priorityHasBeenSet = false;
126
127 int m_delay{0};
128 bool m_delayHasBeenSet = false;
129
130 Channel m_channel{Channel::NOT_SET};
131 bool m_channelHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Connect
136} // namespace Aws
AWS_CONNECT_API RoutingProfileQueueConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfileQueueConfigSummary & WithQueueName(QueueNameT &&value)
RoutingProfileQueueConfigSummary & WithQueueId(QueueIdT &&value)
RoutingProfileQueueConfigSummary & WithChannel(Channel value)
RoutingProfileQueueConfigSummary & WithQueueArn(QueueArnT &&value)
AWS_CONNECT_API RoutingProfileQueueConfigSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RoutingProfileQueueConfigSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue