AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HoursOfOperationSearchCriteria.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/StringCondition.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
34 {
35 public:
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<HoursOfOperationSearchCriteria>& GetOrConditions() const{ return m_orConditions; }
48 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
49 inline void SetOrConditions(const Aws::Vector<HoursOfOperationSearchCriteria>& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; }
50 inline void SetOrConditions(Aws::Vector<HoursOfOperationSearchCriteria>&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); }
53 inline HoursOfOperationSearchCriteria& AddOrConditions(const HoursOfOperationSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; }
54 inline HoursOfOperationSearchCriteria& AddOrConditions(HoursOfOperationSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<HoursOfOperationSearchCriteria>& GetAndConditions() const{ return m_andConditions; }
63 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
64 inline void SetAndConditions(const Aws::Vector<HoursOfOperationSearchCriteria>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
65 inline void SetAndConditions(Aws::Vector<HoursOfOperationSearchCriteria>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
68 inline HoursOfOperationSearchCriteria& AddAndConditions(const HoursOfOperationSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
69 inline HoursOfOperationSearchCriteria& AddAndConditions(HoursOfOperationSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
71
73
79 inline const StringCondition& GetStringCondition() const{ return m_stringCondition; }
80 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
81 inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; }
82 inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); }
84 inline HoursOfOperationSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;}
86 private:
87
89 bool m_orConditionsHasBeenSet = false;
90
92 bool m_andConditionsHasBeenSet = false;
93
94 StringCondition m_stringCondition;
95 bool m_stringConditionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
HoursOfOperationSearchCriteria & WithStringCondition(const StringCondition &value)
const Aws::Vector< HoursOfOperationSearchCriteria > & GetOrConditions() const
HoursOfOperationSearchCriteria & WithAndConditions(Aws::Vector< HoursOfOperationSearchCriteria > &&value)
AWS_CONNECT_API HoursOfOperationSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
HoursOfOperationSearchCriteria & WithAndConditions(const Aws::Vector< HoursOfOperationSearchCriteria > &value)
HoursOfOperationSearchCriteria & AddAndConditions(const HoursOfOperationSearchCriteria &value)
HoursOfOperationSearchCriteria & WithStringCondition(StringCondition &&value)
void SetAndConditions(Aws::Vector< HoursOfOperationSearchCriteria > &&value)
void SetAndConditions(const Aws::Vector< HoursOfOperationSearchCriteria > &value)
HoursOfOperationSearchCriteria & WithOrConditions(const Aws::Vector< HoursOfOperationSearchCriteria > &value)
void SetOrConditions(const Aws::Vector< HoursOfOperationSearchCriteria > &value)
const Aws::Vector< HoursOfOperationSearchCriteria > & GetAndConditions() const
HoursOfOperationSearchCriteria & AddOrConditions(const HoursOfOperationSearchCriteria &value)
AWS_CONNECT_API HoursOfOperationSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
HoursOfOperationSearchCriteria & AddAndConditions(HoursOfOperationSearchCriteria &&value)
void SetOrConditions(Aws::Vector< HoursOfOperationSearchCriteria > &&value)
HoursOfOperationSearchCriteria & WithOrConditions(Aws::Vector< HoursOfOperationSearchCriteria > &&value)
HoursOfOperationSearchCriteria & AddOrConditions(HoursOfOperationSearchCriteria &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue