7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalysisRulePolicy.h>
9#include <aws/cleanrooms/model/AnalysisRuleType.h>
10#include <aws/cleanrooms/model/ConfiguredTableAssociationAnalysisRulePolicy.h>
11#include <aws/cleanrooms/model/ConsolidatedPolicy.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename CollaborationIdT = Aws::String>
48 m_collaborationIdHasBeenSet =
true;
49 m_collaborationId = std::forward<CollaborationIdT>(value);
51 template <
typename CollaborationIdT = Aws::String>
65 m_typeHasBeenSet =
true;
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
98 template <
typename CreateTimeT = Aws::Utils::DateTime>
100 m_createTimeHasBeenSet =
true;
101 m_createTime = std::forward<CreateTimeT>(value);
103 template <
typename CreateTimeT = Aws::Utils::DateTime>
116 template <
typename UpdateTimeT = Aws::Utils::DateTime>
118 m_updateTimeHasBeenSet =
true;
119 m_updateTime = std::forward<UpdateTimeT>(value);
121 template <
typename UpdateTimeT = Aws::Utils::DateTime>
134 template <
typename PolicyT = AnalysisRulePolicy>
136 m_policyHasBeenSet =
true;
137 m_policy = std::forward<PolicyT>(value);
139 template <
typename PolicyT = AnalysisRulePolicy>
150 template <
typename CollaborationPolicyT = ConfiguredTableAssociationAnalysisRulePolicy>
152 m_collaborationPolicyHasBeenSet =
true;
153 m_collaborationPolicy = std::forward<CollaborationPolicyT>(value);
155 template <
typename CollaborationPolicyT = ConfiguredTableAssociationAnalysisRulePolicy>
168 template <
typename Consol
idatedPolicyT = Consol
idatedPolicy>
170 m_consolidatedPolicyHasBeenSet =
true;
171 m_consolidatedPolicy = std::forward<ConsolidatedPolicyT>(value);
173 template <
typename Consol
idatedPolicyT = Consol
idatedPolicy>
190 AnalysisRulePolicy m_policy;
192 ConfiguredTableAssociationAnalysisRulePolicy m_collaborationPolicy;
194 ConsolidatedPolicy m_consolidatedPolicy;
195 bool m_collaborationIdHasBeenSet =
false;
196 bool m_typeHasBeenSet =
false;
197 bool m_nameHasBeenSet =
false;
198 bool m_createTimeHasBeenSet =
false;
199 bool m_updateTimeHasBeenSet =
false;
200 bool m_policyHasBeenSet =
false;
201 bool m_collaborationPolicyHasBeenSet =
false;
202 bool m_consolidatedPolicyHasBeenSet =
false;
bool CreateTimeHasBeenSet() const
const ConfiguredTableAssociationAnalysisRulePolicy & GetCollaborationPolicy() const
bool CollaborationIdHasBeenSet() const
void SetType(AnalysisRuleType value)
bool ConsolidatedPolicyHasBeenSet() const
AnalysisRule & WithUpdateTime(UpdateTimeT &&value)
bool CollaborationPolicyHasBeenSet() const
bool TypeHasBeenSet() const
AnalysisRule & WithCreateTime(CreateTimeT &&value)
AnalysisRule & WithCollaborationPolicy(CollaborationPolicyT &&value)
const Aws::String & GetCollaborationId() const
const AnalysisRulePolicy & GetPolicy() const
AWS_CLEANROOMS_API AnalysisRule(Aws::Utils::Json::JsonView jsonValue)
AnalysisRule & WithCollaborationId(CollaborationIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetName(NameT &&value)
AWS_CLEANROOMS_API AnalysisRule()=default
bool NameHasBeenSet() const
void SetCollaborationId(CollaborationIdT &&value)
bool PolicyHasBeenSet() const
void SetCollaborationPolicy(CollaborationPolicyT &&value)
bool UpdateTimeHasBeenSet() const
const Aws::String & GetName() const
void SetUpdateTime(UpdateTimeT &&value)
void SetPolicy(PolicyT &&value)
AnalysisRule & WithName(NameT &&value)
AWS_CLEANROOMS_API AnalysisRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConsolidatedPolicy(ConsolidatedPolicyT &&value)
AnalysisRule & WithPolicy(PolicyT &&value)
AnalysisRule & WithConsolidatedPolicy(ConsolidatedPolicyT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const ConsolidatedPolicy & GetConsolidatedPolicy() const
void SetCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AnalysisRule & WithType(AnalysisRuleType value)
AnalysisRuleType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue