7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/BooleanCondition.h>
9#include <aws/connect/model/StringCondition.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename OrConditionsT = Aws::Vector<MetricSearchCriteria>>
46 m_orConditionsHasBeenSet =
true;
47 m_orConditions = std::forward<OrConditionsT>(value);
49 template <
typename OrConditionsT = Aws::Vector<MetricSearchCriteria>>
54 template <
typename OrConditionsT = MetricSearchCriteria>
56 m_orConditionsHasBeenSet =
true;
57 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
68 template <
typename AndConditionsT = Aws::Vector<MetricSearchCriteria>>
70 m_andConditionsHasBeenSet =
true;
71 m_andConditions = std::forward<AndConditionsT>(value);
73 template <
typename AndConditionsT = Aws::Vector<MetricSearchCriteria>>
78 template <
typename AndConditionsT = MetricSearchCriteria>
80 m_andConditionsHasBeenSet =
true;
81 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
90 template <
typename StringConditionT = StringCondition>
92 m_stringConditionHasBeenSet =
true;
93 m_stringCondition = std::forward<StringConditionT>(value);
95 template <
typename StringConditionT = StringCondition>
106 template <
typename BooleanConditionT = BooleanCondition>
108 m_booleanConditionHasBeenSet =
true;
109 m_booleanCondition = std::forward<BooleanConditionT>(value);
111 template <
typename BooleanConditionT = BooleanCondition>
125 bool m_orConditionsHasBeenSet =
false;
126 bool m_andConditionsHasBeenSet =
false;
127 bool m_stringConditionHasBeenSet =
false;
128 bool m_booleanConditionHasBeenSet =
false;
const Aws::Vector< MetricSearchCriteria > & GetAndConditions() const
MetricSearchCriteria & AddAndConditions(AndConditionsT &&value)
MetricSearchCriteria & AddOrConditions(OrConditionsT &&value)
const BooleanCondition & GetBooleanCondition() const
MetricSearchCriteria & WithOrConditions(OrConditionsT &&value)
MetricSearchCriteria & WithStringCondition(StringConditionT &&value)
MetricSearchCriteria & WithAndConditions(AndConditionsT &&value)
const StringCondition & GetStringCondition() const
AWS_CONNECT_API MetricSearchCriteria()=default
AWS_CONNECT_API MetricSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API MetricSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAndConditions(AndConditionsT &&value)
void SetOrConditions(OrConditionsT &&value)
MetricSearchCriteria & WithBooleanCondition(BooleanConditionT &&value)
bool AndConditionsHasBeenSet() const
bool StringConditionHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStringCondition(StringConditionT &&value)
void SetBooleanCondition(BooleanConditionT &&value)
bool OrConditionsHasBeenSet() const
const Aws::Vector< MetricSearchCriteria > & GetOrConditions() const
bool BooleanConditionHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue