AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RoutingProfileQueueReference.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 RoutingProfileQueueReference() = 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
59 inline Channel GetChannel() const { return m_channel; }
60 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
61 inline void SetChannel(Channel value) {
62 m_channelHasBeenSet = true;
63 m_channel = value;
64 }
66 SetChannel(value);
67 return *this;
68 }
70 private:
71 Aws::String m_queueId;
72
73 Channel m_channel{Channel::NOT_SET};
74 bool m_queueIdHasBeenSet = false;
75 bool m_channelHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Connect
80} // namespace Aws
AWS_CONNECT_API RoutingProfileQueueReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RoutingProfileQueueReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RoutingProfileQueueReference()=default
RoutingProfileQueueReference & WithChannel(Channel value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfileQueueReference & WithQueueId(QueueIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue