AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
Dimensions.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AgentStatusIdentifier.h>
9#include <aws/connect/model/Channel.h>
10#include <aws/connect/model/QueueReference.h>
11#include <aws/connect/model/RoutingProfileReference.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
25
33 public:
34 AWS_CONNECT_API Dimensions() = default;
35 AWS_CONNECT_API Dimensions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECT_API Dimensions& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const QueueReference& GetQueue() const { return m_queue; }
44 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
45 template <typename QueueT = QueueReference>
46 void SetQueue(QueueT&& value) {
47 m_queueHasBeenSet = true;
48 m_queue = std::forward<QueueT>(value);
49 }
50 template <typename QueueT = QueueReference>
51 Dimensions& WithQueue(QueueT&& value) {
52 SetQueue(std::forward<QueueT>(value));
53 return *this;
54 }
56
58
61 inline Channel GetChannel() const { return m_channel; }
62 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
63 inline void SetChannel(Channel value) {
64 m_channelHasBeenSet = true;
65 m_channel = value;
66 }
68 SetChannel(value);
69 return *this;
70 }
72
74
75 inline const RoutingProfileReference& GetRoutingProfile() const { return m_routingProfile; }
76 inline bool RoutingProfileHasBeenSet() const { return m_routingProfileHasBeenSet; }
77 template <typename RoutingProfileT = RoutingProfileReference>
78 void SetRoutingProfile(RoutingProfileT&& value) {
79 m_routingProfileHasBeenSet = true;
80 m_routingProfile = std::forward<RoutingProfileT>(value);
81 }
82 template <typename RoutingProfileT = RoutingProfileReference>
83 Dimensions& WithRoutingProfile(RoutingProfileT&& value) {
84 SetRoutingProfile(std::forward<RoutingProfileT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRoutingStepExpression() const { return m_routingStepExpression; }
94 inline bool RoutingStepExpressionHasBeenSet() const { return m_routingStepExpressionHasBeenSet; }
95 template <typename RoutingStepExpressionT = Aws::String>
96 void SetRoutingStepExpression(RoutingStepExpressionT&& value) {
97 m_routingStepExpressionHasBeenSet = true;
98 m_routingStepExpression = std::forward<RoutingStepExpressionT>(value);
99 }
100 template <typename RoutingStepExpressionT = Aws::String>
101 Dimensions& WithRoutingStepExpression(RoutingStepExpressionT&& value) {
102 SetRoutingStepExpression(std::forward<RoutingStepExpressionT>(value));
103 return *this;
104 }
106
108
111 inline const AgentStatusIdentifier& GetAgentStatus() const { return m_agentStatus; }
112 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
113 template <typename AgentStatusT = AgentStatusIdentifier>
114 void SetAgentStatus(AgentStatusT&& value) {
115 m_agentStatusHasBeenSet = true;
116 m_agentStatus = std::forward<AgentStatusT>(value);
117 }
118 template <typename AgentStatusT = AgentStatusIdentifier>
119 Dimensions& WithAgentStatus(AgentStatusT&& value) {
120 SetAgentStatus(std::forward<AgentStatusT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetSubtype() const { return m_subtype; }
130 inline bool SubtypeHasBeenSet() const { return m_subtypeHasBeenSet; }
131 template <typename SubtypeT = Aws::String>
132 void SetSubtype(SubtypeT&& value) {
133 m_subtypeHasBeenSet = true;
134 m_subtype = std::forward<SubtypeT>(value);
135 }
136 template <typename SubtypeT = Aws::String>
137 Dimensions& WithSubtype(SubtypeT&& value) {
138 SetSubtype(std::forward<SubtypeT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetValidationTestType() const { return m_validationTestType; }
148 inline bool ValidationTestTypeHasBeenSet() const { return m_validationTestTypeHasBeenSet; }
149 template <typename ValidationTestTypeT = Aws::String>
150 void SetValidationTestType(ValidationTestTypeT&& value) {
151 m_validationTestTypeHasBeenSet = true;
152 m_validationTestType = std::forward<ValidationTestTypeT>(value);
153 }
154 template <typename ValidationTestTypeT = Aws::String>
155 Dimensions& WithValidationTestType(ValidationTestTypeT&& value) {
156 SetValidationTestType(std::forward<ValidationTestTypeT>(value));
157 return *this;
158 }
160 private:
161 QueueReference m_queue;
162
163 Channel m_channel{Channel::NOT_SET};
164
165 RoutingProfileReference m_routingProfile;
166
167 Aws::String m_routingStepExpression;
168
169 AgentStatusIdentifier m_agentStatus;
170
171 Aws::String m_subtype;
172
173 Aws::String m_validationTestType;
174 bool m_queueHasBeenSet = false;
175 bool m_channelHasBeenSet = false;
176 bool m_routingProfileHasBeenSet = false;
177 bool m_routingStepExpressionHasBeenSet = false;
178 bool m_agentStatusHasBeenSet = false;
179 bool m_subtypeHasBeenSet = false;
180 bool m_validationTestTypeHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace Connect
185} // namespace Aws
Dimensions & WithAgentStatus(AgentStatusT &&value)
Definition Dimensions.h:119
AWS_CONNECT_API Dimensions()=default
void SetQueue(QueueT &&value)
Definition Dimensions.h:46
const Aws::String & GetSubtype() const
Definition Dimensions.h:129
Dimensions & WithRoutingProfile(RoutingProfileT &&value)
Definition Dimensions.h:83
void SetValidationTestType(ValidationTestTypeT &&value)
Definition Dimensions.h:150
bool RoutingStepExpressionHasBeenSet() const
Definition Dimensions.h:94
void SetChannel(Channel value)
Definition Dimensions.h:63
void SetAgentStatus(AgentStatusT &&value)
Definition Dimensions.h:114
void SetSubtype(SubtypeT &&value)
Definition Dimensions.h:132
const Aws::String & GetRoutingStepExpression() const
Definition Dimensions.h:93
const RoutingProfileReference & GetRoutingProfile() const
Definition Dimensions.h:75
Dimensions & WithSubtype(SubtypeT &&value)
Definition Dimensions.h:137
const QueueReference & GetQueue() const
Definition Dimensions.h:43
Dimensions & WithQueue(QueueT &&value)
Definition Dimensions.h:51
AWS_CONNECT_API Dimensions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingProfile(RoutingProfileT &&value)
Definition Dimensions.h:78
void SetRoutingStepExpression(RoutingStepExpressionT &&value)
Definition Dimensions.h:96
Dimensions & WithValidationTestType(ValidationTestTypeT &&value)
Definition Dimensions.h:155
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const AgentStatusIdentifier & GetAgentStatus() const
Definition Dimensions.h:111
AWS_CONNECT_API Dimensions(Aws::Utils::Json::JsonView jsonValue)
bool RoutingProfileHasBeenSet() const
Definition Dimensions.h:76
Dimensions & WithChannel(Channel value)
Definition Dimensions.h:67
const Aws::String & GetValidationTestType() const
Definition Dimensions.h:147
Dimensions & WithRoutingStepExpression(RoutingStepExpressionT &&value)
Definition Dimensions.h:101
bool ValidationTestTypeHasBeenSet() const
Definition Dimensions.h:148
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue