AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DifferentialPrivacyPreviewAggregation.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/DifferentialPrivacyAggregationType.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 CleanRooms
22{
23namespace Model
24{
25
34 {
35 public:
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DifferentialPrivacyAggregationType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const DifferentialPrivacyAggregationType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(DifferentialPrivacyAggregationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
53
55
59 inline int GetMaxCount() const{ return m_maxCount; }
60 inline bool MaxCountHasBeenSet() const { return m_maxCountHasBeenSet; }
61 inline void SetMaxCount(int value) { m_maxCountHasBeenSet = true; m_maxCount = value; }
62 inline DifferentialPrivacyPreviewAggregation& WithMaxCount(int value) { SetMaxCount(value); return *this;}
64 private:
65
67 bool m_typeHasBeenSet = false;
68
69 int m_maxCount;
70 bool m_maxCountHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CleanRooms
75} // namespace Aws
AWS_CLEANROOMS_API DifferentialPrivacyPreviewAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
DifferentialPrivacyPreviewAggregation & WithType(DifferentialPrivacyAggregationType &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API DifferentialPrivacyPreviewAggregation(Aws::Utils::Json::JsonView jsonValue)
DifferentialPrivacyPreviewAggregation & WithType(const DifferentialPrivacyAggregationType &value)
Aws::Utils::Json::JsonValue JsonValue