AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Step.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Expiry.h>
9#include <aws/connect/model/Expression.h>
10#include <aws/connect/model/RoutingCriteriaStepStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
34 class Step
35 {
36 public:
37 AWS_CONNECT_API Step();
38 AWS_CONNECT_API Step(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Step& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Expiry& GetExpiry() const{ return m_expiry; }
48 inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
49 inline void SetExpiry(const Expiry& value) { m_expiryHasBeenSet = true; m_expiry = value; }
50 inline void SetExpiry(Expiry&& value) { m_expiryHasBeenSet = true; m_expiry = std::move(value); }
51 inline Step& WithExpiry(const Expiry& value) { SetExpiry(value); return *this;}
52 inline Step& WithExpiry(Expiry&& value) { SetExpiry(std::move(value)); return *this;}
54
56
59 inline const Expression& GetExpression() const{ return m_expression; }
60 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
61 inline void SetExpression(const Expression& value) { m_expressionHasBeenSet = true; m_expression = value; }
62 inline void SetExpression(Expression&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
63 inline Step& WithExpression(const Expression& value) { SetExpression(value); return *this;}
64 inline Step& WithExpression(Expression&& value) { SetExpression(std::move(value)); return *this;}
66
68
71 inline const RoutingCriteriaStepStatus& GetStatus() const{ return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(const RoutingCriteriaStepStatus& value) { m_statusHasBeenSet = true; m_status = value; }
74 inline void SetStatus(RoutingCriteriaStepStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
75 inline Step& WithStatus(const RoutingCriteriaStepStatus& value) { SetStatus(value); return *this;}
76 inline Step& WithStatus(RoutingCriteriaStepStatus&& value) { SetStatus(std::move(value)); return *this;}
78 private:
79
80 Expiry m_expiry;
81 bool m_expiryHasBeenSet = false;
82
83 Expression m_expression;
84 bool m_expressionHasBeenSet = false;
85
87 bool m_statusHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Connect
92} // namespace Aws
Step & WithExpression(const Expression &value)
Definition Step.h:63
const Expiry & GetExpiry() const
Definition Step.h:47
Step & WithExpiry(Expiry &&value)
Definition Step.h:52
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExpression(Expression &&value)
Definition Step.h:62
Step & WithExpiry(const Expiry &value)
Definition Step.h:51
const RoutingCriteriaStepStatus & GetStatus() const
Definition Step.h:71
Step & WithStatus(RoutingCriteriaStepStatus &&value)
Definition Step.h:76
void SetStatus(RoutingCriteriaStepStatus &&value)
Definition Step.h:74
void SetStatus(const RoutingCriteriaStepStatus &value)
Definition Step.h:73
bool ExpressionHasBeenSet() const
Definition Step.h:60
void SetExpiry(Expiry &&value)
Definition Step.h:50
bool ExpiryHasBeenSet() const
Definition Step.h:48
Step & WithStatus(const RoutingCriteriaStepStatus &value)
Definition Step.h:75
const Expression & GetExpression() const
Definition Step.h:59
AWS_CONNECT_API Step(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(const Expression &value)
Definition Step.h:61
AWS_CONNECT_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
Step & WithExpression(Expression &&value)
Definition Step.h:64
AWS_CONNECT_API Step()
bool StatusHasBeenSet() const
Definition Step.h:72
void SetExpiry(const Expiry &value)
Definition Step.h:49
Aws::Utils::Json::JsonValue JsonValue