AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisRuleCustom.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/AdditionalAnalyses.h>
10#include <aws/cleanrooms/model/DifferentialPrivacyConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_CLEANROOMS_API AnalysisRuleCustom();
40 AWS_CLEANROOMS_API AnalysisRuleCustom(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<Aws::String>& GetAllowedAnalyses() const{ return m_allowedAnalyses; }
51 inline bool AllowedAnalysesHasBeenSet() const { return m_allowedAnalysesHasBeenSet; }
52 inline void SetAllowedAnalyses(const Aws::Vector<Aws::String>& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses = value; }
53 inline void SetAllowedAnalyses(Aws::Vector<Aws::String>&& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses = std::move(value); }
55 inline AnalysisRuleCustom& WithAllowedAnalyses(Aws::Vector<Aws::String>&& value) { SetAllowedAnalyses(std::move(value)); return *this;}
56 inline AnalysisRuleCustom& AddAllowedAnalyses(const Aws::String& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses.push_back(value); return *this; }
57 inline AnalysisRuleCustom& AddAllowedAnalyses(Aws::String&& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses.push_back(std::move(value)); return *this; }
58 inline AnalysisRuleCustom& AddAllowedAnalyses(const char* value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses.push_back(value); return *this; }
60
62
67 inline const Aws::Vector<Aws::String>& GetAllowedAnalysisProviders() const{ return m_allowedAnalysisProviders; }
68 inline bool AllowedAnalysisProvidersHasBeenSet() const { return m_allowedAnalysisProvidersHasBeenSet; }
69 inline void SetAllowedAnalysisProviders(const Aws::Vector<Aws::String>& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders = value; }
70 inline void SetAllowedAnalysisProviders(Aws::Vector<Aws::String>&& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders = std::move(value); }
73 inline AnalysisRuleCustom& AddAllowedAnalysisProviders(const Aws::String& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders.push_back(value); return *this; }
74 inline AnalysisRuleCustom& AddAllowedAnalysisProviders(Aws::String&& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders.push_back(std::move(value)); return *this; }
75 inline AnalysisRuleCustom& AddAllowedAnalysisProviders(const char* value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders.push_back(value); return *this; }
77
79
83 inline const AdditionalAnalyses& GetAdditionalAnalyses() const{ return m_additionalAnalyses; }
84 inline bool AdditionalAnalysesHasBeenSet() const { return m_additionalAnalysesHasBeenSet; }
85 inline void SetAdditionalAnalyses(const AdditionalAnalyses& value) { m_additionalAnalysesHasBeenSet = true; m_additionalAnalyses = value; }
86 inline void SetAdditionalAnalyses(AdditionalAnalyses&& value) { m_additionalAnalysesHasBeenSet = true; m_additionalAnalyses = std::move(value); }
88 inline AnalysisRuleCustom& WithAdditionalAnalyses(AdditionalAnalyses&& value) { SetAdditionalAnalyses(std::move(value)); return *this;}
90
92
95 inline const Aws::Vector<Aws::String>& GetDisallowedOutputColumns() const{ return m_disallowedOutputColumns; }
96 inline bool DisallowedOutputColumnsHasBeenSet() const { return m_disallowedOutputColumnsHasBeenSet; }
97 inline void SetDisallowedOutputColumns(const Aws::Vector<Aws::String>& value) { m_disallowedOutputColumnsHasBeenSet = true; m_disallowedOutputColumns = value; }
98 inline void SetDisallowedOutputColumns(Aws::Vector<Aws::String>&& value) { m_disallowedOutputColumnsHasBeenSet = true; m_disallowedOutputColumns = std::move(value); }
101 inline AnalysisRuleCustom& AddDisallowedOutputColumns(const Aws::String& value) { m_disallowedOutputColumnsHasBeenSet = true; m_disallowedOutputColumns.push_back(value); return *this; }
102 inline AnalysisRuleCustom& AddDisallowedOutputColumns(Aws::String&& value) { m_disallowedOutputColumnsHasBeenSet = true; m_disallowedOutputColumns.push_back(std::move(value)); return *this; }
103 inline AnalysisRuleCustom& AddDisallowedOutputColumns(const char* value) { m_disallowedOutputColumnsHasBeenSet = true; m_disallowedOutputColumns.push_back(value); return *this; }
105
107
110 inline const DifferentialPrivacyConfiguration& GetDifferentialPrivacy() const{ return m_differentialPrivacy; }
111 inline bool DifferentialPrivacyHasBeenSet() const { return m_differentialPrivacyHasBeenSet; }
112 inline void SetDifferentialPrivacy(const DifferentialPrivacyConfiguration& value) { m_differentialPrivacyHasBeenSet = true; m_differentialPrivacy = value; }
113 inline void SetDifferentialPrivacy(DifferentialPrivacyConfiguration&& value) { m_differentialPrivacyHasBeenSet = true; m_differentialPrivacy = std::move(value); }
117 private:
118
119 Aws::Vector<Aws::String> m_allowedAnalyses;
120 bool m_allowedAnalysesHasBeenSet = false;
121
122 Aws::Vector<Aws::String> m_allowedAnalysisProviders;
123 bool m_allowedAnalysisProvidersHasBeenSet = false;
124
125 AdditionalAnalyses m_additionalAnalyses;
126 bool m_additionalAnalysesHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_disallowedOutputColumns;
129 bool m_disallowedOutputColumnsHasBeenSet = false;
130
131 DifferentialPrivacyConfiguration m_differentialPrivacy;
132 bool m_differentialPrivacyHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace CleanRooms
137} // namespace Aws
void SetAllowedAnalyses(const Aws::Vector< Aws::String > &value)
AWS_CLEANROOMS_API AnalysisRuleCustom(Aws::Utils::Json::JsonView jsonValue)
AnalysisRuleCustom & WithDifferentialPrivacy(const DifferentialPrivacyConfiguration &value)
AnalysisRuleCustom & WithDisallowedOutputColumns(Aws::Vector< Aws::String > &&value)
AnalysisRuleCustom & WithAdditionalAnalyses(AdditionalAnalyses &&value)
AnalysisRuleCustom & WithAdditionalAnalyses(const AdditionalAnalyses &value)
void SetDifferentialPrivacy(const DifferentialPrivacyConfiguration &value)
AnalysisRuleCustom & AddAllowedAnalyses(const Aws::String &value)
AnalysisRuleCustom & AddAllowedAnalysisProviders(const char *value)
void SetDisallowedOutputColumns(Aws::Vector< Aws::String > &&value)
AnalysisRuleCustom & AddDisallowedOutputColumns(Aws::String &&value)
void SetAdditionalAnalyses(const AdditionalAnalyses &value)
AnalysisRuleCustom & AddAllowedAnalyses(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDisallowedOutputColumns() const
void SetAllowedAnalyses(Aws::Vector< Aws::String > &&value)
AnalysisRuleCustom & WithDifferentialPrivacy(DifferentialPrivacyConfiguration &&value)
AnalysisRuleCustom & AddAllowedAnalyses(const char *value)
void SetDisallowedOutputColumns(const Aws::Vector< Aws::String > &value)
void SetAllowedAnalysisProviders(Aws::Vector< Aws::String > &&value)
void SetDifferentialPrivacy(DifferentialPrivacyConfiguration &&value)
AnalysisRuleCustom & AddDisallowedOutputColumns(const Aws::String &value)
AnalysisRuleCustom & WithDisallowedOutputColumns(const Aws::Vector< Aws::String > &value)
AnalysisRuleCustom & WithAllowedAnalyses(Aws::Vector< Aws::String > &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const DifferentialPrivacyConfiguration & GetDifferentialPrivacy() const
AnalysisRuleCustom & WithAllowedAnalysisProviders(Aws::Vector< Aws::String > &&value)
AnalysisRuleCustom & AddAllowedAnalysisProviders(const Aws::String &value)
AWS_CLEANROOMS_API AnalysisRuleCustom & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAllowedAnalyses() const
const Aws::Vector< Aws::String > & GetAllowedAnalysisProviders() const
AnalysisRuleCustom & WithAllowedAnalyses(const Aws::Vector< Aws::String > &value)
AnalysisRuleCustom & WithAllowedAnalysisProviders(const Aws::Vector< Aws::String > &value)
AnalysisRuleCustom & AddDisallowedOutputColumns(const char *value)
void SetAdditionalAnalyses(AdditionalAnalyses &&value)
void SetAllowedAnalysisProviders(const Aws::Vector< Aws::String > &value)
const AdditionalAnalyses & GetAdditionalAnalyses() const
AnalysisRuleCustom & AddAllowedAnalysisProviders(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue