AWS SDK for C++

AWS SDK for C++ Version 1.11.878

Loading...
Searching...
No Matches
PutMetricAlarmRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/monitoring/CloudWatchRequest.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/ComparisonOperator.h>
12#include <aws/monitoring/model/Dimension.h>
13#include <aws/monitoring/model/EvaluationCriteria.h>
14#include <aws/monitoring/model/EvaluationWindow.h>
15#include <aws/monitoring/model/MetricDataQuery.h>
16#include <aws/monitoring/model/StandardUnit.h>
17#include <aws/monitoring/model/Statistic.h>
18#include <aws/monitoring/model/Tag.h>
19#include <aws/monitoring/model/WarmUpConfiguration.h>
20
21#include <utility>
22
23namespace Aws {
24namespace CloudWatch {
25namespace Model {
26
30 public:
31 AWS_CLOUDWATCH_API PutMetricAlarmRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "PutMetricAlarm"; }
38
39 AWS_CLOUDWATCH_API Aws::String SerializePayload() const override;
40
42
44
49 inline const Aws::String& GetAlarmName() const { return m_alarmName; }
50 inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; }
51 template <typename AlarmNameT = Aws::String>
52 void SetAlarmName(AlarmNameT&& value) {
53 m_alarmNameHasBeenSet = true;
54 m_alarmName = std::forward<AlarmNameT>(value);
55 }
56 template <typename AlarmNameT = Aws::String>
57 PutMetricAlarmRequest& WithAlarmName(AlarmNameT&& value) {
58 SetAlarmName(std::forward<AlarmNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetAlarmDescription() const { return m_alarmDescription; }
68 inline bool AlarmDescriptionHasBeenSet() const { return m_alarmDescriptionHasBeenSet; }
69 template <typename AlarmDescriptionT = Aws::String>
70 void SetAlarmDescription(AlarmDescriptionT&& value) {
71 m_alarmDescriptionHasBeenSet = true;
72 m_alarmDescription = std::forward<AlarmDescriptionT>(value);
73 }
74 template <typename AlarmDescriptionT = Aws::String>
75 PutMetricAlarmRequest& WithAlarmDescription(AlarmDescriptionT&& value) {
76 SetAlarmDescription(std::forward<AlarmDescriptionT>(value));
77 return *this;
78 }
80
82
86 inline bool GetActionsEnabled() const { return m_actionsEnabled; }
87 inline bool ActionsEnabledHasBeenSet() const { return m_actionsEnabledHasBeenSet; }
88 inline void SetActionsEnabled(bool value) {
89 m_actionsEnabledHasBeenSet = true;
90 m_actionsEnabled = value;
91 }
93 SetActionsEnabled(value);
94 return *this;
95 }
97
99
131 inline const Aws::Vector<Aws::String>& GetOKActions() const { return m_oKActions; }
132 inline bool OKActionsHasBeenSet() const { return m_oKActionsHasBeenSet; }
133 template <typename OKActionsT = Aws::Vector<Aws::String>>
134 void SetOKActions(OKActionsT&& value) {
135 m_oKActionsHasBeenSet = true;
136 m_oKActions = std::forward<OKActionsT>(value);
137 }
138 template <typename OKActionsT = Aws::Vector<Aws::String>>
140 SetOKActions(std::forward<OKActionsT>(value));
141 return *this;
142 }
143 template <typename OKActionsT = Aws::String>
144 PutMetricAlarmRequest& AddOKActions(OKActionsT&& value) {
145 m_oKActionsHasBeenSet = true;
146 m_oKActions.emplace_back(std::forward<OKActionsT>(value));
147 return *this;
148 }
150
152
187 inline const Aws::Vector<Aws::String>& GetAlarmActions() const { return m_alarmActions; }
188 inline bool AlarmActionsHasBeenSet() const { return m_alarmActionsHasBeenSet; }
189 template <typename AlarmActionsT = Aws::Vector<Aws::String>>
190 void SetAlarmActions(AlarmActionsT&& value) {
191 m_alarmActionsHasBeenSet = true;
192 m_alarmActions = std::forward<AlarmActionsT>(value);
193 }
194 template <typename AlarmActionsT = Aws::Vector<Aws::String>>
195 PutMetricAlarmRequest& WithAlarmActions(AlarmActionsT&& value) {
196 SetAlarmActions(std::forward<AlarmActionsT>(value));
197 return *this;
198 }
199 template <typename AlarmActionsT = Aws::String>
200 PutMetricAlarmRequest& AddAlarmActions(AlarmActionsT&& value) {
201 m_alarmActionsHasBeenSet = true;
202 m_alarmActions.emplace_back(std::forward<AlarmActionsT>(value));
203 return *this;
204 }
206
208
241 inline const Aws::Vector<Aws::String>& GetInsufficientDataActions() const { return m_insufficientDataActions; }
242 inline bool InsufficientDataActionsHasBeenSet() const { return m_insufficientDataActionsHasBeenSet; }
243 template <typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
244 void SetInsufficientDataActions(InsufficientDataActionsT&& value) {
245 m_insufficientDataActionsHasBeenSet = true;
246 m_insufficientDataActions = std::forward<InsufficientDataActionsT>(value);
247 }
248 template <typename InsufficientDataActionsT = Aws::Vector<Aws::String>>
249 PutMetricAlarmRequest& WithInsufficientDataActions(InsufficientDataActionsT&& value) {
250 SetInsufficientDataActions(std::forward<InsufficientDataActionsT>(value));
251 return *this;
252 }
253 template <typename InsufficientDataActionsT = Aws::String>
254 PutMetricAlarmRequest& AddInsufficientDataActions(InsufficientDataActionsT&& value) {
255 m_insufficientDataActionsHasBeenSet = true;
256 m_insufficientDataActions.emplace_back(std::forward<InsufficientDataActionsT>(value));
257 return *this;
258 }
260
262
273 inline const Aws::String& GetMetricName() const { return m_metricName; }
274 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
275 template <typename MetricNameT = Aws::String>
276 void SetMetricName(MetricNameT&& value) {
277 m_metricNameHasBeenSet = true;
278 m_metricName = std::forward<MetricNameT>(value);
279 }
280 template <typename MetricNameT = Aws::String>
281 PutMetricAlarmRequest& WithMetricName(MetricNameT&& value) {
282 SetMetricName(std::forward<MetricNameT>(value));
283 return *this;
284 }
286
288
292 inline const Aws::String& GetNamespace() const { return m_namespace; }
293 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
294 template <typename NamespaceT = Aws::String>
295 void SetNamespace(NamespaceT&& value) {
296 m_namespaceHasBeenSet = true;
297 m_namespace = std::forward<NamespaceT>(value);
298 }
299 template <typename NamespaceT = Aws::String>
301 SetNamespace(std::forward<NamespaceT>(value));
302 return *this;
303 }
305
307
314 inline Statistic GetStatistic() const { return m_statistic; }
315 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
316 inline void SetStatistic(Statistic value) {
317 m_statisticHasBeenSet = true;
318 m_statistic = value;
319 }
321 SetStatistic(value);
322 return *this;
323 }
325
327
346 inline const Aws::String& GetExtendedStatistic() const { return m_extendedStatistic; }
347 inline bool ExtendedStatisticHasBeenSet() const { return m_extendedStatisticHasBeenSet; }
348 template <typename ExtendedStatisticT = Aws::String>
349 void SetExtendedStatistic(ExtendedStatisticT&& value) {
350 m_extendedStatisticHasBeenSet = true;
351 m_extendedStatistic = std::forward<ExtendedStatisticT>(value);
352 }
353 template <typename ExtendedStatisticT = Aws::String>
354 PutMetricAlarmRequest& WithExtendedStatistic(ExtendedStatisticT&& value) {
355 SetExtendedStatistic(std::forward<ExtendedStatisticT>(value));
356 return *this;
357 }
359
361
364 inline const Aws::Vector<Dimension>& GetDimensions() const { return m_dimensions; }
365 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
366 template <typename DimensionsT = Aws::Vector<Dimension>>
367 void SetDimensions(DimensionsT&& value) {
368 m_dimensionsHasBeenSet = true;
369 m_dimensions = std::forward<DimensionsT>(value);
370 }
371 template <typename DimensionsT = Aws::Vector<Dimension>>
372 PutMetricAlarmRequest& WithDimensions(DimensionsT&& value) {
373 SetDimensions(std::forward<DimensionsT>(value));
374 return *this;
375 }
376 template <typename DimensionsT = Dimension>
377 PutMetricAlarmRequest& AddDimensions(DimensionsT&& value) {
378 m_dimensionsHasBeenSet = true;
379 m_dimensions.emplace_back(std::forward<DimensionsT>(value));
380 return *this;
381 }
383
385
407 inline int GetPeriod() const { return m_period; }
408 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
409 inline void SetPeriod(int value) {
410 m_periodHasBeenSet = true;
411 m_period = value;
412 }
414 SetPeriod(value);
415 return *this;
416 }
418
420
438 inline StandardUnit GetUnit() const { return m_unit; }
439 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
440 inline void SetUnit(StandardUnit value) {
441 m_unitHasBeenSet = true;
442 m_unit = value;
443 }
445 SetUnit(value);
446 return *this;
447 }
449
451
457 inline int GetEvaluationPeriods() const { return m_evaluationPeriods; }
458 inline bool EvaluationPeriodsHasBeenSet() const { return m_evaluationPeriodsHasBeenSet; }
459 inline void SetEvaluationPeriods(int value) {
460 m_evaluationPeriodsHasBeenSet = true;
461 m_evaluationPeriods = value;
462 }
465 return *this;
466 }
468
470
477 inline int GetDatapointsToAlarm() const { return m_datapointsToAlarm; }
478 inline bool DatapointsToAlarmHasBeenSet() const { return m_datapointsToAlarmHasBeenSet; }
479 inline void SetDatapointsToAlarm(int value) {
480 m_datapointsToAlarmHasBeenSet = true;
481 m_datapointsToAlarm = value;
482 }
485 return *this;
486 }
488
490
495 inline double GetThreshold() const { return m_threshold; }
496 inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
497 inline void SetThreshold(double value) {
498 m_thresholdHasBeenSet = true;
499 m_threshold = value;
500 }
501 inline PutMetricAlarmRequest& WithThreshold(double value) {
502 SetThreshold(value);
503 return *this;
504 }
506
508
515 inline ComparisonOperator GetComparisonOperator() const { return m_comparisonOperator; }
516 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
518 m_comparisonOperatorHasBeenSet = true;
519 m_comparisonOperator = value;
520 }
523 return *this;
524 }
526
528
542 inline const Aws::String& GetTreatMissingData() const { return m_treatMissingData; }
543 inline bool TreatMissingDataHasBeenSet() const { return m_treatMissingDataHasBeenSet; }
544 template <typename TreatMissingDataT = Aws::String>
545 void SetTreatMissingData(TreatMissingDataT&& value) {
546 m_treatMissingDataHasBeenSet = true;
547 m_treatMissingData = std::forward<TreatMissingDataT>(value);
548 }
549 template <typename TreatMissingDataT = Aws::String>
550 PutMetricAlarmRequest& WithTreatMissingData(TreatMissingDataT&& value) {
551 SetTreatMissingData(std::forward<TreatMissingDataT>(value));
552 return *this;
553 }
555
557
568 inline const Aws::String& GetEvaluateLowSampleCountPercentile() const { return m_evaluateLowSampleCountPercentile; }
569 inline bool EvaluateLowSampleCountPercentileHasBeenSet() const { return m_evaluateLowSampleCountPercentileHasBeenSet; }
570 template <typename EvaluateLowSampleCountPercentileT = Aws::String>
571 void SetEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT&& value) {
572 m_evaluateLowSampleCountPercentileHasBeenSet = true;
573 m_evaluateLowSampleCountPercentile = std::forward<EvaluateLowSampleCountPercentileT>(value);
574 }
575 template <typename EvaluateLowSampleCountPercentileT = Aws::String>
576 PutMetricAlarmRequest& WithEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT&& value) {
577 SetEvaluateLowSampleCountPercentile(std::forward<EvaluateLowSampleCountPercentileT>(value));
578 return *this;
579 }
581
583
601 inline const Aws::Vector<MetricDataQuery>& GetMetrics() const { return m_metrics; }
602 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
603 template <typename MetricsT = Aws::Vector<MetricDataQuery>>
604 void SetMetrics(MetricsT&& value) {
605 m_metricsHasBeenSet = true;
606 m_metrics = std::forward<MetricsT>(value);
607 }
608 template <typename MetricsT = Aws::Vector<MetricDataQuery>>
610 SetMetrics(std::forward<MetricsT>(value));
611 return *this;
612 }
613 template <typename MetricsT = MetricDataQuery>
615 m_metricsHasBeenSet = true;
616 m_metrics.emplace_back(std::forward<MetricsT>(value));
617 return *this;
618 }
620
622
638 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
639 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
640 template <typename TagsT = Aws::Vector<Tag>>
641 void SetTags(TagsT&& value) {
642 m_tagsHasBeenSet = true;
643 m_tags = std::forward<TagsT>(value);
644 }
645 template <typename TagsT = Aws::Vector<Tag>>
647 SetTags(std::forward<TagsT>(value));
648 return *this;
649 }
650 template <typename TagsT = Tag>
652 m_tagsHasBeenSet = true;
653 m_tags.emplace_back(std::forward<TagsT>(value));
654 return *this;
655 }
657
659
666 inline const Aws::String& GetThresholdMetricId() const { return m_thresholdMetricId; }
667 inline bool ThresholdMetricIdHasBeenSet() const { return m_thresholdMetricIdHasBeenSet; }
668 template <typename ThresholdMetricIdT = Aws::String>
669 void SetThresholdMetricId(ThresholdMetricIdT&& value) {
670 m_thresholdMetricIdHasBeenSet = true;
671 m_thresholdMetricId = std::forward<ThresholdMetricIdT>(value);
672 }
673 template <typename ThresholdMetricIdT = Aws::String>
674 PutMetricAlarmRequest& WithThresholdMetricId(ThresholdMetricIdT&& value) {
675 SetThresholdMetricId(std::forward<ThresholdMetricIdT>(value));
676 return *this;
677 }
679
681
693 inline const EvaluationWindow& GetEvaluationWindow() const { return m_evaluationWindow; }
694 inline bool EvaluationWindowHasBeenSet() const { return m_evaluationWindowHasBeenSet; }
695 template <typename EvaluationWindowT = EvaluationWindow>
696 void SetEvaluationWindow(EvaluationWindowT&& value) {
697 m_evaluationWindowHasBeenSet = true;
698 m_evaluationWindow = std::forward<EvaluationWindowT>(value);
699 }
700 template <typename EvaluationWindowT = EvaluationWindow>
701 PutMetricAlarmRequest& WithEvaluationWindow(EvaluationWindowT&& value) {
702 SetEvaluationWindow(std::forward<EvaluationWindowT>(value));
703 return *this;
704 }
706
708
716 inline const WarmUpConfiguration& GetWarmUpConfiguration() const { return m_warmUpConfiguration; }
717 inline bool WarmUpConfigurationHasBeenSet() const { return m_warmUpConfigurationHasBeenSet; }
718 template <typename WarmUpConfigurationT = WarmUpConfiguration>
719 void SetWarmUpConfiguration(WarmUpConfigurationT&& value) {
720 m_warmUpConfigurationHasBeenSet = true;
721 m_warmUpConfiguration = std::forward<WarmUpConfigurationT>(value);
722 }
723 template <typename WarmUpConfigurationT = WarmUpConfiguration>
724 PutMetricAlarmRequest& WithWarmUpConfiguration(WarmUpConfigurationT&& value) {
725 SetWarmUpConfiguration(std::forward<WarmUpConfigurationT>(value));
726 return *this;
727 }
729
731
745 inline const EvaluationCriteria& GetEvaluationCriteria() const { return m_evaluationCriteria; }
746 inline bool EvaluationCriteriaHasBeenSet() const { return m_evaluationCriteriaHasBeenSet; }
747 template <typename EvaluationCriteriaT = EvaluationCriteria>
748 void SetEvaluationCriteria(EvaluationCriteriaT&& value) {
749 m_evaluationCriteriaHasBeenSet = true;
750 m_evaluationCriteria = std::forward<EvaluationCriteriaT>(value);
751 }
752 template <typename EvaluationCriteriaT = EvaluationCriteria>
753 PutMetricAlarmRequest& WithEvaluationCriteria(EvaluationCriteriaT&& value) {
754 SetEvaluationCriteria(std::forward<EvaluationCriteriaT>(value));
755 return *this;
756 }
758
760
766 inline int GetEvaluationInterval() const { return m_evaluationInterval; }
767 inline bool EvaluationIntervalHasBeenSet() const { return m_evaluationIntervalHasBeenSet; }
768 inline void SetEvaluationInterval(int value) {
769 m_evaluationIntervalHasBeenSet = true;
770 m_evaluationInterval = value;
771 }
774 return *this;
775 }
777 private:
778 Aws::String m_alarmName;
779
780 Aws::String m_alarmDescription;
781
782 bool m_actionsEnabled{false};
783
784 Aws::Vector<Aws::String> m_oKActions;
785
786 Aws::Vector<Aws::String> m_alarmActions;
787
788 Aws::Vector<Aws::String> m_insufficientDataActions;
789
790 Aws::String m_metricName;
791
792 Aws::String m_namespace;
793
794 Statistic m_statistic{Statistic::NOT_SET};
795
796 Aws::String m_extendedStatistic;
797
798 Aws::Vector<Dimension> m_dimensions;
799
800 int m_period{0};
801
803
804 int m_evaluationPeriods{0};
805
806 int m_datapointsToAlarm{0};
807
808 double m_threshold{0.0};
809
811
812 Aws::String m_treatMissingData;
813
814 Aws::String m_evaluateLowSampleCountPercentile;
815
817
818 Aws::Vector<Tag> m_tags;
819
820 Aws::String m_thresholdMetricId;
821
822 EvaluationWindow m_evaluationWindow;
823
824 WarmUpConfiguration m_warmUpConfiguration;
825
826 EvaluationCriteria m_evaluationCriteria;
827
828 int m_evaluationInterval{0};
829 bool m_alarmNameHasBeenSet = false;
830 bool m_alarmDescriptionHasBeenSet = false;
831 bool m_actionsEnabledHasBeenSet = false;
832 bool m_oKActionsHasBeenSet = false;
833 bool m_alarmActionsHasBeenSet = false;
834 bool m_insufficientDataActionsHasBeenSet = false;
835 bool m_metricNameHasBeenSet = false;
836 bool m_namespaceHasBeenSet = false;
837 bool m_statisticHasBeenSet = false;
838 bool m_extendedStatisticHasBeenSet = false;
839 bool m_dimensionsHasBeenSet = false;
840 bool m_periodHasBeenSet = false;
841 bool m_unitHasBeenSet = false;
842 bool m_evaluationPeriodsHasBeenSet = false;
843 bool m_datapointsToAlarmHasBeenSet = false;
844 bool m_thresholdHasBeenSet = false;
845 bool m_comparisonOperatorHasBeenSet = false;
846 bool m_treatMissingDataHasBeenSet = false;
847 bool m_evaluateLowSampleCountPercentileHasBeenSet = false;
848 bool m_metricsHasBeenSet = false;
849 bool m_tagsHasBeenSet = false;
850 bool m_thresholdMetricIdHasBeenSet = false;
851 bool m_evaluationWindowHasBeenSet = false;
852 bool m_warmUpConfigurationHasBeenSet = false;
853 bool m_evaluationCriteriaHasBeenSet = false;
854 bool m_evaluationIntervalHasBeenSet = false;
855};
856
857} // namespace Model
858} // namespace CloudWatch
859} // namespace Aws
void SetExtendedStatistic(ExtendedStatisticT &&value)
PutMetricAlarmRequest & WithExtendedStatistic(ExtendedStatisticT &&value)
PutMetricAlarmRequest & AddDimensions(DimensionsT &&value)
void SetWarmUpConfiguration(WarmUpConfigurationT &&value)
PutMetricAlarmRequest & WithThreshold(double value)
void SetEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT &&value)
PutMetricAlarmRequest & WithEvaluationPeriods(int value)
PutMetricAlarmRequest & WithMetrics(MetricsT &&value)
PutMetricAlarmRequest & WithDatapointsToAlarm(int value)
PutMetricAlarmRequest & WithAlarmName(AlarmNameT &&value)
PutMetricAlarmRequest & WithEvaluationCriteria(EvaluationCriteriaT &&value)
AWS_CLOUDWATCH_API PutMetricAlarmRequest()=default
PutMetricAlarmRequest & WithOKActions(OKActionsT &&value)
void SetThresholdMetricId(ThresholdMetricIdT &&value)
PutMetricAlarmRequest & WithEvaluationWindow(EvaluationWindowT &&value)
const Aws::Vector< Dimension > & GetDimensions() const
PutMetricAlarmRequest & AddMetrics(MetricsT &&value)
const EvaluationCriteria & GetEvaluationCriteria() const
PutMetricAlarmRequest & WithStatistic(Statistic value)
PutMetricAlarmRequest & WithEvaluateLowSampleCountPercentile(EvaluateLowSampleCountPercentileT &&value)
const Aws::Vector< MetricDataQuery > & GetMetrics() const
const Aws::Vector< Aws::String > & GetAlarmActions() const
PutMetricAlarmRequest & WithActionsEnabled(bool value)
PutMetricAlarmRequest & WithDimensions(DimensionsT &&value)
const Aws::String & GetEvaluateLowSampleCountPercentile() const
PutMetricAlarmRequest & WithPeriod(int value)
const Aws::Vector< Aws::String > & GetOKActions() const
void SetInsufficientDataActions(InsufficientDataActionsT &&value)
PutMetricAlarmRequest & WithThresholdMetricId(ThresholdMetricIdT &&value)
void SetEvaluationWindow(EvaluationWindowT &&value)
PutMetricAlarmRequest & WithUnit(StandardUnit value)
AWS_CLOUDWATCH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const WarmUpConfiguration & GetWarmUpConfiguration() const
PutMetricAlarmRequest & WithInsufficientDataActions(InsufficientDataActionsT &&value)
void SetTreatMissingData(TreatMissingDataT &&value)
const Aws::Vector< Aws::String > & GetInsufficientDataActions() const
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
PutMetricAlarmRequest & AddTags(TagsT &&value)
void SetAlarmDescription(AlarmDescriptionT &&value)
PutMetricAlarmRequest & AddInsufficientDataActions(InsufficientDataActionsT &&value)
PutMetricAlarmRequest & WithAlarmDescription(AlarmDescriptionT &&value)
PutMetricAlarmRequest & WithAlarmActions(AlarmActionsT &&value)
PutMetricAlarmRequest & WithMetricName(MetricNameT &&value)
PutMetricAlarmRequest & WithComparisonOperator(ComparisonOperator value)
PutMetricAlarmRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetEvaluationCriteria(EvaluationCriteriaT &&value)
const EvaluationWindow & GetEvaluationWindow() const
PutMetricAlarmRequest & WithWarmUpConfiguration(WarmUpConfigurationT &&value)
PutMetricAlarmRequest & WithEvaluationInterval(int value)
PutMetricAlarmRequest & AddAlarmActions(AlarmActionsT &&value)
PutMetricAlarmRequest & WithNamespace(NamespaceT &&value)
PutMetricAlarmRequest & AddOKActions(OKActionsT &&value)
PutMetricAlarmRequest & WithTreatMissingData(TreatMissingDataT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector