AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
MetricDefinition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AvailableFilter.h>
9#include <aws/connect/model/CreatedByInfo.h>
10#include <aws/connect/model/MetricCalculation.h>
11#include <aws/connect/model/MetricCreationMethod.h>
12#include <aws/connect/model/MetricStatus.h>
13#include <aws/connect/model/MetricType.h>
14#include <aws/connect/model/MetricUnit.h>
15#include <aws/connect/model/TrendIndicator.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Connect {
31namespace Model {
32
40 public:
41 AWS_CONNECT_API MetricDefinition() = default;
42 AWS_CONNECT_API MetricDefinition(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
51 inline const Aws::String& GetArn() const { return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
59 MetricDefinition& WithArn(ArnT&& value) {
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 template <typename IdT = Aws::String>
72 void SetId(IdT&& value) {
73 m_idHasBeenSet = true;
74 m_id = std::forward<IdT>(value);
75 }
76 template <typename IdT = Aws::String>
77 MetricDefinition& WithId(IdT&& value) {
78 SetId(std::forward<IdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 template <typename NameT = Aws::String>
90 void SetName(NameT&& value) {
91 m_nameHasBeenSet = true;
92 m_name = std::forward<NameT>(value);
93 }
94 template <typename NameT = Aws::String>
95 MetricDefinition& WithName(NameT&& value) {
96 SetName(std::forward<NameT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template <typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) {
109 m_descriptionHasBeenSet = true;
110 m_description = std::forward<DescriptionT>(value);
111 }
112 template <typename DescriptionT = Aws::String>
113 MetricDefinition& WithDescription(DescriptionT&& value) {
114 SetDescription(std::forward<DescriptionT>(value));
115 return *this;
116 }
118
120
123 inline const MetricCalculation& GetMetricCalculation() const { return m_metricCalculation; }
124 inline bool MetricCalculationHasBeenSet() const { return m_metricCalculationHasBeenSet; }
125 template <typename MetricCalculationT = MetricCalculation>
126 void SetMetricCalculation(MetricCalculationT&& value) {
127 m_metricCalculationHasBeenSet = true;
128 m_metricCalculation = std::forward<MetricCalculationT>(value);
129 }
130 template <typename MetricCalculationT = MetricCalculation>
131 MetricDefinition& WithMetricCalculation(MetricCalculationT&& value) {
132 SetMetricCalculation(std::forward<MetricCalculationT>(value));
133 return *this;
134 }
136
138
144 inline MetricCreationMethod GetCreationMethod() const { return m_creationMethod; }
145 inline bool CreationMethodHasBeenSet() const { return m_creationMethodHasBeenSet; }
147 m_creationMethodHasBeenSet = true;
148 m_creationMethod = value;
149 }
151 SetCreationMethod(value);
152 return *this;
153 }
155
157
161 inline MetricStatus GetStatus() const { return m_status; }
162 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
163 inline void SetStatus(MetricStatus value) {
164 m_statusHasBeenSet = true;
165 m_status = value;
166 }
168 SetStatus(value);
169 return *this;
170 }
172
174
178 inline MetricType GetType() const { return m_type; }
179 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
180 inline void SetType(MetricType value) {
181 m_typeHasBeenSet = true;
182 m_type = value;
183 }
185 SetType(value);
186 return *this;
187 }
189
191
194 inline MetricUnit GetUnit() const { return m_unit; }
195 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
196 inline void SetUnit(MetricUnit value) {
197 m_unitHasBeenSet = true;
198 m_unit = value;
199 }
201 SetUnit(value);
202 return *this;
203 }
205
207
211 inline TrendIndicator GetPositiveTrendIndicator() const { return m_positiveTrendIndicator; }
212 inline bool PositiveTrendIndicatorHasBeenSet() const { return m_positiveTrendIndicatorHasBeenSet; }
214 m_positiveTrendIndicatorHasBeenSet = true;
215 m_positiveTrendIndicator = value;
216 }
219 return *this;
220 }
222
224
227 inline const Aws::Vector<Aws::String>& GetGroupings() const { return m_groupings; }
228 inline bool GroupingsHasBeenSet() const { return m_groupingsHasBeenSet; }
229 template <typename GroupingsT = Aws::Vector<Aws::String>>
230 void SetGroupings(GroupingsT&& value) {
231 m_groupingsHasBeenSet = true;
232 m_groupings = std::forward<GroupingsT>(value);
233 }
234 template <typename GroupingsT = Aws::Vector<Aws::String>>
235 MetricDefinition& WithGroupings(GroupingsT&& value) {
236 SetGroupings(std::forward<GroupingsT>(value));
237 return *this;
238 }
239 template <typename GroupingsT = Aws::String>
240 MetricDefinition& AddGroupings(GroupingsT&& value) {
241 m_groupingsHasBeenSet = true;
242 m_groupings.emplace_back(std::forward<GroupingsT>(value));
243 return *this;
244 }
246
248
251 inline const Aws::Vector<AvailableFilter>& GetFilters() const { return m_filters; }
252 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
253 template <typename FiltersT = Aws::Vector<AvailableFilter>>
254 void SetFilters(FiltersT&& value) {
255 m_filtersHasBeenSet = true;
256 m_filters = std::forward<FiltersT>(value);
257 }
258 template <typename FiltersT = Aws::Vector<AvailableFilter>>
259 MetricDefinition& WithFilters(FiltersT&& value) {
260 SetFilters(std::forward<FiltersT>(value));
261 return *this;
262 }
263 template <typename FiltersT = AvailableFilter>
264 MetricDefinition& AddFilters(FiltersT&& value) {
265 m_filtersHasBeenSet = true;
266 m_filters.emplace_back(std::forward<FiltersT>(value));
267 return *this;
268 }
270
272
275 inline const Aws::Utils::DateTime& GetEffectiveTime() const { return m_effectiveTime; }
276 inline bool EffectiveTimeHasBeenSet() const { return m_effectiveTimeHasBeenSet; }
277 template <typename EffectiveTimeT = Aws::Utils::DateTime>
278 void SetEffectiveTime(EffectiveTimeT&& value) {
279 m_effectiveTimeHasBeenSet = true;
280 m_effectiveTime = std::forward<EffectiveTimeT>(value);
281 }
282 template <typename EffectiveTimeT = Aws::Utils::DateTime>
283 MetricDefinition& WithEffectiveTime(EffectiveTimeT&& value) {
284 SetEffectiveTime(std::forward<EffectiveTimeT>(value));
285 return *this;
286 }
288
290
293 inline long long GetRefreshRate() const { return m_refreshRate; }
294 inline bool RefreshRateHasBeenSet() const { return m_refreshRateHasBeenSet; }
295 inline void SetRefreshRate(long long value) {
296 m_refreshRateHasBeenSet = true;
297 m_refreshRate = value;
298 }
299 inline MetricDefinition& WithRefreshRate(long long value) {
300 SetRefreshRate(value);
301 return *this;
302 }
304
306
309 inline const Aws::String& GetCategory() const { return m_category; }
310 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
311 template <typename CategoryT = Aws::String>
312 void SetCategory(CategoryT&& value) {
313 m_categoryHasBeenSet = true;
314 m_category = std::forward<CategoryT>(value);
315 }
316 template <typename CategoryT = Aws::String>
317 MetricDefinition& WithCategory(CategoryT&& value) {
318 SetCategory(std::forward<CategoryT>(value));
319 return *this;
320 }
322
324
327 inline const Aws::Vector<Aws::String>& GetSupportedStats() const { return m_supportedStats; }
328 inline bool SupportedStatsHasBeenSet() const { return m_supportedStatsHasBeenSet; }
329 template <typename SupportedStatsT = Aws::Vector<Aws::String>>
330 void SetSupportedStats(SupportedStatsT&& value) {
331 m_supportedStatsHasBeenSet = true;
332 m_supportedStats = std::forward<SupportedStatsT>(value);
333 }
334 template <typename SupportedStatsT = Aws::Vector<Aws::String>>
335 MetricDefinition& WithSupportedStats(SupportedStatsT&& value) {
336 SetSupportedStats(std::forward<SupportedStatsT>(value));
337 return *this;
338 }
339 template <typename SupportedStatsT = Aws::String>
340 MetricDefinition& AddSupportedStats(SupportedStatsT&& value) {
341 m_supportedStatsHasBeenSet = true;
342 m_supportedStats.emplace_back(std::forward<SupportedStatsT>(value));
343 return *this;
344 }
346
348
351 inline const Aws::String& GetDefaultStat() const { return m_defaultStat; }
352 inline bool DefaultStatHasBeenSet() const { return m_defaultStatHasBeenSet; }
353 template <typename DefaultStatT = Aws::String>
354 void SetDefaultStat(DefaultStatT&& value) {
355 m_defaultStatHasBeenSet = true;
356 m_defaultStat = std::forward<DefaultStatT>(value);
357 }
358 template <typename DefaultStatT = Aws::String>
359 MetricDefinition& WithDefaultStat(DefaultStatT&& value) {
360 SetDefaultStat(std::forward<DefaultStatT>(value));
361 return *this;
362 }
364
366
370 inline bool GetSupportsPreaggregateCalculation() const { return m_supportsPreaggregateCalculation; }
371 inline bool SupportsPreaggregateCalculationHasBeenSet() const { return m_supportsPreaggregateCalculationHasBeenSet; }
372 inline void SetSupportsPreaggregateCalculation(bool value) {
373 m_supportsPreaggregateCalculationHasBeenSet = true;
374 m_supportsPreaggregateCalculation = value;
375 }
378 return *this;
379 }
381
383
387 inline bool GetSupportsCustomCalculation() const { return m_supportsCustomCalculation; }
388 inline bool SupportsCustomCalculationHasBeenSet() const { return m_supportsCustomCalculationHasBeenSet; }
389 inline void SetSupportsCustomCalculation(bool value) {
390 m_supportsCustomCalculationHasBeenSet = true;
391 m_supportsCustomCalculation = value;
392 }
395 return *this;
396 }
398
400
403 inline const Aws::String& GetPrimaryEventSource() const { return m_primaryEventSource; }
404 inline bool PrimaryEventSourceHasBeenSet() const { return m_primaryEventSourceHasBeenSet; }
405 template <typename PrimaryEventSourceT = Aws::String>
406 void SetPrimaryEventSource(PrimaryEventSourceT&& value) {
407 m_primaryEventSourceHasBeenSet = true;
408 m_primaryEventSource = std::forward<PrimaryEventSourceT>(value);
409 }
410 template <typename PrimaryEventSourceT = Aws::String>
411 MetricDefinition& WithPrimaryEventSource(PrimaryEventSourceT&& value) {
412 SetPrimaryEventSource(std::forward<PrimaryEventSourceT>(value));
413 return *this;
414 }
416
418
422 inline const Aws::String& GetPrimaryEventSourceEffectiveTimestampType() const { return m_primaryEventSourceEffectiveTimestampType; }
423 inline bool PrimaryEventSourceEffectiveTimestampTypeHasBeenSet() const { return m_primaryEventSourceEffectiveTimestampTypeHasBeenSet; }
424 template <typename PrimaryEventSourceEffectiveTimestampTypeT = Aws::String>
425 void SetPrimaryEventSourceEffectiveTimestampType(PrimaryEventSourceEffectiveTimestampTypeT&& value) {
426 m_primaryEventSourceEffectiveTimestampTypeHasBeenSet = true;
427 m_primaryEventSourceEffectiveTimestampType = std::forward<PrimaryEventSourceEffectiveTimestampTypeT>(value);
428 }
429 template <typename PrimaryEventSourceEffectiveTimestampTypeT = Aws::String>
430 MetricDefinition& WithPrimaryEventSourceEffectiveTimestampType(PrimaryEventSourceEffectiveTimestampTypeT&& value) {
431 SetPrimaryEventSourceEffectiveTimestampType(std::forward<PrimaryEventSourceEffectiveTimestampTypeT>(value));
432 return *this;
433 }
435
437
440 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
441 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
442 template <typename CreatedTimeT = Aws::Utils::DateTime>
443 void SetCreatedTime(CreatedTimeT&& value) {
444 m_createdTimeHasBeenSet = true;
445 m_createdTime = std::forward<CreatedTimeT>(value);
446 }
447 template <typename CreatedTimeT = Aws::Utils::DateTime>
448 MetricDefinition& WithCreatedTime(CreatedTimeT&& value) {
449 SetCreatedTime(std::forward<CreatedTimeT>(value));
450 return *this;
451 }
453
455
459 inline const CreatedByInfo& GetCreatedUser() const { return m_createdUser; }
460 inline bool CreatedUserHasBeenSet() const { return m_createdUserHasBeenSet; }
461 template <typename CreatedUserT = CreatedByInfo>
462 void SetCreatedUser(CreatedUserT&& value) {
463 m_createdUserHasBeenSet = true;
464 m_createdUser = std::forward<CreatedUserT>(value);
465 }
466 template <typename CreatedUserT = CreatedByInfo>
467 MetricDefinition& WithCreatedUser(CreatedUserT&& value) {
468 SetCreatedUser(std::forward<CreatedUserT>(value));
469 return *this;
470 }
472
474
477 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
478 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
479 template <typename LastModifiedRegionT = Aws::String>
480 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
481 m_lastModifiedRegionHasBeenSet = true;
482 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
483 }
484 template <typename LastModifiedRegionT = Aws::String>
485 MetricDefinition& WithLastModifiedRegion(LastModifiedRegionT&& value) {
486 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
487 return *this;
488 }
490
492
495 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
496 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
497 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
498 void SetLastModifiedTime(LastModifiedTimeT&& value) {
499 m_lastModifiedTimeHasBeenSet = true;
500 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
501 }
502 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
503 MetricDefinition& WithLastModifiedTime(LastModifiedTimeT&& value) {
504 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
505 return *this;
506 }
508
510
514 inline const CreatedByInfo& GetLastModifiedUser() const { return m_lastModifiedUser; }
515 inline bool LastModifiedUserHasBeenSet() const { return m_lastModifiedUserHasBeenSet; }
516 template <typename LastModifiedUserT = CreatedByInfo>
517 void SetLastModifiedUser(LastModifiedUserT&& value) {
518 m_lastModifiedUserHasBeenSet = true;
519 m_lastModifiedUser = std::forward<LastModifiedUserT>(value);
520 }
521 template <typename LastModifiedUserT = CreatedByInfo>
522 MetricDefinition& WithLastModifiedUser(LastModifiedUserT&& value) {
523 SetLastModifiedUser(std::forward<LastModifiedUserT>(value));
524 return *this;
525 }
527
529
533 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
534 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
535 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
536 void SetTags(TagsT&& value) {
537 m_tagsHasBeenSet = true;
538 m_tags = std::forward<TagsT>(value);
539 }
540 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
541 MetricDefinition& WithTags(TagsT&& value) {
542 SetTags(std::forward<TagsT>(value));
543 return *this;
544 }
545 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
546 MetricDefinition& AddTags(TagsKeyT&& key, TagsValueT&& value) {
547 m_tagsHasBeenSet = true;
548 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
549 return *this;
550 }
552 private:
553 Aws::String m_arn;
554
555 Aws::String m_id;
556
557 Aws::String m_name;
558
559 Aws::String m_description;
560
561 MetricCalculation m_metricCalculation;
562
564
566
568
570
571 TrendIndicator m_positiveTrendIndicator{TrendIndicator::NOT_SET};
572
573 Aws::Vector<Aws::String> m_groupings;
574
576
577 Aws::Utils::DateTime m_effectiveTime{};
578
579 long long m_refreshRate{0};
580
581 Aws::String m_category;
582
583 Aws::Vector<Aws::String> m_supportedStats;
584
585 Aws::String m_defaultStat;
586
587 bool m_supportsPreaggregateCalculation{false};
588
589 bool m_supportsCustomCalculation{false};
590
591 Aws::String m_primaryEventSource;
592
593 Aws::String m_primaryEventSourceEffectiveTimestampType;
594
595 Aws::Utils::DateTime m_createdTime{};
596
597 CreatedByInfo m_createdUser;
598
599 Aws::String m_lastModifiedRegion;
600
601 Aws::Utils::DateTime m_lastModifiedTime{};
602
603 CreatedByInfo m_lastModifiedUser;
604
606 bool m_arnHasBeenSet = false;
607 bool m_idHasBeenSet = false;
608 bool m_nameHasBeenSet = false;
609 bool m_descriptionHasBeenSet = false;
610 bool m_metricCalculationHasBeenSet = false;
611 bool m_creationMethodHasBeenSet = false;
612 bool m_statusHasBeenSet = false;
613 bool m_typeHasBeenSet = false;
614 bool m_unitHasBeenSet = false;
615 bool m_positiveTrendIndicatorHasBeenSet = false;
616 bool m_groupingsHasBeenSet = false;
617 bool m_filtersHasBeenSet = false;
618 bool m_effectiveTimeHasBeenSet = false;
619 bool m_refreshRateHasBeenSet = false;
620 bool m_categoryHasBeenSet = false;
621 bool m_supportedStatsHasBeenSet = false;
622 bool m_defaultStatHasBeenSet = false;
623 bool m_supportsPreaggregateCalculationHasBeenSet = false;
624 bool m_supportsCustomCalculationHasBeenSet = false;
625 bool m_primaryEventSourceHasBeenSet = false;
626 bool m_primaryEventSourceEffectiveTimestampTypeHasBeenSet = false;
627 bool m_createdTimeHasBeenSet = false;
628 bool m_createdUserHasBeenSet = false;
629 bool m_lastModifiedRegionHasBeenSet = false;
630 bool m_lastModifiedTimeHasBeenSet = false;
631 bool m_lastModifiedUserHasBeenSet = false;
632 bool m_tagsHasBeenSet = false;
633};
634
635} // namespace Model
636} // namespace Connect
637} // namespace Aws
const MetricCalculation & GetMetricCalculation() const
TrendIndicator GetPositiveTrendIndicator() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
MetricDefinition & WithPrimaryEventSource(PrimaryEventSourceT &&value)
MetricDefinition & AddSupportedStats(SupportedStatsT &&value)
MetricDefinition & AddGroupings(GroupingsT &&value)
MetricDefinition & WithUnit(MetricUnit value)
MetricDefinition & WithMetricCalculation(MetricCalculationT &&value)
MetricDefinition & WithSupportsPreaggregateCalculation(bool value)
const Aws::String & GetName() const
const Aws::String & GetPrimaryEventSource() const
MetricDefinition & WithDescription(DescriptionT &&value)
MetricDefinition & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
MetricDefinition & WithRefreshRate(long long value)
void SetPrimaryEventSourceEffectiveTimestampType(PrimaryEventSourceEffectiveTimestampTypeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
MetricDefinition & WithCreatedTime(CreatedTimeT &&value)
MetricDefinition & WithLastModifiedUser(LastModifiedUserT &&value)
MetricDefinition & WithId(IdT &&value)
MetricDefinition & WithCreatedUser(CreatedUserT &&value)
void SetCreatedUser(CreatedUserT &&value)
const Aws::String & GetDescription() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MetricDefinition & WithStatus(MetricStatus value)
MetricDefinition & WithEffectiveTime(EffectiveTimeT &&value)
void SetPrimaryEventSource(PrimaryEventSourceT &&value)
MetricDefinition & WithTags(TagsT &&value)
void SetPositiveTrendIndicator(TrendIndicator value)
MetricDefinition & AddFilters(FiltersT &&value)
const CreatedByInfo & GetLastModifiedUser() const
MetricDefinition & WithCreationMethod(MetricCreationMethod value)
MetricDefinition & WithLastModifiedRegion(LastModifiedRegionT &&value)
MetricDefinition & WithFilters(FiltersT &&value)
AWS_CONNECT_API MetricDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricDefinition & WithDefaultStat(DefaultStatT &&value)
MetricDefinition & WithPrimaryEventSourceEffectiveTimestampType(PrimaryEventSourceEffectiveTimestampTypeT &&value)
void SetEffectiveTime(EffectiveTimeT &&value)
void SetMetricCalculation(MetricCalculationT &&value)
void SetCreationMethod(MetricCreationMethod value)
AWS_CONNECT_API MetricDefinition(Aws::Utils::Json::JsonView jsonValue)
MetricDefinition & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetLastModifiedRegion() const
const Aws::Vector< AvailableFilter > & GetFilters() const
void SetCreatedTime(CreatedTimeT &&value)
MetricDefinition & WithGroupings(GroupingsT &&value)
void SetDescription(DescriptionT &&value)
bool PrimaryEventSourceEffectiveTimestampTypeHasBeenSet() const
MetricDefinition & AddTags(TagsKeyT &&key, TagsValueT &&value)
MetricDefinition & WithSupportedStats(SupportedStatsT &&value)
const Aws::String & GetArn() const
void SetDefaultStat(DefaultStatT &&value)
const Aws::Vector< Aws::String > & GetGroupings() const
MetricDefinition & WithType(MetricType value)
const Aws::Vector< Aws::String > & GetSupportedStats() const
MetricDefinition & WithName(NameT &&value)
void SetSupportedStats(SupportedStatsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API MetricDefinition()=default
const Aws::String & GetDefaultStat() const
const Aws::Utils::DateTime & GetEffectiveTime() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
const CreatedByInfo & GetCreatedUser() const
MetricDefinition & WithCategory(CategoryT &&value)
void SetLastModifiedUser(LastModifiedUserT &&value)
const Aws::String & GetCategory() const
const Aws::String & GetId() const
MetricDefinition & WithPositiveTrendIndicator(TrendIndicator value)
const Aws::String & GetPrimaryEventSourceEffectiveTimestampType() const
MetricCreationMethod GetCreationMethod() const
MetricDefinition & WithSupportsCustomCalculation(bool value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue