AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudienceQualityMetrics.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanroomsml/model/RelevanceMetric.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRoomsML
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMSML_API AudienceQualityMetrics();
37 AWS_CLEANROOMSML_API AudienceQualityMetrics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<RelevanceMetric>& GetRelevanceMetrics() const{ return m_relevanceMetrics; }
47 inline bool RelevanceMetricsHasBeenSet() const { return m_relevanceMetricsHasBeenSet; }
48 inline void SetRelevanceMetrics(const Aws::Vector<RelevanceMetric>& value) { m_relevanceMetricsHasBeenSet = true; m_relevanceMetrics = value; }
49 inline void SetRelevanceMetrics(Aws::Vector<RelevanceMetric>&& value) { m_relevanceMetricsHasBeenSet = true; m_relevanceMetrics = std::move(value); }
52 inline AudienceQualityMetrics& AddRelevanceMetrics(const RelevanceMetric& value) { m_relevanceMetricsHasBeenSet = true; m_relevanceMetrics.push_back(value); return *this; }
53 inline AudienceQualityMetrics& AddRelevanceMetrics(RelevanceMetric&& value) { m_relevanceMetricsHasBeenSet = true; m_relevanceMetrics.push_back(std::move(value)); return *this; }
55
57
65 inline double GetRecallMetric() const{ return m_recallMetric; }
66 inline bool RecallMetricHasBeenSet() const { return m_recallMetricHasBeenSet; }
67 inline void SetRecallMetric(double value) { m_recallMetricHasBeenSet = true; m_recallMetric = value; }
68 inline AudienceQualityMetrics& WithRecallMetric(double value) { SetRecallMetric(value); return *this;}
70 private:
71
72 Aws::Vector<RelevanceMetric> m_relevanceMetrics;
73 bool m_relevanceMetricsHasBeenSet = false;
74
75 double m_recallMetric;
76 bool m_recallMetricHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CleanRoomsML
81} // namespace Aws
AudienceQualityMetrics & WithRecallMetric(double value)
AWS_CLEANROOMSML_API AudienceQualityMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API AudienceQualityMetrics(Aws::Utils::Json::JsonView jsonValue)
AudienceQualityMetrics & WithRelevanceMetrics(const Aws::Vector< RelevanceMetric > &value)
const Aws::Vector< RelevanceMetric > & GetRelevanceMetrics() const
void SetRelevanceMetrics(Aws::Vector< RelevanceMetric > &&value)
AudienceQualityMetrics & AddRelevanceMetrics(RelevanceMetric &&value)
AudienceQualityMetrics & WithRelevanceMetrics(Aws::Vector< RelevanceMetric > &&value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AudienceQualityMetrics & AddRelevanceMetrics(const RelevanceMetric &value)
void SetRelevanceMetrics(const Aws::Vector< RelevanceMetric > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue