7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/Range.h>
9#include <aws/customer-profiles/model/Threshold.h>
22namespace CustomerProfiles
48 template<
typename RangeT = Range>
49 void SetRange(RangeT&& value) { m_rangeHasBeenSet =
true; m_range = std::forward<RangeT>(value); }
50 template<
typename RangeT = Range>
60 inline void SetObjectCount(
int value) { m_objectCountHasBeenSet =
true; m_objectCount = value; }
70 template<
typename ThresholdT = Threshold>
71 void SetThreshold(ThresholdT&& value) { m_thresholdHasBeenSet =
true; m_threshold = std::forward<ThresholdT>(value); }
72 template<
typename ThresholdT = Threshold>
78 bool m_rangeHasBeenSet =
false;
81 bool m_objectCountHasBeenSet =
false;
83 Threshold m_threshold;
84 bool m_thresholdHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API Conditions(Aws::Utils::Json::JsonView jsonValue)
Conditions & WithRange(RangeT &&value)
AWS_CUSTOMERPROFILES_API Conditions()=default
int GetObjectCount() const
const Range & GetRange() const
const Threshold & GetThreshold() const
Conditions & WithThreshold(ThresholdT &&value)
Conditions & WithObjectCount(int value)
void SetObjectCount(int value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThreshold(ThresholdT &&value)
void SetRange(RangeT &&value)
bool ObjectCountHasBeenSet() const
bool RangeHasBeenSet() const
AWS_CUSTOMERPROFILES_API Conditions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue