AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalySourceDetails.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/CloudWatchMetricsDetail.h>
10#include <aws/devops-guru/model/PerformanceInsightsMetricsDetail.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DevOpsGuru
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DEVOPSGURU_API AnomalySourceDetails();
38 AWS_DEVOPSGURU_API AnomalySourceDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<CloudWatchMetricsDetail>& GetCloudWatchMetrics() const{ return m_cloudWatchMetrics; }
49 inline bool CloudWatchMetricsHasBeenSet() const { return m_cloudWatchMetricsHasBeenSet; }
50 inline void SetCloudWatchMetrics(const Aws::Vector<CloudWatchMetricsDetail>& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics = value; }
51 inline void SetCloudWatchMetrics(Aws::Vector<CloudWatchMetricsDetail>&& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics = std::move(value); }
54 inline AnomalySourceDetails& AddCloudWatchMetrics(const CloudWatchMetricsDetail& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics.push_back(value); return *this; }
55 inline AnomalySourceDetails& AddCloudWatchMetrics(CloudWatchMetricsDetail&& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics.push_back(std::move(value)); return *this; }
57
59
64 inline const Aws::Vector<PerformanceInsightsMetricsDetail>& GetPerformanceInsightsMetrics() const{ return m_performanceInsightsMetrics; }
65 inline bool PerformanceInsightsMetricsHasBeenSet() const { return m_performanceInsightsMetricsHasBeenSet; }
66 inline void SetPerformanceInsightsMetrics(const Aws::Vector<PerformanceInsightsMetricsDetail>& value) { m_performanceInsightsMetricsHasBeenSet = true; m_performanceInsightsMetrics = value; }
67 inline void SetPerformanceInsightsMetrics(Aws::Vector<PerformanceInsightsMetricsDetail>&& value) { m_performanceInsightsMetricsHasBeenSet = true; m_performanceInsightsMetrics = std::move(value); }
70 inline AnomalySourceDetails& AddPerformanceInsightsMetrics(const PerformanceInsightsMetricsDetail& value) { m_performanceInsightsMetricsHasBeenSet = true; m_performanceInsightsMetrics.push_back(value); return *this; }
71 inline AnomalySourceDetails& AddPerformanceInsightsMetrics(PerformanceInsightsMetricsDetail&& value) { m_performanceInsightsMetricsHasBeenSet = true; m_performanceInsightsMetrics.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::Vector<CloudWatchMetricsDetail> m_cloudWatchMetrics;
76 bool m_cloudWatchMetricsHasBeenSet = false;
77
78 Aws::Vector<PerformanceInsightsMetricsDetail> m_performanceInsightsMetrics;
79 bool m_performanceInsightsMetricsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace DevOpsGuru
84} // namespace Aws
void SetPerformanceInsightsMetrics(Aws::Vector< PerformanceInsightsMetricsDetail > &&value)
AnomalySourceDetails & AddCloudWatchMetrics(CloudWatchMetricsDetail &&value)
void SetPerformanceInsightsMetrics(const Aws::Vector< PerformanceInsightsMetricsDetail > &value)
void SetCloudWatchMetrics(const Aws::Vector< CloudWatchMetricsDetail > &value)
AWS_DEVOPSGURU_API AnomalySourceDetails(Aws::Utils::Json::JsonView jsonValue)
AnomalySourceDetails & WithPerformanceInsightsMetrics(const Aws::Vector< PerformanceInsightsMetricsDetail > &value)
AnomalySourceDetails & WithCloudWatchMetrics(Aws::Vector< CloudWatchMetricsDetail > &&value)
const Aws::Vector< PerformanceInsightsMetricsDetail > & GetPerformanceInsightsMetrics() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalySourceDetails & AddPerformanceInsightsMetrics(const PerformanceInsightsMetricsDetail &value)
const Aws::Vector< CloudWatchMetricsDetail > & GetCloudWatchMetrics() const
AnomalySourceDetails & WithCloudWatchMetrics(const Aws::Vector< CloudWatchMetricsDetail > &value)
void SetCloudWatchMetrics(Aws::Vector< CloudWatchMetricsDetail > &&value)
AnomalySourceDetails & WithPerformanceInsightsMetrics(Aws::Vector< PerformanceInsightsMetricsDetail > &&value)
AWS_DEVOPSGURU_API AnomalySourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalySourceDetails & AddPerformanceInsightsMetrics(PerformanceInsightsMetricsDetail &&value)
AnomalySourceDetails & AddCloudWatchMetrics(const CloudWatchMetricsDetail &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue