7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/Duration.h>
60 inline void SetInterval(
Duration&& value) { m_intervalHasBeenSet =
true; m_interval = std::move(value); }
72 inline void SetMaxEjectionPercent(
int value) { m_maxEjectionPercentHasBeenSet =
true; m_maxEjectionPercent = value; }
82 inline void SetMaxServerErrors(
long long value) { m_maxServerErrorsHasBeenSet =
true; m_maxServerErrors = value; }
88 bool m_baseEjectionDurationHasBeenSet =
false;
91 bool m_intervalHasBeenSet =
false;
93 int m_maxEjectionPercent;
94 bool m_maxEjectionPercentHasBeenSet =
false;
96 long long m_maxServerErrors;
97 bool m_maxServerErrorsHasBeenSet =
false;
bool BaseEjectionDurationHasBeenSet() const
OutlierDetection & WithBaseEjectionDuration(const Duration &value)
bool MaxServerErrorsHasBeenSet() const
AWS_APPMESH_API OutlierDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
OutlierDetection & WithInterval(const Duration &value)
void SetMaxServerErrors(long long value)
int GetMaxEjectionPercent() const
void SetInterval(const Duration &value)
void SetBaseEjectionDuration(Duration &&value)
OutlierDetection & WithMaxEjectionPercent(int value)
AWS_APPMESH_API OutlierDetection(Aws::Utils::Json::JsonView jsonValue)
void SetInterval(Duration &&value)
bool MaxEjectionPercentHasBeenSet() const
long long GetMaxServerErrors() const
const Duration & GetInterval() const
const Duration & GetBaseEjectionDuration() const
bool IntervalHasBeenSet() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxEjectionPercent(int value)
AWS_APPMESH_API OutlierDetection()
OutlierDetection & WithMaxServerErrors(long long value)
OutlierDetection & WithInterval(Duration &&value)
void SetBaseEjectionDuration(const Duration &value)
OutlierDetection & WithBaseEjectionDuration(Duration &&value)
Aws::Utils::Json::JsonValue JsonValue