AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RoutingProfileQueueConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/RoutingProfileQueueReference.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API RoutingProfileQueueConfig() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RoutingProfileQueueReference& GetQueueReference() const { return m_queueReference; }
40 inline bool QueueReferenceHasBeenSet() const { return m_queueReferenceHasBeenSet; }
41 template <typename QueueReferenceT = RoutingProfileQueueReference>
42 void SetQueueReference(QueueReferenceT&& value) {
43 m_queueReferenceHasBeenSet = true;
44 m_queueReference = std::forward<QueueReferenceT>(value);
45 }
46 template <typename QueueReferenceT = RoutingProfileQueueReference>
48 SetQueueReference(std::forward<QueueReferenceT>(value));
49 return *this;
50 }
52
54
60 inline int GetPriority() const { return m_priority; }
61 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
62 inline void SetPriority(int value) {
63 m_priorityHasBeenSet = true;
64 m_priority = value;
65 }
67 SetPriority(value);
68 return *this;
69 }
71
73
79 inline int GetDelay() const { return m_delay; }
80 inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; }
81 inline void SetDelay(int value) {
82 m_delayHasBeenSet = true;
83 m_delay = value;
84 }
86 SetDelay(value);
87 return *this;
88 }
90 private:
91 RoutingProfileQueueReference m_queueReference;
92
93 int m_priority{0};
94
95 int m_delay{0};
96 bool m_queueReferenceHasBeenSet = false;
97 bool m_priorityHasBeenSet = false;
98 bool m_delayHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Connect
103} // namespace Aws
AWS_CONNECT_API RoutingProfileQueueConfig(Aws::Utils::Json::JsonView jsonValue)
RoutingProfileQueueConfig & WithDelay(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfileQueueConfig & WithPriority(int value)
RoutingProfileQueueConfig & WithQueueReference(QueueReferenceT &&value)
const RoutingProfileQueueReference & GetQueueReference() const
AWS_CONNECT_API RoutingProfileQueueConfig()=default
AWS_CONNECT_API RoutingProfileQueueConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue