AWS SDK for C++  1.9.153
AWS SDK for C++
RoutingProfileQueueConfig.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 
33  {
34  public:
39 
40 
44  inline const RoutingProfileQueueReference& GetQueueReference() const{ return m_queueReference; }
45 
49  inline bool QueueReferenceHasBeenSet() const { return m_queueReferenceHasBeenSet; }
50 
54  inline void SetQueueReference(const RoutingProfileQueueReference& value) { m_queueReferenceHasBeenSet = true; m_queueReference = value; }
55 
59  inline void SetQueueReference(RoutingProfileQueueReference&& value) { m_queueReferenceHasBeenSet = true; m_queueReference = std::move(value); }
60 
64  inline RoutingProfileQueueConfig& WithQueueReference(const RoutingProfileQueueReference& value) { SetQueueReference(value); return *this;}
65 
69  inline RoutingProfileQueueConfig& WithQueueReference(RoutingProfileQueueReference&& value) { SetQueueReference(std::move(value)); return *this;}
70 
71 
78  inline int GetPriority() const{ return m_priority; }
79 
86  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
87 
94  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
95 
102  inline RoutingProfileQueueConfig& WithPriority(int value) { SetPriority(value); return *this;}
103 
104 
111  inline int GetDelay() const{ return m_delay; }
112 
119  inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; }
120 
127  inline void SetDelay(int value) { m_delayHasBeenSet = true; m_delay = value; }
128 
135  inline RoutingProfileQueueConfig& WithDelay(int value) { SetDelay(value); return *this;}
136 
137  private:
138 
139  RoutingProfileQueueReference m_queueReference;
140  bool m_queueReferenceHasBeenSet;
141 
142  int m_priority;
143  bool m_priorityHasBeenSet;
144 
145  int m_delay;
146  bool m_delayHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace Connect
151 } // namespace Aws
Aws::Connect::Model::RoutingProfileQueueConfig::SetPriority
void SetPriority(int value)
Definition: RoutingProfileQueueConfig.h:94
Aws::Connect::Model::RoutingProfileQueueConfig::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: RoutingProfileQueueConfig.h:86
Aws::Connect::Model::RoutingProfileQueueConfig::WithPriority
RoutingProfileQueueConfig & WithPriority(int value)
Definition: RoutingProfileQueueConfig.h:102
Aws::Connect::Model::RoutingProfileQueueConfig::SetQueueReference
void SetQueueReference(const RoutingProfileQueueReference &value)
Definition: RoutingProfileQueueConfig.h:54
RoutingProfileQueueReference.h
Aws::Connect::Model::RoutingProfileQueueConfig::GetPriority
int GetPriority() const
Definition: RoutingProfileQueueConfig.h:78
Aws::Connect::Model::RoutingProfileQueueConfig::WithQueueReference
RoutingProfileQueueConfig & WithQueueReference(const RoutingProfileQueueReference &value)
Definition: RoutingProfileQueueConfig.h:64
Aws::Connect::Model::RoutingProfileQueueConfig::SetDelay
void SetDelay(int value)
Definition: RoutingProfileQueueConfig.h:127
Aws::Connect::Model::RoutingProfileQueueConfig
Definition: RoutingProfileQueueConfig.h:33
Aws::Connect::Model::RoutingProfileQueueConfig::RoutingProfileQueueConfig
RoutingProfileQueueConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfileQueueConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::RoutingProfileQueueConfig::RoutingProfileQueueConfig
RoutingProfileQueueConfig()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::RoutingProfileQueueConfig::WithQueueReference
RoutingProfileQueueConfig & WithQueueReference(RoutingProfileQueueReference &&value)
Definition: RoutingProfileQueueConfig.h:69
Aws::Connect::Model::RoutingProfileQueueConfig::SetQueueReference
void SetQueueReference(RoutingProfileQueueReference &&value)
Definition: RoutingProfileQueueConfig.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::RoutingProfileQueueConfig::operator=
RoutingProfileQueueConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfileQueueConfig::QueueReferenceHasBeenSet
bool QueueReferenceHasBeenSet() const
Definition: RoutingProfileQueueConfig.h:49
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::RoutingProfileQueueConfig::GetQueueReference
const RoutingProfileQueueReference & GetQueueReference() const
Definition: RoutingProfileQueueConfig.h:44
Connect_EXPORTS.h
Aws::Connect::Model::RoutingProfileQueueConfig::DelayHasBeenSet
bool DelayHasBeenSet() const
Definition: RoutingProfileQueueConfig.h:119
Aws::Connect::Model::RoutingProfileQueueConfig::WithDelay
RoutingProfileQueueConfig & WithDelay(int value)
Definition: RoutingProfileQueueConfig.h:135
Aws::Connect::Model::RoutingProfileQueueReference
Definition: RoutingProfileQueueReference.h:34
Aws::Connect::Model::RoutingProfileQueueConfig::GetDelay
int GetDelay() const
Definition: RoutingProfileQueueConfig.h:111