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>
52 template<
typename StepsT = Aws::Vector<Step>>
53 void SetSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps = std::forward<StepsT>(value); }
54 template<
typename StepsT = Aws::Vector<Step>>
56 template<
typename StepsT = Step>
57 RoutingCriteria&
AddSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps.emplace_back(std::forward<StepsT>(value));
return *
this; }
69 template<
typename ActivationTimestampT = Aws::Utils::DateTime>
70 void SetActivationTimestamp(ActivationTimestampT&& value) { m_activationTimestampHasBeenSet =
true; m_activationTimestamp = std::forward<ActivationTimestampT>(value); }
71 template<
typename ActivationTimestampT = Aws::Utils::DateTime>
79 inline int GetIndex()
const {
return m_index; }
81 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
87 bool m_stepsHasBeenSet =
false;
90 bool m_activationTimestampHasBeenSet =
false;
93 bool m_indexHasBeenSet =
false;
AWS_CONNECT_API RoutingCriteria()=default
bool StepsHasBeenSet() const
void SetSteps(StepsT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActivationTimestamp(ActivationTimestampT &&value)
RoutingCriteria & WithActivationTimestamp(ActivationTimestampT &&value)
RoutingCriteria & AddSteps(StepsT &&value)
RoutingCriteria & WithIndex(int value)
RoutingCriteria & WithSteps(StepsT &&value)
const Aws::Vector< Step > & GetSteps() const
bool ActivationTimestampHasBeenSet() const
bool IndexHasBeenSet() const
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)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue