AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSteps(const Aws::Vector<RoutingCriteriaInputStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
52 inline void SetSteps(Aws::Vector<RoutingCriteriaInputStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
54 inline RoutingCriteriaInput& WithSteps(Aws::Vector<RoutingCriteriaInputStep>&& value) { SetSteps(std::move(value)); return *this;}
55 inline RoutingCriteriaInput& AddSteps(const RoutingCriteriaInputStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
56 inline RoutingCriteriaInput& AddSteps(RoutingCriteriaInputStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
58 private:
59
61 bool m_stepsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Connect
66} // namespace Aws
AWS_CONNECT_API RoutingCriteriaInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingCriteriaInput & AddSteps(RoutingCriteriaInputStep &&value)
AWS_CONNECT_API RoutingCriteriaInput(Aws::Utils::Json::JsonView jsonValue)
RoutingCriteriaInput & WithSteps(const Aws::Vector< RoutingCriteriaInputStep > &value)
void SetSteps(Aws::Vector< RoutingCriteriaInputStep > &&value)
RoutingCriteriaInput & AddSteps(const RoutingCriteriaInputStep &value)
void SetSteps(const Aws::Vector< RoutingCriteriaInputStep > &value)
const Aws::Vector< RoutingCriteriaInputStep > & GetSteps() const
RoutingCriteriaInput & WithSteps(Aws::Vector< RoutingCriteriaInputStep > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue