AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RoutingCriteriaInputStep.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Expression.h>
9#include <aws/connect/model/RoutingCriteriaInputStepExpiry.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
31 public:
32 AWS_CONNECT_API RoutingCriteriaInputStep() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const RoutingCriteriaInputStepExpiry& GetExpiry() const { return m_expiry; }
42 inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
43 template <typename ExpiryT = RoutingCriteriaInputStepExpiry>
44 void SetExpiry(ExpiryT&& value) {
45 m_expiryHasBeenSet = true;
46 m_expiry = std::forward<ExpiryT>(value);
47 }
48 template <typename ExpiryT = RoutingCriteriaInputStepExpiry>
50 SetExpiry(std::forward<ExpiryT>(value));
51 return *this;
52 }
54
56
59 inline const Expression& GetExpression() const { return m_expression; }
60 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
61 template <typename ExpressionT = Expression>
62 void SetExpression(ExpressionT&& value) {
63 m_expressionHasBeenSet = true;
64 m_expression = std::forward<ExpressionT>(value);
65 }
66 template <typename ExpressionT = Expression>
68 SetExpression(std::forward<ExpressionT>(value));
69 return *this;
70 }
72 private:
74
75 Expression m_expression;
76 bool m_expiryHasBeenSet = false;
77 bool m_expressionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Connect
82} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const RoutingCriteriaInputStepExpiry & GetExpiry() const
AWS_CONNECT_API RoutingCriteriaInputStep()=default
AWS_CONNECT_API RoutingCriteriaInputStep(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RoutingCriteriaInputStep & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingCriteriaInputStep & WithExpression(ExpressionT &&value)
RoutingCriteriaInputStep & WithExpiry(ExpiryT &&value)
Aws::Utils::Json::JsonValue JsonValue