AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API RoutingProfileQueueConfig();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RoutingProfileQueueReference& GetQueueReference() const{ return m_queueReference; }
46 inline bool QueueReferenceHasBeenSet() const { return m_queueReferenceHasBeenSet; }
47 inline void SetQueueReference(const RoutingProfileQueueReference& value) { m_queueReferenceHasBeenSet = true; m_queueReference = value; }
48 inline void SetQueueReference(RoutingProfileQueueReference&& value) { m_queueReferenceHasBeenSet = true; m_queueReference = std::move(value); }
52
54
60 inline int GetPriority() const{ return m_priority; }
61 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
62 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
63 inline RoutingProfileQueueConfig& WithPriority(int value) { SetPriority(value); return *this;}
65
67
73 inline int GetDelay() const{ return m_delay; }
74 inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; }
75 inline void SetDelay(int value) { m_delayHasBeenSet = true; m_delay = value; }
76 inline RoutingProfileQueueConfig& WithDelay(int value) { SetDelay(value); return *this;}
78 private:
79
80 RoutingProfileQueueReference m_queueReference;
81 bool m_queueReferenceHasBeenSet = false;
82
83 int m_priority;
84 bool m_priorityHasBeenSet = false;
85
86 int m_delay;
87 bool m_delayHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Connect
92} // namespace Aws
RoutingProfileQueueConfig & WithQueueReference(const RoutingProfileQueueReference &value)
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)
void SetQueueReference(const RoutingProfileQueueReference &value)
void SetQueueReference(RoutingProfileQueueReference &&value)
RoutingProfileQueueConfig & WithQueueReference(RoutingProfileQueueReference &&value)
const RoutingProfileQueueReference & GetQueueReference() const
AWS_CONNECT_API RoutingProfileQueueConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue