7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace CloudWatchEvidently
50 inline void SetEvaluationOrder(
long long value) { m_evaluationOrderHasBeenSet =
true; m_evaluationOrder = value; }
62 inline void SetSegment(
const char* value) { m_segmentHasBeenSet =
true; m_segment.assign(value); }
84 inline SegmentOverride&
AddWeights(
const char* key,
long long value) { m_weightsHasBeenSet =
true; m_weights.emplace(key, value);
return *
this; }
88 long long m_evaluationOrder;
89 bool m_evaluationOrderHasBeenSet =
false;
92 bool m_segmentHasBeenSet =
false;
95 bool m_weightsHasBeenSet =
false;
SegmentOverride & AddWeights(const char *key, long long value)
const Aws::Map< Aws::String, long long > & GetWeights() const
void SetWeights(const Aws::Map< Aws::String, long long > &value)
bool WeightsHasBeenSet() const
SegmentOverride & WithWeights(const Aws::Map< Aws::String, long long > &value)
SegmentOverride & WithWeights(Aws::Map< Aws::String, long long > &&value)
AWS_CLOUDWATCHEVIDENTLY_API SegmentOverride(Aws::Utils::Json::JsonView jsonValue)
SegmentOverride & AddWeights(Aws::String &&key, long long value)
SegmentOverride & AddWeights(const Aws::String &key, long long value)
void SetEvaluationOrder(long long value)
long long GetEvaluationOrder() const
void SetSegment(const char *value)
const Aws::String & GetSegment() const
SegmentOverride & WithSegment(const char *value)
bool SegmentHasBeenSet() const
SegmentOverride & WithEvaluationOrder(long long value)
AWS_CLOUDWATCHEVIDENTLY_API SegmentOverride()
SegmentOverride & WithSegment(const Aws::String &value)
void SetWeights(Aws::Map< Aws::String, long long > &&value)
bool EvaluationOrderHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentOverride & WithSegment(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API SegmentOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSegment(Aws::String &&value)
void SetSegment(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue