AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecommendationRelatedAnomalySourceDetail.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/model/RecommendationRelatedCloudWatchMetricsSourceDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DEVOPSGURU_API RecommendationRelatedAnomalySourceDetail() = default;
41 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline bool CloudWatchMetricsHasBeenSet() const { return m_cloudWatchMetricsHasBeenSet; }
51 template<typename CloudWatchMetricsT = Aws::Vector<RecommendationRelatedCloudWatchMetricsSourceDetail>>
52 void SetCloudWatchMetrics(CloudWatchMetricsT&& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics = std::forward<CloudWatchMetricsT>(value); }
53 template<typename CloudWatchMetricsT = Aws::Vector<RecommendationRelatedCloudWatchMetricsSourceDetail>>
54 RecommendationRelatedAnomalySourceDetail& WithCloudWatchMetrics(CloudWatchMetricsT&& value) { SetCloudWatchMetrics(std::forward<CloudWatchMetricsT>(value)); return *this;}
55 template<typename CloudWatchMetricsT = RecommendationRelatedCloudWatchMetricsSourceDetail>
56 RecommendationRelatedAnomalySourceDetail& AddCloudWatchMetrics(CloudWatchMetricsT&& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics.emplace_back(std::forward<CloudWatchMetricsT>(value)); return *this; }
58 private:
59
61 bool m_cloudWatchMetricsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace DevOpsGuru
66} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue