AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Dimensions.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/QueueReference.h>
9#include <aws/connect/model/Channel.h>
10#include <aws/connect/model/RoutingProfileReference.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API Dimensions() = default;
39 AWS_CONNECT_API Dimensions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Dimensions& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const QueueReference& GetQueue() const { return m_queue; }
49 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
50 template<typename QueueT = QueueReference>
51 void SetQueue(QueueT&& value) { m_queueHasBeenSet = true; m_queue = std::forward<QueueT>(value); }
52 template<typename QueueT = QueueReference>
53 Dimensions& WithQueue(QueueT&& value) { SetQueue(std::forward<QueueT>(value)); return *this;}
55
57
60 inline Channel GetChannel() const { return m_channel; }
61 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
62 inline void SetChannel(Channel value) { m_channelHasBeenSet = true; m_channel = value; }
63 inline Dimensions& WithChannel(Channel value) { SetChannel(value); return *this;}
65
67
68 inline const RoutingProfileReference& GetRoutingProfile() const { return m_routingProfile; }
69 inline bool RoutingProfileHasBeenSet() const { return m_routingProfileHasBeenSet; }
70 template<typename RoutingProfileT = RoutingProfileReference>
71 void SetRoutingProfile(RoutingProfileT&& value) { m_routingProfileHasBeenSet = true; m_routingProfile = std::forward<RoutingProfileT>(value); }
72 template<typename RoutingProfileT = RoutingProfileReference>
73 Dimensions& WithRoutingProfile(RoutingProfileT&& value) { SetRoutingProfile(std::forward<RoutingProfileT>(value)); return *this;}
75
77
80 inline const Aws::String& GetRoutingStepExpression() const { return m_routingStepExpression; }
81 inline bool RoutingStepExpressionHasBeenSet() const { return m_routingStepExpressionHasBeenSet; }
82 template<typename RoutingStepExpressionT = Aws::String>
83 void SetRoutingStepExpression(RoutingStepExpressionT&& value) { m_routingStepExpressionHasBeenSet = true; m_routingStepExpression = std::forward<RoutingStepExpressionT>(value); }
84 template<typename RoutingStepExpressionT = Aws::String>
85 Dimensions& WithRoutingStepExpression(RoutingStepExpressionT&& value) { SetRoutingStepExpression(std::forward<RoutingStepExpressionT>(value)); return *this;}
87 private:
88
89 QueueReference m_queue;
90 bool m_queueHasBeenSet = false;
91
92 Channel m_channel{Channel::NOT_SET};
93 bool m_channelHasBeenSet = false;
94
95 RoutingProfileReference m_routingProfile;
96 bool m_routingProfileHasBeenSet = false;
97
98 Aws::String m_routingStepExpression;
99 bool m_routingStepExpressionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Connect
104} // namespace Aws
AWS_CONNECT_API Dimensions()=default
void SetQueue(QueueT &&value)
Definition Dimensions.h:51
Dimensions & WithRoutingProfile(RoutingProfileT &&value)
Definition Dimensions.h:73
bool RoutingStepExpressionHasBeenSet() const
Definition Dimensions.h:81
void SetChannel(Channel value)
Definition Dimensions.h:62
const Aws::String & GetRoutingStepExpression() const
Definition Dimensions.h:80
const RoutingProfileReference & GetRoutingProfile() const
Definition Dimensions.h:68
const QueueReference & GetQueue() const
Definition Dimensions.h:48
Dimensions & WithQueue(QueueT &&value)
Definition Dimensions.h:53
AWS_CONNECT_API Dimensions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingProfile(RoutingProfileT &&value)
Definition Dimensions.h:71
void SetRoutingStepExpression(RoutingStepExpressionT &&value)
Definition Dimensions.h:83
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API Dimensions(Aws::Utils::Json::JsonView jsonValue)
bool RoutingProfileHasBeenSet() const
Definition Dimensions.h:69
Dimensions & WithChannel(Channel value)
Definition Dimensions.h:63
Dimensions & WithRoutingStepExpression(RoutingStepExpressionT &&value)
Definition Dimensions.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue