AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Data.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/pi/model/PerformanceInsightsMetric.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PI {
20namespace Model {
21
31class Data {
32 public:
33 AWS_PI_API Data() = default;
34 AWS_PI_API Data(Aws::Utils::Json::JsonView jsonValue);
37
39
44 inline const PerformanceInsightsMetric& GetPerformanceInsightsMetric() const { return m_performanceInsightsMetric; }
45 inline bool PerformanceInsightsMetricHasBeenSet() const { return m_performanceInsightsMetricHasBeenSet; }
46 template <typename PerformanceInsightsMetricT = PerformanceInsightsMetric>
47 void SetPerformanceInsightsMetric(PerformanceInsightsMetricT&& value) {
48 m_performanceInsightsMetricHasBeenSet = true;
49 m_performanceInsightsMetric = std::forward<PerformanceInsightsMetricT>(value);
50 }
51 template <typename PerformanceInsightsMetricT = PerformanceInsightsMetric>
52 Data& WithPerformanceInsightsMetric(PerformanceInsightsMetricT&& value) {
53 SetPerformanceInsightsMetric(std::forward<PerformanceInsightsMetricT>(value));
54 return *this;
55 }
57 private:
58 PerformanceInsightsMetric m_performanceInsightsMetric;
59 bool m_performanceInsightsMetricHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace PI
64} // namespace Aws
const PerformanceInsightsMetric & GetPerformanceInsightsMetric() const
Definition Data.h:44
Data & WithPerformanceInsightsMetric(PerformanceInsightsMetricT &&value)
Definition Data.h:52
void SetPerformanceInsightsMetric(PerformanceInsightsMetricT &&value)
Definition Data.h:47
AWS_PI_API Data & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PI_API Data()=default
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
bool PerformanceInsightsMetricHasBeenSet() const
Definition Data.h:45
AWS_PI_API Data(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue