AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Explainability.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/MetricsSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
28 public:
29 AWS_SAGEMAKER_API Explainability() = default;
30 AWS_SAGEMAKER_API Explainability(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const MetricsSource& GetReport() const { return m_report; }
39 inline bool ReportHasBeenSet() const { return m_reportHasBeenSet; }
40 template <typename ReportT = MetricsSource>
41 void SetReport(ReportT&& value) {
42 m_reportHasBeenSet = true;
43 m_report = std::forward<ReportT>(value);
44 }
45 template <typename ReportT = MetricsSource>
46 Explainability& WithReport(ReportT&& value) {
47 SetReport(std::forward<ReportT>(value));
48 return *this;
49 }
51 private:
52 MetricsSource m_report;
53 bool m_reportHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace SageMaker
58} // namespace Aws
AWS_SAGEMAKER_API Explainability(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Explainability & operator=(Aws::Utils::Json::JsonView jsonValue)
Explainability & WithReport(ReportT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const MetricsSource & GetReport() const
AWS_SAGEMAKER_API Explainability()=default
Aws::Utils::Json::JsonValue JsonValue