7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsCloudWatchAlarmDimensionsDetails.h>
45 m_actionsEnabledHasBeenSet =
true;
46 m_actionsEnabled = value;
62 template <
typename AlarmActionsT = Aws::Vector<Aws::String>>
64 m_alarmActionsHasBeenSet =
true;
65 m_alarmActions = std::forward<AlarmActionsT>(value);
67 template <
typename AlarmActionsT = Aws::Vector<Aws::String>>
72 template <
typename AlarmActionsT = Aws::String>
74 m_alarmActionsHasBeenSet =
true;
75 m_alarmActions.emplace_back(std::forward<AlarmActionsT>(value));
86 template <
typename AlarmArnT = Aws::String>
88 m_alarmArnHasBeenSet =
true;
89 m_alarmArn = std::forward<AlarmArnT>(value);
91 template <
typename AlarmArnT = Aws::String>
104 template <
typename AlarmConfigurationUpdatedTimestampT = Aws::String>
106 m_alarmConfigurationUpdatedTimestampHasBeenSet =
true;
107 m_alarmConfigurationUpdatedTimestamp = std::forward<AlarmConfigurationUpdatedTimestampT>(value);
109 template <
typename AlarmConfigurationUpdatedTimestampT = Aws::String>
122 template <
typename AlarmDescriptionT = Aws::String>
124 m_alarmDescriptionHasBeenSet =
true;
125 m_alarmDescription = std::forward<AlarmDescriptionT>(value);
127 template <
typename AlarmDescriptionT = Aws::String>
141 template <
typename AlarmNameT = Aws::String>
143 m_alarmNameHasBeenSet =
true;
144 m_alarmName = std::forward<AlarmNameT>(value);
146 template <
typename AlarmNameT = Aws::String>
160 template <
typename ComparisonOperatorT = Aws::String>
162 m_comparisonOperatorHasBeenSet =
true;
163 m_comparisonOperator = std::forward<ComparisonOperatorT>(value);
165 template <
typename ComparisonOperatorT = Aws::String>
179 m_datapointsToAlarmHasBeenSet =
true;
180 m_datapointsToAlarm = value;
194 template <
typename DimensionsT = Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>>
196 m_dimensionsHasBeenSet =
true;
197 m_dimensions = std::forward<DimensionsT>(value);
199 template <
typename DimensionsT = Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>>
204 template <
typename DimensionsT = AwsCloudWatchAlarmDimensionsDetails>
206 m_dimensionsHasBeenSet =
true;
207 m_dimensions.emplace_back(std::forward<DimensionsT>(value));
222 template <
typename EvaluateLowSampleCountPercentileT = Aws::String>
224 m_evaluateLowSampleCountPercentileHasBeenSet =
true;
225 m_evaluateLowSampleCountPercentile = std::forward<EvaluateLowSampleCountPercentileT>(value);
227 template <
typename EvaluateLowSampleCountPercentileT = Aws::String>
242 m_evaluationPeriodsHasBeenSet =
true;
243 m_evaluationPeriods = value;
257 template <
typename ExtendedStatisticT = Aws::String>
259 m_extendedStatisticHasBeenSet =
true;
260 m_extendedStatistic = std::forward<ExtendedStatisticT>(value);
262 template <
typename ExtendedStatisticT = Aws::String>
277 template <
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
279 m_insufficientDataActionsHasBeenSet =
true;
280 m_insufficientDataActions = std::forward<InsufficientDataActionsT>(value);
282 template <
typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
287 template <
typename InsufficientDataActionsT = Aws::String>
289 m_insufficientDataActionsHasBeenSet =
true;
290 m_insufficientDataActions.emplace_back(std::forward<InsufficientDataActionsT>(value));
303 template <
typename MetricNameT = Aws::String>
305 m_metricNameHasBeenSet =
true;
306 m_metricName = std::forward<MetricNameT>(value);
308 template <
typename MetricNameT = Aws::String>
323 template <
typename NamespaceT = Aws::String>
325 m_namespaceHasBeenSet =
true;
326 m_namespace = std::forward<NamespaceT>(value);
328 template <
typename NamespaceT = Aws::String>
342 template <
typename OkActionsT = Aws::Vector<Aws::String>>
344 m_okActionsHasBeenSet =
true;
345 m_okActions = std::forward<OkActionsT>(value);
347 template <
typename OkActionsT = Aws::Vector<Aws::String>>
352 template <
typename OkActionsT = Aws::String>
354 m_okActionsHasBeenSet =
true;
355 m_okActions.emplace_back(std::forward<OkActionsT>(value));
368 m_periodHasBeenSet =
true;
388 template <
typename StatisticT = Aws::String>
390 m_statisticHasBeenSet =
true;
391 m_statistic = std::forward<StatisticT>(value);
393 template <
typename StatisticT = Aws::String>
407 m_thresholdHasBeenSet =
true;
424 template <
typename ThresholdMetricIdT = Aws::String>
426 m_thresholdMetricIdHasBeenSet =
true;
427 m_thresholdMetricId = std::forward<ThresholdMetricIdT>(value);
429 template <
typename ThresholdMetricIdT = Aws::String>
442 template <
typename TreatMissingDataT = Aws::String>
444 m_treatMissingDataHasBeenSet =
true;
445 m_treatMissingData = std::forward<TreatMissingDataT>(value);
447 template <
typename TreatMissingDataT = Aws::String>
460 template <
typename UnitT = Aws::String>
462 m_unitHasBeenSet =
true;
463 m_unit = std::forward<UnitT>(value);
465 template <
typename UnitT = Aws::String>
467 SetUnit(std::forward<UnitT>(value));
472 bool m_actionsEnabled{
false};
486 int m_datapointsToAlarm{0};
492 int m_evaluationPeriods{0};
508 double m_threshold{0.0};
515 bool m_actionsEnabledHasBeenSet =
false;
516 bool m_alarmActionsHasBeenSet =
false;
517 bool m_alarmArnHasBeenSet =
false;
518 bool m_alarmConfigurationUpdatedTimestampHasBeenSet =
false;
519 bool m_alarmDescriptionHasBeenSet =
false;
520 bool m_alarmNameHasBeenSet =
false;
521 bool m_comparisonOperatorHasBeenSet =
false;
522 bool m_datapointsToAlarmHasBeenSet =
false;
523 bool m_dimensionsHasBeenSet =
false;
524 bool m_evaluateLowSampleCountPercentileHasBeenSet =
false;
525 bool m_evaluationPeriodsHasBeenSet =
false;
526 bool m_extendedStatisticHasBeenSet =
false;
527 bool m_insufficientDataActionsHasBeenSet =
false;
528 bool m_metricNameHasBeenSet =
false;
529 bool m_namespaceHasBeenSet =
false;
530 bool m_okActionsHasBeenSet =
false;
531 bool m_periodHasBeenSet =
false;
532 bool m_statisticHasBeenSet =
false;
533 bool m_thresholdHasBeenSet =
false;
534 bool m_thresholdMetricIdHasBeenSet =
false;
535 bool m_treatMissingDataHasBeenSet =
false;
536 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