7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/CloudWatchAlarmTemplateComparisonOperator.h>
10#include <aws/core/utils/DateTime.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>
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
71 template<
typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
73 template<
typename CreatedAtT = Aws::Utils::DateTime>
84 inline void SetDatapointsToAlarm(
int value) { m_datapointsToAlarmHasBeenSet =
true; m_datapointsToAlarm = value; }
94 template<
typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
96 template<
typename DescriptionT = Aws::String>
106 inline void SetEvaluationPeriods(
int value) { m_evaluationPeriodsHasBeenSet =
true; m_evaluationPeriods = value; }
117 template<
typename GroupIdT = Aws::String>
118 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
119 template<
typename GroupIdT = Aws::String>
130 template<
typename IdT = Aws::String>
131 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
132 template<
typename IdT = Aws::String>
143 template<
typename MetricNameT = Aws::String>
144 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
145 template<
typename MetricNameT = Aws::String>
153 template<
typename ModifiedAtT = Aws::Utils::DateTime>
154 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
155 template<
typename ModifiedAtT = Aws::Utils::DateTime>
166 template<
typename NameT = Aws::String>
167 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
168 template<
typename NameT = Aws::String>
178 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
194 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
196 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
200 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
218 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
232 bool m_arnHasBeenSet =
false;
235 bool m_comparisonOperatorHasBeenSet =
false;
238 bool m_createdAtHasBeenSet =
false;
240 int m_datapointsToAlarm{0};
241 bool m_datapointsToAlarmHasBeenSet =
false;
244 bool m_descriptionHasBeenSet =
false;
246 int m_evaluationPeriods{0};
247 bool m_evaluationPeriodsHasBeenSet =
false;
250 bool m_groupIdHasBeenSet =
false;
253 bool m_idHasBeenSet =
false;
256 bool m_metricNameHasBeenSet =
false;
259 bool m_modifiedAtHasBeenSet =
false;
262 bool m_nameHasBeenSet =
false;
265 bool m_periodHasBeenSet =
false;
268 bool m_statisticHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
274 bool m_targetResourceTypeHasBeenSet =
false;
276 double m_threshold{0.0};
277 bool m_thresholdHasBeenSet =
false;
280 bool m_treatMissingDataHasBeenSet =
false;
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
Aws::Utils::Json::JsonValue JsonValue