AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchMetricsDataSummary.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/CloudWatchMetricDataStatusCode.h>
10#include <aws/devops-guru/model/TimestampMetricValuePair.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 CloudWatchMetricsDataSummary();
40 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<TimestampMetricValuePair>& GetTimestampMetricValuePairList() const{ return m_timestampMetricValuePairList; }
48 inline bool TimestampMetricValuePairListHasBeenSet() const { return m_timestampMetricValuePairListHasBeenSet; }
49 inline void SetTimestampMetricValuePairList(const Aws::Vector<TimestampMetricValuePair>& value) { m_timestampMetricValuePairListHasBeenSet = true; m_timestampMetricValuePairList = value; }
50 inline void SetTimestampMetricValuePairList(Aws::Vector<TimestampMetricValuePair>&& value) { m_timestampMetricValuePairListHasBeenSet = true; m_timestampMetricValuePairList = std::move(value); }
53 inline CloudWatchMetricsDataSummary& AddTimestampMetricValuePairList(const TimestampMetricValuePair& value) { m_timestampMetricValuePairListHasBeenSet = true; m_timestampMetricValuePairList.push_back(value); return *this; }
54 inline CloudWatchMetricsDataSummary& AddTimestampMetricValuePairList(TimestampMetricValuePair&& value) { m_timestampMetricValuePairListHasBeenSet = true; m_timestampMetricValuePairList.push_back(std::move(value)); return *this; }
56
58
62 inline const CloudWatchMetricDataStatusCode& GetStatusCode() const{ return m_statusCode; }
63 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
64 inline void SetStatusCode(const CloudWatchMetricDataStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
65 inline void SetStatusCode(CloudWatchMetricDataStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
69 private:
70
71 Aws::Vector<TimestampMetricValuePair> m_timestampMetricValuePairList;
72 bool m_timestampMetricValuePairListHasBeenSet = false;
73
75 bool m_statusCodeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DevOpsGuru
80} // namespace Aws
CloudWatchMetricsDataSummary & WithStatusCode(CloudWatchMetricDataStatusCode &&value)
void SetStatusCode(const CloudWatchMetricDataStatusCode &value)
const CloudWatchMetricDataStatusCode & GetStatusCode() const
AWS_DEVOPSGURU_API CloudWatchMetricsDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchMetricsDataSummary & WithTimestampMetricValuePairList(Aws::Vector< TimestampMetricValuePair > &&value)
CloudWatchMetricsDataSummary & WithTimestampMetricValuePairList(const Aws::Vector< TimestampMetricValuePair > &value)
void SetTimestampMetricValuePairList(Aws::Vector< TimestampMetricValuePair > &&value)
CloudWatchMetricsDataSummary & AddTimestampMetricValuePairList(TimestampMetricValuePair &&value)
void SetStatusCode(CloudWatchMetricDataStatusCode &&value)
void SetTimestampMetricValuePairList(const Aws::Vector< TimestampMetricValuePair > &value)
AWS_DEVOPSGURU_API CloudWatchMetricsDataSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TimestampMetricValuePair > & GetTimestampMetricValuePairList() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchMetricsDataSummary & AddTimestampMetricValuePairList(const TimestampMetricValuePair &value)
CloudWatchMetricsDataSummary & WithStatusCode(const CloudWatchMetricDataStatusCode &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue