AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelevanceMetric.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/AudienceSize.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRoomsML
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLEANROOMSML_API RelevanceMetric();
35 AWS_CLEANROOMSML_API RelevanceMetric(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLEANROOMSML_API RelevanceMetric& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const AudienceSize& GetAudienceSize() const{ return m_audienceSize; }
43 inline bool AudienceSizeHasBeenSet() const { return m_audienceSizeHasBeenSet; }
44 inline void SetAudienceSize(const AudienceSize& value) { m_audienceSizeHasBeenSet = true; m_audienceSize = value; }
45 inline void SetAudienceSize(AudienceSize&& value) { m_audienceSizeHasBeenSet = true; m_audienceSize = std::move(value); }
46 inline RelevanceMetric& WithAudienceSize(const AudienceSize& value) { SetAudienceSize(value); return *this;}
47 inline RelevanceMetric& WithAudienceSize(AudienceSize&& value) { SetAudienceSize(std::move(value)); return *this;}
49
51
54 inline double GetScore() const{ return m_score; }
55 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
56 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
57 inline RelevanceMetric& WithScore(double value) { SetScore(value); return *this;}
59 private:
60
61 AudienceSize m_audienceSize;
62 bool m_audienceSizeHasBeenSet = false;
63
64 double m_score;
65 bool m_scoreHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace CleanRoomsML
70} // namespace Aws
AWS_CLEANROOMSML_API RelevanceMetric(Aws::Utils::Json::JsonView jsonValue)
RelevanceMetric & WithAudienceSize(const AudienceSize &value)
void SetAudienceSize(const AudienceSize &value)
AWS_CLEANROOMSML_API RelevanceMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAudienceSize(AudienceSize &&value)
RelevanceMetric & WithAudienceSize(AudienceSize &&value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
const AudienceSize & GetAudienceSize() const
RelevanceMetric & WithScore(double value)
Aws::Utils::Json::JsonValue JsonValue