AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataQualityObservation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/MetricBasedObservation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API DataQualityObservation() = default;
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
48 DataQualityObservation& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
59 inline const MetricBasedObservation& GetMetricBasedObservation() const { return m_metricBasedObservation; }
60 inline bool MetricBasedObservationHasBeenSet() const { return m_metricBasedObservationHasBeenSet; }
61 template <typename MetricBasedObservationT = MetricBasedObservation>
62 void SetMetricBasedObservation(MetricBasedObservationT&& value) {
63 m_metricBasedObservationHasBeenSet = true;
64 m_metricBasedObservation = std::forward<MetricBasedObservationT>(value);
65 }
66 template <typename MetricBasedObservationT = MetricBasedObservation>
67 DataQualityObservation& WithMetricBasedObservation(MetricBasedObservationT&& value) {
68 SetMetricBasedObservation(std::forward<MetricBasedObservationT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_description;
74
75 MetricBasedObservation m_metricBasedObservation;
76 bool m_descriptionHasBeenSet = false;
77 bool m_metricBasedObservationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
AWS_GLUE_API DataQualityObservation(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DataQualityObservation()=default
DataQualityObservation & WithMetricBasedObservation(MetricBasedObservationT &&value)
AWS_GLUE_API DataQualityObservation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricBasedObservation(MetricBasedObservationT &&value)
const MetricBasedObservation & GetMetricBasedObservation() const
DataQualityObservation & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue