AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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