AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsCloudWatchAlarmDetails.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline bool GetActionsEnabled() const{ return m_actionsEnabled; }
49 inline bool ActionsEnabledHasBeenSet() const { return m_actionsEnabledHasBeenSet; }
50 inline void SetActionsEnabled(bool value) { m_actionsEnabledHasBeenSet = true; m_actionsEnabled = value; }
51 inline AwsCloudWatchAlarmDetails& WithActionsEnabled(bool value) { SetActionsEnabled(value); return *this;}
53
55
60 inline const Aws::Vector<Aws::String>& GetAlarmActions() const{ return m_alarmActions; }
61 inline bool AlarmActionsHasBeenSet() const { return m_alarmActionsHasBeenSet; }
62 inline void SetAlarmActions(const Aws::Vector<Aws::String>& value) { m_alarmActionsHasBeenSet = true; m_alarmActions = value; }
63 inline void SetAlarmActions(Aws::Vector<Aws::String>&& value) { m_alarmActionsHasBeenSet = true; m_alarmActions = std::move(value); }
65 inline AwsCloudWatchAlarmDetails& WithAlarmActions(Aws::Vector<Aws::String>&& value) { SetAlarmActions(std::move(value)); return *this;}
66 inline AwsCloudWatchAlarmDetails& AddAlarmActions(const Aws::String& value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(value); return *this; }
67 inline AwsCloudWatchAlarmDetails& AddAlarmActions(Aws::String&& value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(std::move(value)); return *this; }
68 inline AwsCloudWatchAlarmDetails& AddAlarmActions(const char* value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetAlarmArn() const{ return m_alarmArn; }
76 inline bool AlarmArnHasBeenSet() const { return m_alarmArnHasBeenSet; }
77 inline void SetAlarmArn(const Aws::String& value) { m_alarmArnHasBeenSet = true; m_alarmArn = value; }
78 inline void SetAlarmArn(Aws::String&& value) { m_alarmArnHasBeenSet = true; m_alarmArn = std::move(value); }
79 inline void SetAlarmArn(const char* value) { m_alarmArnHasBeenSet = true; m_alarmArn.assign(value); }
80 inline AwsCloudWatchAlarmDetails& WithAlarmArn(const Aws::String& value) { SetAlarmArn(value); return *this;}
81 inline AwsCloudWatchAlarmDetails& WithAlarmArn(Aws::String&& value) { SetAlarmArn(std::move(value)); return *this;}
82 inline AwsCloudWatchAlarmDetails& WithAlarmArn(const char* value) { SetAlarmArn(value); return *this;}
84
86
89 inline const Aws::String& GetAlarmConfigurationUpdatedTimestamp() const{ return m_alarmConfigurationUpdatedTimestamp; }
90 inline bool AlarmConfigurationUpdatedTimestampHasBeenSet() const { return m_alarmConfigurationUpdatedTimestampHasBeenSet; }
91 inline void SetAlarmConfigurationUpdatedTimestamp(const Aws::String& value) { m_alarmConfigurationUpdatedTimestampHasBeenSet = true; m_alarmConfigurationUpdatedTimestamp = value; }
92 inline void SetAlarmConfigurationUpdatedTimestamp(Aws::String&& value) { m_alarmConfigurationUpdatedTimestampHasBeenSet = true; m_alarmConfigurationUpdatedTimestamp = std::move(value); }
93 inline void SetAlarmConfigurationUpdatedTimestamp(const char* value) { m_alarmConfigurationUpdatedTimestampHasBeenSet = true; m_alarmConfigurationUpdatedTimestamp.assign(value); }
98
100
103 inline const Aws::String& GetAlarmDescription() const{ return m_alarmDescription; }
104 inline bool AlarmDescriptionHasBeenSet() const { return m_alarmDescriptionHasBeenSet; }
105 inline void SetAlarmDescription(const Aws::String& value) { m_alarmDescriptionHasBeenSet = true; m_alarmDescription = value; }
106 inline void SetAlarmDescription(Aws::String&& value) { m_alarmDescriptionHasBeenSet = true; m_alarmDescription = std::move(value); }
107 inline void SetAlarmDescription(const char* value) { m_alarmDescriptionHasBeenSet = true; m_alarmDescription.assign(value); }
109 inline AwsCloudWatchAlarmDetails& WithAlarmDescription(Aws::String&& value) { SetAlarmDescription(std::move(value)); return *this;}
110 inline AwsCloudWatchAlarmDetails& WithAlarmDescription(const char* value) { SetAlarmDescription(value); return *this;}
112
114
118 inline const Aws::String& GetAlarmName() const{ return m_alarmName; }
119 inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; }
120 inline void SetAlarmName(const Aws::String& value) { m_alarmNameHasBeenSet = true; m_alarmName = value; }
121 inline void SetAlarmName(Aws::String&& value) { m_alarmNameHasBeenSet = true; m_alarmName = std::move(value); }
122 inline void SetAlarmName(const char* value) { m_alarmNameHasBeenSet = true; m_alarmName.assign(value); }
123 inline AwsCloudWatchAlarmDetails& WithAlarmName(const Aws::String& value) { SetAlarmName(value); return *this;}
124 inline AwsCloudWatchAlarmDetails& WithAlarmName(Aws::String&& value) { SetAlarmName(std::move(value)); return *this;}
125 inline AwsCloudWatchAlarmDetails& WithAlarmName(const char* value) { SetAlarmName(value); return *this;}
127
129
133 inline const Aws::String& GetComparisonOperator() const{ return m_comparisonOperator; }
134 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
135 inline void SetComparisonOperator(const Aws::String& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
136 inline void SetComparisonOperator(Aws::String&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
137 inline void SetComparisonOperator(const char* value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator.assign(value); }
139 inline AwsCloudWatchAlarmDetails& WithComparisonOperator(Aws::String&& value) { SetComparisonOperator(std::move(value)); return *this;}
140 inline AwsCloudWatchAlarmDetails& WithComparisonOperator(const char* value) { SetComparisonOperator(value); return *this;}
142
144
147 inline int GetDatapointsToAlarm() const{ return m_datapointsToAlarm; }
148 inline bool DatapointsToAlarmHasBeenSet() const { return m_datapointsToAlarmHasBeenSet; }
149 inline void SetDatapointsToAlarm(int value) { m_datapointsToAlarmHasBeenSet = true; m_datapointsToAlarm = value; }
150 inline AwsCloudWatchAlarmDetails& WithDatapointsToAlarm(int value) { SetDatapointsToAlarm(value); return *this;}
152
154
157 inline const Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>& GetDimensions() const{ return m_dimensions; }
158 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
159 inline void SetDimensions(const Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
160 inline void SetDimensions(Aws::Vector<AwsCloudWatchAlarmDimensionsDetails>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
163 inline AwsCloudWatchAlarmDetails& AddDimensions(const AwsCloudWatchAlarmDimensionsDetails& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
164 inline AwsCloudWatchAlarmDetails& AddDimensions(AwsCloudWatchAlarmDimensionsDetails&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
166
168
175 inline const Aws::String& GetEvaluateLowSampleCountPercentile() const{ return m_evaluateLowSampleCountPercentile; }
176 inline bool EvaluateLowSampleCountPercentileHasBeenSet() const { return m_evaluateLowSampleCountPercentileHasBeenSet; }
177 inline void SetEvaluateLowSampleCountPercentile(const Aws::String& value) { m_evaluateLowSampleCountPercentileHasBeenSet = true; m_evaluateLowSampleCountPercentile = value; }
178 inline void SetEvaluateLowSampleCountPercentile(Aws::String&& value) { m_evaluateLowSampleCountPercentileHasBeenSet = true; m_evaluateLowSampleCountPercentile = std::move(value); }
179 inline void SetEvaluateLowSampleCountPercentile(const char* value) { m_evaluateLowSampleCountPercentileHasBeenSet = true; m_evaluateLowSampleCountPercentile.assign(value); }
184
186
190 inline int GetEvaluationPeriods() const{ return m_evaluationPeriods; }
191 inline bool EvaluationPeriodsHasBeenSet() const { return m_evaluationPeriodsHasBeenSet; }
192 inline void SetEvaluationPeriods(int value) { m_evaluationPeriodsHasBeenSet = true; m_evaluationPeriods = value; }
193 inline AwsCloudWatchAlarmDetails& WithEvaluationPeriods(int value) { SetEvaluationPeriods(value); return *this;}
195
197
200 inline const Aws::String& GetExtendedStatistic() const{ return m_extendedStatistic; }
201 inline bool ExtendedStatisticHasBeenSet() const { return m_extendedStatisticHasBeenSet; }
202 inline void SetExtendedStatistic(const Aws::String& value) { m_extendedStatisticHasBeenSet = true; m_extendedStatistic = value; }
203 inline void SetExtendedStatistic(Aws::String&& value) { m_extendedStatisticHasBeenSet = true; m_extendedStatistic = std::move(value); }
204 inline void SetExtendedStatistic(const char* value) { m_extendedStatisticHasBeenSet = true; m_extendedStatistic.assign(value); }
206 inline AwsCloudWatchAlarmDetails& WithExtendedStatistic(Aws::String&& value) { SetExtendedStatistic(std::move(value)); return *this;}
207 inline AwsCloudWatchAlarmDetails& WithExtendedStatistic(const char* value) { SetExtendedStatistic(value); return *this;}
209
211
216 inline const Aws::Vector<Aws::String>& GetInsufficientDataActions() const{ return m_insufficientDataActions; }
217 inline bool InsufficientDataActionsHasBeenSet() const { return m_insufficientDataActionsHasBeenSet; }
218 inline void SetInsufficientDataActions(const Aws::Vector<Aws::String>& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions = value; }
219 inline void SetInsufficientDataActions(Aws::Vector<Aws::String>&& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions = std::move(value); }
222 inline AwsCloudWatchAlarmDetails& AddInsufficientDataActions(const Aws::String& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(value); return *this; }
223 inline AwsCloudWatchAlarmDetails& AddInsufficientDataActions(Aws::String&& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(std::move(value)); return *this; }
224 inline AwsCloudWatchAlarmDetails& AddInsufficientDataActions(const char* value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(value); return *this; }
226
228
233 inline const Aws::String& GetMetricName() const{ return m_metricName; }
234 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
235 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
236 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
237 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
238 inline AwsCloudWatchAlarmDetails& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
239 inline AwsCloudWatchAlarmDetails& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
240 inline AwsCloudWatchAlarmDetails& WithMetricName(const char* value) { SetMetricName(value); return *this;}
242
244
249 inline const Aws::String& GetNamespace() const{ return m_namespace; }
250 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
251 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
252 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
253 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
254 inline AwsCloudWatchAlarmDetails& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
255 inline AwsCloudWatchAlarmDetails& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
256 inline AwsCloudWatchAlarmDetails& WithNamespace(const char* value) { SetNamespace(value); return *this;}
258
260
264 inline const Aws::Vector<Aws::String>& GetOkActions() const{ return m_okActions; }
265 inline bool OkActionsHasBeenSet() const { return m_okActionsHasBeenSet; }
266 inline void SetOkActions(const Aws::Vector<Aws::String>& value) { m_okActionsHasBeenSet = true; m_okActions = value; }
267 inline void SetOkActions(Aws::Vector<Aws::String>&& value) { m_okActionsHasBeenSet = true; m_okActions = std::move(value); }
269 inline AwsCloudWatchAlarmDetails& WithOkActions(Aws::Vector<Aws::String>&& value) { SetOkActions(std::move(value)); return *this;}
270 inline AwsCloudWatchAlarmDetails& AddOkActions(const Aws::String& value) { m_okActionsHasBeenSet = true; m_okActions.push_back(value); return *this; }
271 inline AwsCloudWatchAlarmDetails& AddOkActions(Aws::String&& value) { m_okActionsHasBeenSet = true; m_okActions.push_back(std::move(value)); return *this; }
272 inline AwsCloudWatchAlarmDetails& AddOkActions(const char* value) { m_okActionsHasBeenSet = true; m_okActions.push_back(value); return *this; }
274
276
280 inline int GetPeriod() const{ return m_period; }
281 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
282 inline void SetPeriod(int value) { m_periodHasBeenSet = true; m_period = value; }
283 inline AwsCloudWatchAlarmDetails& WithPeriod(int value) { SetPeriod(value); return *this;}
285
287
295 inline const Aws::String& GetStatistic() const{ return m_statistic; }
296 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
297 inline void SetStatistic(const Aws::String& value) { m_statisticHasBeenSet = true; m_statistic = value; }
298 inline void SetStatistic(Aws::String&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); }
299 inline void SetStatistic(const char* value) { m_statisticHasBeenSet = true; m_statistic.assign(value); }
300 inline AwsCloudWatchAlarmDetails& WithStatistic(const Aws::String& value) { SetStatistic(value); return *this;}
301 inline AwsCloudWatchAlarmDetails& WithStatistic(Aws::String&& value) { SetStatistic(std::move(value)); return *this;}
302 inline AwsCloudWatchAlarmDetails& WithStatistic(const char* value) { SetStatistic(value); return *this;}
304
306
309 inline double GetThreshold() const{ return m_threshold; }
310 inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
311 inline void SetThreshold(double value) { m_thresholdHasBeenSet = true; m_threshold = value; }
312 inline AwsCloudWatchAlarmDetails& WithThreshold(double value) { SetThreshold(value); return *this;}
314
316
321 inline const Aws::String& GetThresholdMetricId() const{ return m_thresholdMetricId; }
322 inline bool ThresholdMetricIdHasBeenSet() const { return m_thresholdMetricIdHasBeenSet; }
323 inline void SetThresholdMetricId(const Aws::String& value) { m_thresholdMetricIdHasBeenSet = true; m_thresholdMetricId = value; }
324 inline void SetThresholdMetricId(Aws::String&& value) { m_thresholdMetricIdHasBeenSet = true; m_thresholdMetricId = std::move(value); }
325 inline void SetThresholdMetricId(const char* value) { m_thresholdMetricIdHasBeenSet = true; m_thresholdMetricId.assign(value); }
327 inline AwsCloudWatchAlarmDetails& WithThresholdMetricId(Aws::String&& value) { SetThresholdMetricId(std::move(value)); return *this;}
328 inline AwsCloudWatchAlarmDetails& WithThresholdMetricId(const char* value) { SetThresholdMetricId(value); return *this;}
330
332
335 inline const Aws::String& GetTreatMissingData() const{ return m_treatMissingData; }
336 inline bool TreatMissingDataHasBeenSet() const { return m_treatMissingDataHasBeenSet; }
337 inline void SetTreatMissingData(const Aws::String& value) { m_treatMissingDataHasBeenSet = true; m_treatMissingData = value; }
338 inline void SetTreatMissingData(Aws::String&& value) { m_treatMissingDataHasBeenSet = true; m_treatMissingData = std::move(value); }
339 inline void SetTreatMissingData(const char* value) { m_treatMissingDataHasBeenSet = true; m_treatMissingData.assign(value); }
341 inline AwsCloudWatchAlarmDetails& WithTreatMissingData(Aws::String&& value) { SetTreatMissingData(std::move(value)); return *this;}
342 inline AwsCloudWatchAlarmDetails& WithTreatMissingData(const char* value) { SetTreatMissingData(value); return *this;}
344
346
349 inline const Aws::String& GetUnit() const{ return m_unit; }
350 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
351 inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; }
352 inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); }
353 inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); }
354 inline AwsCloudWatchAlarmDetails& WithUnit(const Aws::String& value) { SetUnit(value); return *this;}
355 inline AwsCloudWatchAlarmDetails& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;}
356 inline AwsCloudWatchAlarmDetails& WithUnit(const char* value) { SetUnit(value); return *this;}
358 private:
359
360 bool m_actionsEnabled;
361 bool m_actionsEnabledHasBeenSet = false;
362
363 Aws::Vector<Aws::String> m_alarmActions;
364 bool m_alarmActionsHasBeenSet = false;
365
366 Aws::String m_alarmArn;
367 bool m_alarmArnHasBeenSet = false;
368
369 Aws::String m_alarmConfigurationUpdatedTimestamp;
370 bool m_alarmConfigurationUpdatedTimestampHasBeenSet = false;
371
372 Aws::String m_alarmDescription;
373 bool m_alarmDescriptionHasBeenSet = false;
374
375 Aws::String m_alarmName;
376 bool m_alarmNameHasBeenSet = false;
377
378 Aws::String m_comparisonOperator;
379 bool m_comparisonOperatorHasBeenSet = false;
380
381 int m_datapointsToAlarm;
382 bool m_datapointsToAlarmHasBeenSet = false;
383
385 bool m_dimensionsHasBeenSet = false;
386
387 Aws::String m_evaluateLowSampleCountPercentile;
388 bool m_evaluateLowSampleCountPercentileHasBeenSet = false;
389
390 int m_evaluationPeriods;
391 bool m_evaluationPeriodsHasBeenSet = false;
392
393 Aws::String m_extendedStatistic;
394 bool m_extendedStatisticHasBeenSet = false;
395
396 Aws::Vector<Aws::String> m_insufficientDataActions;
397 bool m_insufficientDataActionsHasBeenSet = false;
398
399 Aws::String m_metricName;
400 bool m_metricNameHasBeenSet = false;
401
402 Aws::String m_namespace;
403 bool m_namespaceHasBeenSet = false;
404
405 Aws::Vector<Aws::String> m_okActions;
406 bool m_okActionsHasBeenSet = false;
407
408 int m_period;
409 bool m_periodHasBeenSet = false;
410
411 Aws::String m_statistic;
412 bool m_statisticHasBeenSet = false;
413
414 double m_threshold;
415 bool m_thresholdHasBeenSet = false;
416
417 Aws::String m_thresholdMetricId;
418 bool m_thresholdMetricIdHasBeenSet = false;
419
420 Aws::String m_treatMissingData;
421 bool m_treatMissingDataHasBeenSet = false;
422
423 Aws::String m_unit;
424 bool m_unitHasBeenSet = false;
425 };
426
427} // namespace Model
428} // namespace SecurityHub
429} // namespace Aws
AwsCloudWatchAlarmDetails & WithUnit(const Aws::String &value)
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudWatchAlarmDetails & WithEvaluationPeriods(int value)
AwsCloudWatchAlarmDetails & AddInsufficientDataActions(const char *value)
const Aws::Vector< Aws::String > & GetOkActions() const
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithInsufficientDataActions(Aws::Vector< Aws::String > &&value)
void SetOkActions(Aws::Vector< Aws::String > &&value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(const char *value)
void SetAlarmActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(const char *value)
AwsCloudWatchAlarmDetails & AddAlarmActions(const Aws::String &value)
void SetInsufficientDataActions(Aws::Vector< Aws::String > &&value)
AwsCloudWatchAlarmDetails & AddOkActions(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithOkActions(Aws::Vector< Aws::String > &&value)
AwsCloudWatchAlarmDetails & WithAlarmArn(const char *value)
AwsCloudWatchAlarmDetails & WithNamespace(const char *value)
AwsCloudWatchAlarmDetails & WithUnit(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithThresholdMetricId(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithExtendedStatistic(Aws::String &&value)
void SetOkActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & WithComparisonOperator(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAlarmActions() const
AwsCloudWatchAlarmDetails & AddDimensions(AwsCloudWatchAlarmDimensionsDetails &&value)
AwsCloudWatchAlarmDetails & WithAlarmArn(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithThresholdMetricId(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithThresholdMetricId(const char *value)
AWS_SECURITYHUB_API AwsCloudWatchAlarmDetails(Aws::Utils::Json::JsonView jsonValue)
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)
AwsCloudWatchAlarmDetails & WithAlarmName(const char *value)
AwsCloudWatchAlarmDetails & WithAlarmActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & AddAlarmActions(const char *value)
AwsCloudWatchAlarmDetails & WithMetricName(const char *value)
AwsCloudWatchAlarmDetails & WithAlarmActions(Aws::Vector< 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 SetInsufficientDataActions(const Aws::Vector< Aws::String > &value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithNamespace(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithInsufficientDataActions(const Aws::Vector< 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
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
AwsCloudWatchAlarmDetails & WithComparisonOperator(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithThreshold(double value)
AwsCloudWatchAlarmDetails & WithTreatMissingData(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithMetricName(Aws::String &&value)
AwsCloudWatchAlarmDetails & AddInsufficientDataActions(Aws::String &&value)
AwsCloudWatchAlarmDetails & AddOkActions(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithUnit(const char *value)
AwsCloudWatchAlarmDetails & WithAlarmArn(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithAlarmConfigurationUpdatedTimestamp(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithExtendedStatistic(const Aws::String &value)
void SetDimensions(Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > &&value)
AwsCloudWatchAlarmDetails & WithTreatMissingData(const char *value)
AwsCloudWatchAlarmDetails & WithMetricName(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithTreatMissingData(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithDatapointsToAlarm(int value)
AwsCloudWatchAlarmDetails & WithAlarmName(Aws::String &&value)
AwsCloudWatchAlarmDetails & WithStatistic(const Aws::String &value)
AwsCloudWatchAlarmDetails & WithAlarmDescription(const Aws::String &value)
const Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > & GetDimensions() const
AwsCloudWatchAlarmDetails & WithDimensions(Aws::Vector< AwsCloudWatchAlarmDimensionsDetails > &&value)
AwsCloudWatchAlarmDetails & WithEvaluateLowSampleCountPercentile(const char *value)
AwsCloudWatchAlarmDetails & WithNamespace(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue