AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
RoutingCriteriaInput.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/RoutingCriteriaInputStep.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
29 public:
30 AWS_CONNECT_API RoutingCriteriaInput() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::Vector<RoutingCriteriaInputStep>& GetSteps() const { return m_steps; }
43 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
44 template <typename StepsT = Aws::Vector<RoutingCriteriaInputStep>>
45 void SetSteps(StepsT&& value) {
46 m_stepsHasBeenSet = true;
47 m_steps = std::forward<StepsT>(value);
48 }
49 template <typename StepsT = Aws::Vector<RoutingCriteriaInputStep>>
51 SetSteps(std::forward<StepsT>(value));
52 return *this;
53 }
54 template <typename StepsT = RoutingCriteriaInputStep>
55 RoutingCriteriaInput& AddSteps(StepsT&& value) {
56 m_stepsHasBeenSet = true;
57 m_steps.emplace_back(std::forward<StepsT>(value));
58 return *this;
59 }
61 private:
63 bool m_stepsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace Connect
68} // 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