AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RoutingCriteriaInput.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/RoutingCriteriaInputStep.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API RoutingCriteriaInput() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::Vector<RoutingCriteriaInputStep>& GetSteps() const { return m_steps; }
50 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
51 template<typename StepsT = Aws::Vector<RoutingCriteriaInputStep>>
52 void SetSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps = std::forward<StepsT>(value); }
53 template<typename StepsT = Aws::Vector<RoutingCriteriaInputStep>>
54 RoutingCriteriaInput& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
55 template<typename StepsT = RoutingCriteriaInputStep>
56 RoutingCriteriaInput& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
58 private:
59
61 bool m_stepsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Connect
66} // namespace Aws
RoutingCriteriaInput & AddSteps(StepsT &&value)
AWS_CONNECT_API RoutingCriteriaInput()=default
AWS_CONNECT_API RoutingCriteriaInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RoutingCriteriaInput(Aws::Utils::Json::JsonView jsonValue)
RoutingCriteriaInput & WithSteps(StepsT &&value)
const Aws::Vector< RoutingCriteriaInputStep > & GetSteps() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue