7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsCloudWatchAlarmDimensionsDetails.h>
50 inline void SetActionsEnabled(
bool value) { m_actionsEnabledHasBeenSet =
true; m_actionsEnabled = value; }
62 template<
typename AlarmActionsT = Aws::Vector<Aws::String>>
63 void SetAlarmActions(AlarmActionsT&& value) { m_alarmActionsHasBeenSet =
true; m_alarmActions = std::forward<AlarmActionsT>(value); }
64 template<
typename AlarmActionsT = Aws::Vector<Aws::String>>
66 template<
typename AlarmActionsT = Aws::String>
76 template<
typename AlarmArnT = Aws::String>
77 void SetAlarmArn(AlarmArnT&& value) { m_alarmArnHasBeenSet =
true; m_alarmArn = std::forward<AlarmArnT>(value); }
78 template<
typename AlarmArnT = Aws::String>
88 template<
typename AlarmConfigurationUpdatedTimestampT = Aws::String>
89 void SetAlarmConfigurationUpdatedTimestamp(AlarmConfigurationUpdatedTimestampT&& value) { m_alarmConfigurationUpdatedTimestampHasBeenSet =
true; m_alarmConfigurationUpdatedTimestamp = std::forward<AlarmConfigurationUpdatedTimestampT>(value); }
90 template<
typename AlarmConfigurationUpdatedTimestampT = Aws::String>
100 template<
typename AlarmDescriptionT = Aws::String>
101 void SetAlarmDescription(AlarmDescriptionT&& value) { m_alarmDescriptionHasBeenSet =
true; m_alarmDescription = std::forward<AlarmDescriptionT>(value); }
102 template<
typename AlarmDescriptionT = Aws::String>
113 template<
typename AlarmNameT = Aws::String>
114 void SetAlarmName(AlarmNameT&& value) { m_alarmNameHasBeenSet =
true; m_alarmName = std::forward<AlarmNameT>(value); }
115 template<
typename AlarmNameT = Aws::String>
126 template<
typename ComparisonOperatorT = Aws::String>
127 void SetComparisonOperator(ComparisonOperatorT&& value) { m_comparisonOperatorHasBeenSet =
true; m_comparisonOperator = std::forward<ComparisonOperatorT>(value); }
128 template<
typename ComparisonOperatorT = Aws::String>
138 inline void SetDatapointsToAlarm(
int value) { m_datapointsToAlarmHasBeenSet =
true; m_datapointsToAlarm = value; }
148 template<
typename DimensionsT = Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>>
149 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
150 template<
typename DimensionsT = Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>>
152 template<
typename DimensionsT = AwsCloudWatchAlarmDimensionsDetails>
166 template<
typename EvaluateLowSampleCountPercentileT = Aws::String>
167 void SetEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT&& value) { m_evaluateLowSampleCountPercentileHasBeenSet =
true; m_evaluateLowSampleCountPercentile = std::forward<EvaluateLowSampleCountPercentileT>(value); }
168 template<
typename EvaluateLowSampleCountPercentileT = Aws::String>
179 inline void SetEvaluationPeriods(
int value) { m_evaluationPeriodsHasBeenSet =
true; m_evaluationPeriods = value; }
189 template<
typename ExtendedStatisticT = Aws::String>
190 void SetExtendedStatistic(ExtendedStatisticT&& value) { m_extendedStatisticHasBeenSet =
true; m_extendedStatistic = std::forward<ExtendedStatisticT>(value); }
191 template<
typename ExtendedStatisticT = Aws::String>
203 template<
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
204 void SetInsufficientDataActions(InsufficientDataActionsT&& value) { m_insufficientDataActionsHasBeenSet =
true; m_insufficientDataActions = std::forward<InsufficientDataActionsT>(value); }
205 template<
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
207 template<
typename InsufficientDataActionsT = Aws::String>
219 template<
typename MetricNameT = Aws::String>
220 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
221 template<
typename MetricNameT = Aws::String>
233 template<
typename NamespaceT = Aws::String>
234 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
235 template<
typename NamespaceT = Aws::String>
246 template<
typename OkActionsT = Aws::Vector<Aws::String>>
247 void SetOkActions(OkActionsT&& value) { m_okActionsHasBeenSet =
true; m_okActions = std::forward<OkActionsT>(value); }
248 template<
typename OkActionsT = Aws::Vector<Aws::String>>
250 template<
typename OkActionsT = Aws::String>
261 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
276 template<
typename StatisticT = Aws::String>
277 void SetStatistic(StatisticT&& value) { m_statisticHasBeenSet =
true; m_statistic = std::forward<StatisticT>(value); }
278 template<
typename StatisticT = Aws::String>
288 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
300 template<
typename ThresholdMetricIdT = Aws::String>
301 void SetThresholdMetricId(ThresholdMetricIdT&& value) { m_thresholdMetricIdHasBeenSet =
true; m_thresholdMetricId = std::forward<ThresholdMetricIdT>(value); }
302 template<
typename ThresholdMetricIdT = Aws::String>
312 template<
typename TreatMissingDataT = Aws::String>
313 void SetTreatMissingData(TreatMissingDataT&& value) { m_treatMissingDataHasBeenSet =
true; m_treatMissingData = std::forward<TreatMissingDataT>(value); }
314 template<
typename TreatMissingDataT = Aws::String>
324 template<
typename UnitT = Aws::String>
325 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
326 template<
typename UnitT = Aws::String>
331 bool m_actionsEnabled{
false};
332 bool m_actionsEnabledHasBeenSet =
false;
335 bool m_alarmActionsHasBeenSet =
false;
338 bool m_alarmArnHasBeenSet =
false;
341 bool m_alarmConfigurationUpdatedTimestampHasBeenSet =
false;
344 bool m_alarmDescriptionHasBeenSet =
false;
347 bool m_alarmNameHasBeenSet =
false;
350 bool m_comparisonOperatorHasBeenSet =
false;
352 int m_datapointsToAlarm{0};
353 bool m_datapointsToAlarmHasBeenSet =
false;
356 bool m_dimensionsHasBeenSet =
false;
359 bool m_evaluateLowSampleCountPercentileHasBeenSet =
false;
361 int m_evaluationPeriods{0};
362 bool m_evaluationPeriodsHasBeenSet =
false;
365 bool m_extendedStatisticHasBeenSet =
false;
368 bool m_insufficientDataActionsHasBeenSet =
false;
371 bool m_metricNameHasBeenSet =
false;
374 bool m_namespaceHasBeenSet =
false;
377 bool m_okActionsHasBeenSet =
false;
380 bool m_periodHasBeenSet =
false;
383 bool m_statisticHasBeenSet =
false;
385 double m_threshold{0.0};
386 bool m_thresholdHasBeenSet =
false;
389 bool m_thresholdMetricIdHasBeenSet =
false;
392 bool m_treatMissingDataHasBeenSet =
false;
395 bool m_unitHasBeenSet =
false;
void SetOkActions(OkActionsT &&value)
bool NamespaceHasBeenSet() const
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudWatchAlarmDetails & WithEvaluationPeriods(int value)
AwsCloudWatchAlarmDetails & AddOkActions(OkActionsT &&value)
const Aws::String & GetEvaluateLowSampleCountPercentile() const
const Aws::Vector< Aws::String > & GetOkActions() const
bool AlarmActionsHasBeenSet() const
bool ExtendedStatisticHasBeenSet() const
AwsCloudWatchAlarmDetails & WithExtendedStatistic(ExtendedStatisticT &&value)
AwsCloudWatchAlarmDetails & WithPeriod(int value)
AwsCloudWatchAlarmDetails & WithTreatMissingData(TreatMissingDataT &&value)
bool UnitHasBeenSet() const
AwsCloudWatchAlarmDetails & AddInsufficientDataActions(InsufficientDataActionsT &&value)
AwsCloudWatchAlarmDetails & WithAlarmActions(AlarmActionsT &&value)
bool InsufficientDataActionsHasBeenSet() const
void SetAlarmConfigurationUpdatedTimestamp(AlarmConfigurationUpdatedTimestampT &&value)
bool GetActionsEnabled() const
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT &&value)
const Aws::String & GetExtendedStatistic() const
AwsCloudWatchAlarmDetails & WithComparisonOperator(ComparisonOperatorT &&value)
const Aws::String & GetAlarmDescription() const
bool MetricNameHasBeenSet() const
void SetPeriod(int value)
void SetTreatMissingData(TreatMissingDataT &&value)
AwsCloudWatchAlarmDetails & WithAlarmName(AlarmNameT &&value)
void SetComparisonOperator(ComparisonOperatorT &&value)
bool OkActionsHasBeenSet() const
void SetActionsEnabled(bool value)
const Aws::Vector< Aws::String > & GetAlarmActions() const
AwsCloudWatchAlarmDetails & WithMetricName(MetricNameT &&value)
bool ThresholdHasBeenSet() const
bool ActionsEnabledHasBeenSet() const
bool EvaluateLowSampleCountPercentileHasBeenSet() const
void SetInsufficientDataActions(InsufficientDataActionsT &&value)
bool AlarmArnHasBeenSet() const
bool PeriodHasBeenSet() const
const Aws::String & GetAlarmConfigurationUpdatedTimestamp() const
const Aws::String & GetNamespace() const
bool TreatMissingDataHasBeenSet() const
const Aws::String & GetStatistic() const
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCloudWatchAlarmDetails & WithAlarmArn(AlarmArnT &&value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(AlarmDescriptionT &&value)
bool AlarmConfigurationUpdatedTimestampHasBeenSet() const
int GetEvaluationPeriods() const
const Aws::String & GetAlarmName() const
AwsCloudWatchAlarmDetails & WithStatistic(StatisticT &&value)
AwsCloudWatchAlarmDetails & WithInsufficientDataActions(InsufficientDataActionsT &&value)
bool EvaluationPeriodsHasBeenSet() const
void SetThresholdMetricId(ThresholdMetricIdT &&value)
AwsCloudWatchAlarmDetails & WithDimensions(DimensionsT &&value)
const Aws::String & GetAlarmArn() const
void SetAlarmActions(AlarmActionsT &&value)
void SetThreshold(double value)
void SetEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT &&value)
bool AlarmDescriptionHasBeenSet() const
void SetDimensions(DimensionsT &&value)
void SetUnit(UnitT &&value)
AwsCloudWatchAlarmDetails & WithActionsEnabled(bool value)
void SetAlarmDescription(AlarmDescriptionT &&value)
AwsCloudWatchAlarmDetails & WithOkActions(OkActionsT &&value)
void SetStatistic(StatisticT &&value)
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvaluationPeriods(int value)
bool ComparisonOperatorHasBeenSet() const
int GetDatapointsToAlarm() const
const Aws::String & GetUnit() const
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
const Aws::String & GetComparisonOperator() const
AwsCloudWatchAlarmDetails & WithThreshold(double value)
const Aws::String & GetMetricName() const
void SetMetricName(MetricNameT &&value)
const Aws::String & GetTreatMissingData() const
void SetAlarmName(AlarmNameT &&value)
bool AlarmNameHasBeenSet() const
bool DimensionsHasBeenSet() const
AwsCloudWatchAlarmDetails & WithNamespace(NamespaceT &&value)
AwsCloudWatchAlarmDetails & AddDimensions(DimensionsT &&value)
AwsCloudWatchAlarmDetails & AddAlarmActions(AlarmActionsT &&value)
double GetThreshold() const
bool DatapointsToAlarmHasBeenSet() const
const Aws::String & GetThresholdMetricId() const
void SetExtendedStatistic(ExtendedStatisticT &&value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(AlarmConfigurationUpdatedTimestampT &&value)
AwsCloudWatchAlarmDetails & WithUnit(UnitT &&value)
AwsCloudWatchAlarmDetails & WithDatapointsToAlarm(int value)
AwsCloudWatchAlarmDetails & WithThresholdMetricId(ThresholdMetricIdT &&value)
const Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > & GetDimensions() const
void SetAlarmArn(AlarmArnT &&value)
void SetDatapointsToAlarm(int value)
void SetNamespace(NamespaceT &&value)
bool ThresholdMetricIdHasBeenSet() const
bool StatisticHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue