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; }
79 inline void SetAlarmArn(
const char* value) { m_alarmArnHasBeenSet =
true; m_alarmArn.assign(value); }
107 inline void SetAlarmDescription(
const char* value) { m_alarmDescriptionHasBeenSet =
true; m_alarmDescription.assign(value); }
122 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
137 inline void SetComparisonOperator(
const char* value) { m_comparisonOperatorHasBeenSet =
true; m_comparisonOperator.assign(value); }
149 inline void SetDatapointsToAlarm(
int value) { m_datapointsToAlarmHasBeenSet =
true; m_datapointsToAlarm = value; }
192 inline void SetEvaluationPeriods(
int value) { m_evaluationPeriodsHasBeenSet =
true; m_evaluationPeriods = value; }
204 inline void SetExtendedStatistic(
const char* value) { m_extendedStatisticHasBeenSet =
true; m_extendedStatistic.assign(value); }
237 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
253 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
282 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
299 inline void SetStatistic(
const char* value) { m_statisticHasBeenSet =
true; m_statistic.assign(value); }
311 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
325 inline void SetThresholdMetricId(
const char* value) { m_thresholdMetricIdHasBeenSet =
true; m_thresholdMetricId.assign(value); }
339 inline void SetTreatMissingData(
const char* value) { m_treatMissingDataHasBeenSet =
true; m_treatMissingData.assign(value); }
353 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
360 bool m_actionsEnabled;
361 bool m_actionsEnabledHasBeenSet =
false;
364 bool m_alarmActionsHasBeenSet =
false;
367 bool m_alarmArnHasBeenSet =
false;
370 bool m_alarmConfigurationUpdatedTimestampHasBeenSet =
false;
373 bool m_alarmDescriptionHasBeenSet =
false;
376 bool m_alarmNameHasBeenSet =
false;
379 bool m_comparisonOperatorHasBeenSet =
false;
381 int m_datapointsToAlarm;
382 bool m_datapointsToAlarmHasBeenSet =
false;
385 bool m_dimensionsHasBeenSet =
false;
388 bool m_evaluateLowSampleCountPercentileHasBeenSet =
false;
390 int m_evaluationPeriods;
391 bool m_evaluationPeriodsHasBeenSet =
false;
394 bool m_extendedStatisticHasBeenSet =
false;
397 bool m_insufficientDataActionsHasBeenSet =
false;
400 bool m_metricNameHasBeenSet =
false;
403 bool m_namespaceHasBeenSet =
false;
406 bool m_okActionsHasBeenSet =
false;
409 bool m_periodHasBeenSet =
false;
412 bool m_statisticHasBeenSet =
false;
415 bool m_thresholdHasBeenSet =
false;
418 bool m_thresholdMetricIdHasBeenSet =
false;
421 bool m_treatMissingDataHasBeenSet =
false;
424 bool m_unitHasBeenSet =
false;
AwsCloudWatchAlarmDetails & WithUnit(const Aws::String &value)
bool NamespaceHasBeenSet() const
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudWatchAlarmDetails & WithEvaluationPeriods(int value)
AwsCloudWatchAlarmDetails & AddInsufficientDataActions(const char *value)
const Aws::String & GetEvaluateLowSampleCountPercentile() const
const Aws::Vector< Aws::String > & GetOkActions() const
bool AlarmActionsHasBeenSet() const
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithInsufficientDataActions(Aws::Vector< Aws::String > &&value)
bool ExtendedStatisticHasBeenSet() const
AwsCloudWatchAlarmDetails & WithPeriod(int value)
void SetAlarmName(const Aws::String &value)
void SetOkActions(Aws::Vector< Aws::String > &&value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(const char *value)
bool UnitHasBeenSet() const
void SetMetricName(const char *value)
void SetAlarmActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(const char *value)
void SetAlarmArn(const Aws::String &value)
void SetAlarmName(const char *value)
void SetExtendedStatistic(const char *value)
AwsCloudWatchAlarmDetails & AddAlarmActions(const Aws::String &value)
void SetInsufficientDataActions(Aws::Vector< Aws::String > &&value)
AwsCloudWatchAlarmDetails & AddOkActions(Aws::String &&value)
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails()
bool InsufficientDataActionsHasBeenSet() const
AwsCloudWatchAlarmDetails & WithOkActions(Aws::Vector< Aws::String > &&value)
bool GetActionsEnabled() const
AwsCloudWatchAlarmDetails & WithAlarmArn(const char *value)
const Aws::String & GetExtendedStatistic() const
const Aws::String & GetAlarmDescription() const
bool MetricNameHasBeenSet() const
void SetEvaluateLowSampleCountPercentile(const char *value)
AwsCloudWatchAlarmDetails & WithNamespace(const char *value)
AwsCloudWatchAlarmDetails & WithUnit(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithThresholdMetricId(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithExtendedStatistic(Aws::String &&value)
void SetPeriod(int value)
void SetComparisonOperator(const Aws::String &value)
void SetOkActions(const Aws::Vector< Aws::String > &value)
bool OkActionsHasBeenSet() const
void SetActionsEnabled(bool value)
AwsCloudWatchAlarmDetails & WithComparisonOperator(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAlarmActions() const
void SetMetricName(const Aws::String &value)
AwsCloudWatchAlarmDetails & AddDimensions(AwsCloudWatchAlarmDimensionsDetails &&value)
bool ThresholdHasBeenSet() const
void SetTreatMissingData(const Aws::String &value)
bool ActionsEnabledHasBeenSet() const
AwsCloudWatchAlarmDetails & WithAlarmArn(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithThresholdMetricId(const Aws::String &value)
bool EvaluateLowSampleCountPercentileHasBeenSet() const
bool AlarmArnHasBeenSet() const
bool PeriodHasBeenSet() const
AwsCloudWatchAlarmDetails & WithThresholdMetricId(const char *value)
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)
void SetComparisonOperator(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithComparisonOperator(const char *value)
void SetDimensions(const Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > &value)
AwsCloudWatchAlarmDetails & WithDimensions(const Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > &value)
AwsCloudWatchAlarmDetails & AddOkActions(const char *value)
AwsCloudWatchAlarmDetails & WithStatistic(Aws::String &&value)
bool AlarmConfigurationUpdatedTimestampHasBeenSet() const
AwsCloudWatchAlarmDetails & WithAlarmName(const char *value)
AwsCloudWatchAlarmDetails & WithAlarmActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & AddAlarmActions(const char *value)
void SetUnit(const Aws::String &value)
int GetEvaluationPeriods() const
AwsCloudWatchAlarmDetails & WithMetricName(const char *value)
const Aws::String & GetAlarmName() const
AwsCloudWatchAlarmDetails & WithAlarmActions(Aws::Vector< Aws::String > &&value)
void SetAlarmDescription(const char *value)
void SetEvaluateLowSampleCountPercentile(const Aws::String &value)
AwsCloudWatchAlarmDetails & AddDimensions(const AwsCloudWatchAlarmDimensionsDetails &value)
AwsCloudWatchAlarmDetails & WithStatistic(const char *value)
AwsCloudWatchAlarmDetails & AddInsufficientDataActions(const Aws::String &value)
AwsCloudWatchAlarmDetails & AddAlarmActions(Aws::String &&value)
void SetAlarmActions(Aws::Vector< Aws::String > &&value)
void SetAlarmConfigurationUpdatedTimestamp(const char *value)
void SetInsufficientDataActions(const Aws::Vector< Aws::String > &value)
bool EvaluationPeriodsHasBeenSet() const
void SetAlarmDescription(const Aws::String &value)
void SetAlarmName(Aws::String &&value)
const Aws::String & GetAlarmArn() const
void SetThreshold(double value)
bool AlarmDescriptionHasBeenSet() const
void SetEvaluateLowSampleCountPercentile(Aws::String &&value)
void SetUnit(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithNamespace(const Aws::String &value)
void SetExtendedStatistic(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithInsufficientDataActions(const Aws::Vector< Aws::String > &value)
void SetStatistic(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithActionsEnabled(bool value)
AwsCloudWatchAlarmDetails & WithAlarmName(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithOkActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & WithExtendedStatistic(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThresholdMetricId(const Aws::String &value)
void SetEvaluationPeriods(int value)
bool ComparisonOperatorHasBeenSet() const
int GetDatapointsToAlarm() const
const Aws::String & GetUnit() const
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
AwsCloudWatchAlarmDetails & WithComparisonOperator(const Aws::String &value)
const Aws::String & GetComparisonOperator() const
AwsCloudWatchAlarmDetails & WithThreshold(double value)
AwsCloudWatchAlarmDetails & WithTreatMissingData(Aws::String &&value)
const Aws::String & GetMetricName() const
AwsCloudWatchAlarmDetails & WithMetricName(Aws::String &&value)
void SetAlarmConfigurationUpdatedTimestamp(Aws::String &&value)
const Aws::String & GetTreatMissingData() const
void SetNamespace(Aws::String &&value)
void SetTreatMissingData(Aws::String &&value)
AwsCloudWatchAlarmDetails & AddInsufficientDataActions(Aws::String &&value)
void SetThresholdMetricId(Aws::String &&value)
bool AlarmNameHasBeenSet() const
AwsCloudWatchAlarmDetails & AddOkActions(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithUnit(const char *value)
AwsCloudWatchAlarmDetails & WithAlarmArn(const Aws::String &value)
bool DimensionsHasBeenSet() const
void SetNamespace(const char *value)
void SetAlarmArn(Aws::String &&value)
void SetAlarmArn(const char *value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(Aws::String &&value)
void SetThresholdMetricId(const char *value)
double GetThreshold() const
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(Aws::String &&value)
void SetExtendedStatistic(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithExtendedStatistic(const Aws::String &value)
void SetDimensions(Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > &&value)
AwsCloudWatchAlarmDetails & WithTreatMissingData(const char *value)
void SetComparisonOperator(const char *value)
AwsCloudWatchAlarmDetails & WithMetricName(const Aws::String &value)
bool DatapointsToAlarmHasBeenSet() const
AwsCloudWatchAlarmDetails & WithTreatMissingData(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(Aws::String &&value)
void SetUnit(const char *value)
void SetTreatMissingData(const char *value)
void SetStatistic(const Aws::String &value)
const Aws::String & GetThresholdMetricId() const
void SetMetricName(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithDatapointsToAlarm(int value)
AwsCloudWatchAlarmDetails & WithAlarmName(Aws::String &&value)
void SetAlarmConfigurationUpdatedTimestamp(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithStatistic(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(const Aws::String &value)
const Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > & GetDimensions() const
void SetStatistic(const char *value)
AwsCloudWatchAlarmDetails & WithDimensions(Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > &&value)
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(const char *value)
void SetDatapointsToAlarm(int value)
void SetNamespace(const Aws::String &value)
void SetAlarmDescription(Aws::String &&value)
bool ThresholdMetricIdHasBeenSet() const
AwsCloudWatchAlarmDetails & WithNamespace(Aws::String &&value)
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