AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetQueue(const QueueReference& value) { m_queueHasBeenSet = true; m_queue = value; }
51 inline void SetQueue(QueueReference&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
52 inline Dimensions& WithQueue(const QueueReference& value) { SetQueue(value); return *this;}
53 inline Dimensions& WithQueue(QueueReference&& value) { SetQueue(std::move(value)); return *this;}
55
57
60 inline const Channel& GetChannel() const{ return m_channel; }
61 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
62 inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
63 inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
64 inline Dimensions& WithChannel(const Channel& value) { SetChannel(value); return *this;}
65 inline Dimensions& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
67
69
70 inline const RoutingProfileReference& GetRoutingProfile() const{ return m_routingProfile; }
71 inline bool RoutingProfileHasBeenSet() const { return m_routingProfileHasBeenSet; }
72 inline void SetRoutingProfile(const RoutingProfileReference& value) { m_routingProfileHasBeenSet = true; m_routingProfile = value; }
73 inline void SetRoutingProfile(RoutingProfileReference&& value) { m_routingProfileHasBeenSet = true; m_routingProfile = std::move(value); }
74 inline Dimensions& WithRoutingProfile(const RoutingProfileReference& value) { SetRoutingProfile(value); return *this;}
75 inline Dimensions& WithRoutingProfile(RoutingProfileReference&& value) { SetRoutingProfile(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetRoutingStepExpression() const{ return m_routingStepExpression; }
83 inline bool RoutingStepExpressionHasBeenSet() const { return m_routingStepExpressionHasBeenSet; }
84 inline void SetRoutingStepExpression(const Aws::String& value) { m_routingStepExpressionHasBeenSet = true; m_routingStepExpression = value; }
85 inline void SetRoutingStepExpression(Aws::String&& value) { m_routingStepExpressionHasBeenSet = true; m_routingStepExpression = std::move(value); }
86 inline void SetRoutingStepExpression(const char* value) { m_routingStepExpressionHasBeenSet = true; m_routingStepExpression.assign(value); }
87 inline Dimensions& WithRoutingStepExpression(const Aws::String& value) { SetRoutingStepExpression(value); return *this;}
88 inline Dimensions& WithRoutingStepExpression(Aws::String&& value) { SetRoutingStepExpression(std::move(value)); return *this;}
89 inline Dimensions& WithRoutingStepExpression(const char* value) { SetRoutingStepExpression(value); return *this;}
91 private:
92
93 QueueReference m_queue;
94 bool m_queueHasBeenSet = false;
95
96 Channel m_channel;
97 bool m_channelHasBeenSet = false;
98
99 RoutingProfileReference m_routingProfile;
100 bool m_routingProfileHasBeenSet = false;
101
102 Aws::String m_routingStepExpression;
103 bool m_routingStepExpressionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Connect
108} // namespace Aws
Dimensions & WithChannel(const Channel &value)
Definition Dimensions.h:64
Dimensions & WithQueue(const QueueReference &value)
Definition Dimensions.h:52
Dimensions & WithChannel(Channel &&value)
Definition Dimensions.h:65
void SetRoutingProfile(const RoutingProfileReference &value)
Definition Dimensions.h:72
Dimensions & WithQueue(QueueReference &&value)
Definition Dimensions.h:53
bool RoutingStepExpressionHasBeenSet() const
Definition Dimensions.h:83
const Aws::String & GetRoutingStepExpression() const
Definition Dimensions.h:82
const RoutingProfileReference & GetRoutingProfile() const
Definition Dimensions.h:70
void SetQueue(const QueueReference &value)
Definition Dimensions.h:50
void SetChannel(Channel &&value)
Definition Dimensions.h:63
const QueueReference & GetQueue() const
Definition Dimensions.h:48
void SetRoutingProfile(RoutingProfileReference &&value)
Definition Dimensions.h:73
void SetRoutingStepExpression(const char *value)
Definition Dimensions.h:86
Dimensions & WithRoutingStepExpression(Aws::String &&value)
Definition Dimensions.h:88
void SetChannel(const Channel &value)
Definition Dimensions.h:62
void SetRoutingStepExpression(Aws::String &&value)
Definition Dimensions.h:85
Dimensions & WithRoutingStepExpression(const Aws::String &value)
Definition Dimensions.h:87
Dimensions & WithRoutingStepExpression(const char *value)
Definition Dimensions.h:89
AWS_CONNECT_API Dimensions & operator=(Aws::Utils::Json::JsonView jsonValue)
Dimensions & WithRoutingProfile(const RoutingProfileReference &value)
Definition Dimensions.h:74
void SetRoutingStepExpression(const Aws::String &value)
Definition Dimensions.h:84
const Channel & GetChannel() const
Definition Dimensions.h:60
Dimensions & WithRoutingProfile(RoutingProfileReference &&value)
Definition Dimensions.h:75
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API Dimensions(Aws::Utils::Json::JsonView jsonValue)
void SetQueue(QueueReference &&value)
Definition Dimensions.h:51
bool RoutingProfileHasBeenSet() const
Definition Dimensions.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue