AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SearchableRoutingCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/SearchableRoutingCriteriaStep.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 SearchableRoutingCriteria() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<SearchableRoutingCriteriaStep>& GetSteps() const { return m_steps; }
40 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
41 template <typename StepsT = Aws::Vector<SearchableRoutingCriteriaStep>>
42 void SetSteps(StepsT&& value) {
43 m_stepsHasBeenSet = true;
44 m_steps = std::forward<StepsT>(value);
45 }
46 template <typename StepsT = Aws::Vector<SearchableRoutingCriteriaStep>>
48 SetSteps(std::forward<StepsT>(value));
49 return *this;
50 }
51 template <typename StepsT = SearchableRoutingCriteriaStep>
53 m_stepsHasBeenSet = true;
54 m_steps.emplace_back(std::forward<StepsT>(value));
55 return *this;
56 }
58 private:
60 bool m_stepsHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Connect
65} // namespace Aws
const Aws::Vector< SearchableRoutingCriteriaStep > & GetSteps() const
AWS_CONNECT_API SearchableRoutingCriteria()=default
SearchableRoutingCriteria & WithSteps(StepsT &&value)
AWS_CONNECT_API SearchableRoutingCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SearchableRoutingCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchableRoutingCriteria & AddSteps(StepsT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue