AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeSeriesServiceStatistics.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/xray/model/EdgeStatistics.h>
10#include <aws/xray/model/ServiceStatistics.h>
11#include <aws/xray/model/ForecastStatistics.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/xray/model/HistogramEntry.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace XRay
27{
28namespace Model
29{
30
37 {
38 public:
43
44
46
49 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
50 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
51 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
52 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
53 inline TimeSeriesServiceStatistics& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
54 inline TimeSeriesServiceStatistics& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
56
58
59 inline const EdgeStatistics& GetEdgeSummaryStatistics() const{ return m_edgeSummaryStatistics; }
60 inline bool EdgeSummaryStatisticsHasBeenSet() const { return m_edgeSummaryStatisticsHasBeenSet; }
61 inline void SetEdgeSummaryStatistics(const EdgeStatistics& value) { m_edgeSummaryStatisticsHasBeenSet = true; m_edgeSummaryStatistics = value; }
62 inline void SetEdgeSummaryStatistics(EdgeStatistics&& value) { m_edgeSummaryStatisticsHasBeenSet = true; m_edgeSummaryStatistics = std::move(value); }
66
68
69 inline const ServiceStatistics& GetServiceSummaryStatistics() const{ return m_serviceSummaryStatistics; }
70 inline bool ServiceSummaryStatisticsHasBeenSet() const { return m_serviceSummaryStatisticsHasBeenSet; }
71 inline void SetServiceSummaryStatistics(const ServiceStatistics& value) { m_serviceSummaryStatisticsHasBeenSet = true; m_serviceSummaryStatistics = value; }
72 inline void SetServiceSummaryStatistics(ServiceStatistics&& value) { m_serviceSummaryStatisticsHasBeenSet = true; m_serviceSummaryStatistics = std::move(value); }
76
78
81 inline const ForecastStatistics& GetServiceForecastStatistics() const{ return m_serviceForecastStatistics; }
82 inline bool ServiceForecastStatisticsHasBeenSet() const { return m_serviceForecastStatisticsHasBeenSet; }
83 inline void SetServiceForecastStatistics(const ForecastStatistics& value) { m_serviceForecastStatisticsHasBeenSet = true; m_serviceForecastStatistics = value; }
84 inline void SetServiceForecastStatistics(ForecastStatistics&& value) { m_serviceForecastStatisticsHasBeenSet = true; m_serviceForecastStatistics = std::move(value); }
88
90
93 inline const Aws::Vector<HistogramEntry>& GetResponseTimeHistogram() const{ return m_responseTimeHistogram; }
94 inline bool ResponseTimeHistogramHasBeenSet() const { return m_responseTimeHistogramHasBeenSet; }
95 inline void SetResponseTimeHistogram(const Aws::Vector<HistogramEntry>& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram = value; }
96 inline void SetResponseTimeHistogram(Aws::Vector<HistogramEntry>&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram = std::move(value); }
99 inline TimeSeriesServiceStatistics& AddResponseTimeHistogram(const HistogramEntry& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(value); return *this; }
100 inline TimeSeriesServiceStatistics& AddResponseTimeHistogram(HistogramEntry&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(std::move(value)); return *this; }
102 private:
103
104 Aws::Utils::DateTime m_timestamp;
105 bool m_timestampHasBeenSet = false;
106
107 EdgeStatistics m_edgeSummaryStatistics;
108 bool m_edgeSummaryStatisticsHasBeenSet = false;
109
110 ServiceStatistics m_serviceSummaryStatistics;
111 bool m_serviceSummaryStatisticsHasBeenSet = false;
112
113 ForecastStatistics m_serviceForecastStatistics;
114 bool m_serviceForecastStatisticsHasBeenSet = false;
115
116 Aws::Vector<HistogramEntry> m_responseTimeHistogram;
117 bool m_responseTimeHistogramHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace XRay
122} // namespace Aws
TimeSeriesServiceStatistics & WithServiceForecastStatistics(const ForecastStatistics &value)
void SetServiceSummaryStatistics(const ServiceStatistics &value)
const ForecastStatistics & GetServiceForecastStatistics() const
const ServiceStatistics & GetServiceSummaryStatistics() const
void SetResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
TimeSeriesServiceStatistics & WithResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
TimeSeriesServiceStatistics & WithEdgeSummaryStatistics(const EdgeStatistics &value)
TimeSeriesServiceStatistics & WithServiceSummaryStatistics(const ServiceStatistics &value)
void SetServiceForecastStatistics(const ForecastStatistics &value)
TimeSeriesServiceStatistics & WithServiceSummaryStatistics(ServiceStatistics &&value)
TimeSeriesServiceStatistics & WithTimestamp(const Aws::Utils::DateTime &value)
TimeSeriesServiceStatistics & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_XRAY_API TimeSeriesServiceStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
TimeSeriesServiceStatistics & WithEdgeSummaryStatistics(EdgeStatistics &&value)
TimeSeriesServiceStatistics & AddResponseTimeHistogram(const HistogramEntry &value)
TimeSeriesServiceStatistics & WithResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
TimeSeriesServiceStatistics & AddResponseTimeHistogram(HistogramEntry &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
const Aws::Vector< HistogramEntry > & GetResponseTimeHistogram() const
AWS_XRAY_API TimeSeriesServiceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesServiceStatistics & WithServiceForecastStatistics(ForecastStatistics &&value)
void SetServiceForecastStatistics(ForecastStatistics &&value)
void SetEdgeSummaryStatistics(const EdgeStatistics &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue