AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
49 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
50 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
51 inline RoutingProfileQueueConfigSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
52 inline RoutingProfileQueueConfigSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
53 inline RoutingProfileQueueConfigSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;}
55
57
60 inline const Aws::String& GetQueueArn() const{ return m_queueArn; }
61 inline bool QueueArnHasBeenSet() const { return m_queueArnHasBeenSet; }
62 inline void SetQueueArn(const Aws::String& value) { m_queueArnHasBeenSet = true; m_queueArn = value; }
63 inline void SetQueueArn(Aws::String&& value) { m_queueArnHasBeenSet = true; m_queueArn = std::move(value); }
64 inline void SetQueueArn(const char* value) { m_queueArnHasBeenSet = true; m_queueArn.assign(value); }
65 inline RoutingProfileQueueConfigSummary& WithQueueArn(const Aws::String& value) { SetQueueArn(value); return *this;}
66 inline RoutingProfileQueueConfigSummary& WithQueueArn(Aws::String&& value) { SetQueueArn(std::move(value)); return *this;}
67 inline RoutingProfileQueueConfigSummary& WithQueueArn(const char* value) { SetQueueArn(value); return *this;}
69
71
74 inline const Aws::String& GetQueueName() const{ return m_queueName; }
75 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
76 inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
77 inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); }
78 inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); }
79 inline RoutingProfileQueueConfigSummary& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;}
80 inline RoutingProfileQueueConfigSummary& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;}
81 inline RoutingProfileQueueConfigSummary& WithQueueName(const char* value) { SetQueueName(value); return *this;}
83
85
91 inline int GetPriority() const{ return m_priority; }
92 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
93 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
94 inline RoutingProfileQueueConfigSummary& WithPriority(int value) { SetPriority(value); return *this;}
96
98
104 inline int GetDelay() const{ return m_delay; }
105 inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; }
106 inline void SetDelay(int value) { m_delayHasBeenSet = true; m_delay = value; }
107 inline RoutingProfileQueueConfigSummary& WithDelay(int value) { SetDelay(value); return *this;}
109
111
114 inline const Channel& GetChannel() const{ return m_channel; }
115 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
116 inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
117 inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
118 inline RoutingProfileQueueConfigSummary& WithChannel(const Channel& value) { SetChannel(value); return *this;}
119 inline RoutingProfileQueueConfigSummary& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_queueId;
124 bool m_queueIdHasBeenSet = false;
125
126 Aws::String m_queueArn;
127 bool m_queueArnHasBeenSet = false;
128
129 Aws::String m_queueName;
130 bool m_queueNameHasBeenSet = false;
131
132 int m_priority;
133 bool m_priorityHasBeenSet = false;
134
135 int m_delay;
136 bool m_delayHasBeenSet = false;
137
138 Channel m_channel;
139 bool m_channelHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Connect
144} // namespace Aws
RoutingProfileQueueConfigSummary & WithQueueId(const Aws::String &value)
RoutingProfileQueueConfigSummary & WithQueueArn(const char *value)
AWS_CONNECT_API RoutingProfileQueueConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfileQueueConfigSummary & WithQueueName(const Aws::String &value)
RoutingProfileQueueConfigSummary & WithQueueName(Aws::String &&value)
RoutingProfileQueueConfigSummary & WithChannel(const Channel &value)
RoutingProfileQueueConfigSummary & WithQueueArn(Aws::String &&value)
RoutingProfileQueueConfigSummary & WithChannel(Channel &&value)
RoutingProfileQueueConfigSummary & WithQueueArn(const Aws::String &value)
RoutingProfileQueueConfigSummary & WithQueueName(const char *value)
RoutingProfileQueueConfigSummary & WithQueueId(const char *value)
RoutingProfileQueueConfigSummary & WithQueueId(Aws::String &&value)
AWS_CONNECT_API RoutingProfileQueueConfigSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue