AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutingCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/connect/model/Step.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 {
35 public:
36 AWS_CONNECT_API RoutingCriteria();
37 AWS_CONNECT_API RoutingCriteria(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::Vector<Step>& GetSteps() const{ return m_steps; }
51 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
52 inline void SetSteps(const Aws::Vector<Step>& value) { m_stepsHasBeenSet = true; m_steps = value; }
53 inline void SetSteps(Aws::Vector<Step>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
54 inline RoutingCriteria& WithSteps(const Aws::Vector<Step>& value) { SetSteps(value); return *this;}
55 inline RoutingCriteria& WithSteps(Aws::Vector<Step>&& value) { SetSteps(std::move(value)); return *this;}
56 inline RoutingCriteria& AddSteps(const Step& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
57 inline RoutingCriteria& AddSteps(Step&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
59
61
67 inline const Aws::Utils::DateTime& GetActivationTimestamp() const{ return m_activationTimestamp; }
68 inline bool ActivationTimestampHasBeenSet() const { return m_activationTimestampHasBeenSet; }
69 inline void SetActivationTimestamp(const Aws::Utils::DateTime& value) { m_activationTimestampHasBeenSet = true; m_activationTimestamp = value; }
70 inline void SetActivationTimestamp(Aws::Utils::DateTime&& value) { m_activationTimestampHasBeenSet = true; m_activationTimestamp = std::move(value); }
72 inline RoutingCriteria& WithActivationTimestamp(Aws::Utils::DateTime&& value) { SetActivationTimestamp(std::move(value)); return *this;}
74
76
79 inline int GetIndex() const{ return m_index; }
80 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
81 inline void SetIndex(int value) { m_indexHasBeenSet = true; m_index = value; }
82 inline RoutingCriteria& WithIndex(int value) { SetIndex(value); return *this;}
84 private:
85
86 Aws::Vector<Step> m_steps;
87 bool m_stepsHasBeenSet = false;
88
89 Aws::Utils::DateTime m_activationTimestamp;
90 bool m_activationTimestampHasBeenSet = false;
91
92 int m_index;
93 bool m_indexHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Connect
98} // namespace Aws
RoutingCriteria & WithSteps(const Aws::Vector< Step > &value)
void SetSteps(const Aws::Vector< Step > &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingCriteria & WithIndex(int value)
const Aws::Vector< Step > & GetSteps() const
RoutingCriteria & WithSteps(Aws::Vector< Step > &&value)
RoutingCriteria & AddSteps(Step &&value)
void SetActivationTimestamp(const Aws::Utils::DateTime &value)
RoutingCriteria & AddSteps(const Step &value)
AWS_CONNECT_API RoutingCriteria(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetActivationTimestamp() const
AWS_CONNECT_API RoutingCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSteps(Aws::Vector< Step > &&value)
RoutingCriteria & WithActivationTimestamp(Aws::Utils::DateTime &&value)
void SetActivationTimestamp(Aws::Utils::DateTime &&value)
RoutingCriteria & WithActivationTimestamp(const Aws::Utils::DateTime &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue