AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RoutingProfileQueueConfigSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Channel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API RoutingProfileQueueConfigSummary() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetQueueId() const { return m_queueId; }
41 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
42 template <typename QueueIdT = Aws::String>
43 void SetQueueId(QueueIdT&& value) {
44 m_queueIdHasBeenSet = true;
45 m_queueId = std::forward<QueueIdT>(value);
46 }
47 template <typename QueueIdT = Aws::String>
49 SetQueueId(std::forward<QueueIdT>(value));
50 return *this;
51 }
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) {
62 m_queueArnHasBeenSet = true;
63 m_queueArn = std::forward<QueueArnT>(value);
64 }
65 template <typename QueueArnT = Aws::String>
67 SetQueueArn(std::forward<QueueArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetQueueName() const { return m_queueName; }
77 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
78 template <typename QueueNameT = Aws::String>
79 void SetQueueName(QueueNameT&& value) {
80 m_queueNameHasBeenSet = true;
81 m_queueName = std::forward<QueueNameT>(value);
82 }
83 template <typename QueueNameT = Aws::String>
85 SetQueueName(std::forward<QueueNameT>(value));
86 return *this;
87 }
89
91
97 inline int GetPriority() const { return m_priority; }
98 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
99 inline void SetPriority(int value) {
100 m_priorityHasBeenSet = true;
101 m_priority = value;
102 }
104 SetPriority(value);
105 return *this;
106 }
108
110
116 inline int GetDelay() const { return m_delay; }
117 inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; }
118 inline void SetDelay(int value) {
119 m_delayHasBeenSet = true;
120 m_delay = value;
121 }
123 SetDelay(value);
124 return *this;
125 }
127
129
132 inline Channel GetChannel() const { return m_channel; }
133 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
134 inline void SetChannel(Channel value) {
135 m_channelHasBeenSet = true;
136 m_channel = value;
137 }
139 SetChannel(value);
140 return *this;
141 }
143 private:
144 Aws::String m_queueId;
145
146 Aws::String m_queueArn;
147
148 Aws::String m_queueName;
149
150 int m_priority{0};
151
152 int m_delay{0};
153
154 Channel m_channel{Channel::NOT_SET};
155 bool m_queueIdHasBeenSet = false;
156 bool m_queueArnHasBeenSet = false;
157 bool m_queueNameHasBeenSet = false;
158 bool m_priorityHasBeenSet = false;
159 bool m_delayHasBeenSet = false;
160 bool m_channelHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace Connect
165} // 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