7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/model/CloudWatchAlarmTemplateComparisonOperator.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/medialive/model/CloudWatchAlarmTemplateStatistic.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/medialive/model/CloudWatchAlarmTemplateTargetResourceType.h>
14#include <aws/medialive/model/CloudWatchAlarmTemplateTreatMissingData.h>
16#include <aws/core/utils/UUID.h>
60 inline void SetDatapointsToAlarm(
int value) { m_datapointsToAlarmHasBeenSet =
true; m_datapointsToAlarm = value; }
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
82 inline void SetEvaluationPeriods(
int value) { m_evaluationPeriodsHasBeenSet =
true; m_evaluationPeriods = value; }
93 template<
typename GroupIdentifierT = Aws::String>
94 void SetGroupIdentifier(GroupIdentifierT&& value) { m_groupIdentifierHasBeenSet =
true; m_groupIdentifier = std::forward<GroupIdentifierT>(value); }
95 template<
typename GroupIdentifierT = Aws::String>
106 template<
typename MetricNameT = Aws::String>
107 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
108 template<
typename MetricNameT = Aws::String>
119 template<
typename NameT = Aws::String>
120 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
121 template<
typename NameT = Aws::String>
131 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
149 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
153 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
171 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
190 template<
typename RequestIdT = Aws::String>
191 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
192 template<
typename RequestIdT = Aws::String>
198 bool m_comparisonOperatorHasBeenSet =
false;
200 int m_datapointsToAlarm{0};
201 bool m_datapointsToAlarmHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
206 int m_evaluationPeriods{0};
207 bool m_evaluationPeriodsHasBeenSet =
false;
210 bool m_groupIdentifierHasBeenSet =
false;
213 bool m_metricNameHasBeenSet =
false;
216 bool m_nameHasBeenSet =
false;
219 bool m_periodHasBeenSet =
false;
222 bool m_statisticHasBeenSet =
false;
225 bool m_tagsHasBeenSet =
false;
228 bool m_targetResourceTypeHasBeenSet =
false;
230 double m_threshold{0.0};
231 bool m_thresholdHasBeenSet =
false;
234 bool m_treatMissingDataHasBeenSet =
false;
237 bool m_requestIdHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String