AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DifferentialPrivacyPrivacyBudget.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanrooms/model/DifferentialPrivacyPrivacyBudgetAggregation.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 CleanRooms
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<DifferentialPrivacyPrivacyBudgetAggregation>& GetAggregations() const{ return m_aggregations; }
49 inline bool AggregationsHasBeenSet() const { return m_aggregationsHasBeenSet; }
50 inline void SetAggregations(const Aws::Vector<DifferentialPrivacyPrivacyBudgetAggregation>& value) { m_aggregationsHasBeenSet = true; m_aggregations = value; }
51 inline void SetAggregations(Aws::Vector<DifferentialPrivacyPrivacyBudgetAggregation>&& value) { m_aggregationsHasBeenSet = true; m_aggregations = std::move(value); }
54 inline DifferentialPrivacyPrivacyBudget& AddAggregations(const DifferentialPrivacyPrivacyBudgetAggregation& value) { m_aggregationsHasBeenSet = true; m_aggregations.push_back(value); return *this; }
55 inline DifferentialPrivacyPrivacyBudget& AddAggregations(DifferentialPrivacyPrivacyBudgetAggregation&& value) { m_aggregationsHasBeenSet = true; m_aggregations.push_back(std::move(value)); return *this; }
57
59
62 inline int GetEpsilon() const{ return m_epsilon; }
63 inline bool EpsilonHasBeenSet() const { return m_epsilonHasBeenSet; }
64 inline void SetEpsilon(int value) { m_epsilonHasBeenSet = true; m_epsilon = value; }
65 inline DifferentialPrivacyPrivacyBudget& WithEpsilon(int value) { SetEpsilon(value); return *this;}
67 private:
68
70 bool m_aggregationsHasBeenSet = false;
71
72 int m_epsilon;
73 bool m_epsilonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CleanRooms
78} // namespace Aws
DifferentialPrivacyPrivacyBudget & WithAggregations(const Aws::Vector< DifferentialPrivacyPrivacyBudgetAggregation > &value)
void SetAggregations(Aws::Vector< DifferentialPrivacyPrivacyBudgetAggregation > &&value)
AWS_CLEANROOMS_API DifferentialPrivacyPrivacyBudget & operator=(Aws::Utils::Json::JsonView jsonValue)
DifferentialPrivacyPrivacyBudget & AddAggregations(const DifferentialPrivacyPrivacyBudgetAggregation &value)
AWS_CLEANROOMS_API DifferentialPrivacyPrivacyBudget(Aws::Utils::Json::JsonView jsonValue)
void SetAggregations(const Aws::Vector< DifferentialPrivacyPrivacyBudgetAggregation > &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DifferentialPrivacyPrivacyBudgetAggregation > & GetAggregations() const
DifferentialPrivacyPrivacyBudget & WithAggregations(Aws::Vector< DifferentialPrivacyPrivacyBudgetAggregation > &&value)
DifferentialPrivacyPrivacyBudget & AddAggregations(DifferentialPrivacyPrivacyBudgetAggregation &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue