7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/RuleAction.h>
11#include <aws/datazone/model/RuleScope.h>
12#include <aws/datazone/model/RuleTarget.h>
13#include <aws/datazone/model/RuleTargetType.h>
14#include <aws/datazone/model/RuleType.h>
46 template <
typename IdentifierT = Aws::String>
48 m_identifierHasBeenSet =
true;
49 m_identifier = std::forward<IdentifierT>(value);
51 template <
typename IdentifierT = Aws::String>
64 template <
typename RevisionT = Aws::String>
66 m_revisionHasBeenSet =
true;
67 m_revision = std::forward<RevisionT>(value);
69 template <
typename RevisionT = Aws::String>
83 m_ruleTypeHasBeenSet =
true;
98 template <
typename NameT = Aws::String>
100 m_nameHasBeenSet =
true;
101 m_name = std::forward<NameT>(value);
103 template <
typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
117 m_targetTypeHasBeenSet =
true;
118 m_targetType = value;
132 template <
typename TargetT = RuleTarget>
134 m_targetHasBeenSet =
true;
135 m_target = std::forward<TargetT>(value);
137 template <
typename TargetT = RuleTarget>
151 m_actionHasBeenSet =
true;
166 template <
typename ScopeT = RuleScope>
168 m_scopeHasBeenSet =
true;
169 m_scope = std::forward<ScopeT>(value);
171 template <
typename ScopeT = RuleScope>
173 SetScope(std::forward<ScopeT>(value));
184 template <
typename UpdatedAtT = Aws::Utils::DateTime>
186 m_updatedAtHasBeenSet =
true;
187 m_updatedAt = std::forward<UpdatedAtT>(value);
189 template <
typename UpdatedAtT = Aws::Utils::DateTime>
202 template <
typename LastUpdatedByT = Aws::String>
204 m_lastUpdatedByHasBeenSet =
true;
205 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
207 template <
typename LastUpdatedByT = Aws::String>
233 bool m_identifierHasBeenSet =
false;
234 bool m_revisionHasBeenSet =
false;
235 bool m_ruleTypeHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
237 bool m_targetTypeHasBeenSet =
false;
238 bool m_targetHasBeenSet =
false;
239 bool m_actionHasBeenSet =
false;
240 bool m_scopeHasBeenSet =
false;
241 bool m_updatedAtHasBeenSet =
false;
242 bool m_lastUpdatedByHasBeenSet =
false;
void SetName(NameT &&value)
RuleAction GetAction() const
const RuleTarget & GetTarget() const
RuleSummary & WithRuleType(RuleType value)
RuleSummary & WithUpdatedAt(UpdatedAtT &&value)
bool NameHasBeenSet() const
bool RevisionHasBeenSet() const
const Aws::String & GetName() const
void SetIdentifier(IdentifierT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleTypeHasBeenSet() const
RuleSummary & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
RuleSummary & WithRevision(RevisionT &&value)
const Aws::String & GetRevision() const
const Aws::Utils::DateTime & GetUpdatedAt() const
RuleSummary & WithTargetType(RuleTargetType value)
RuleSummary & WithAction(RuleAction value)
RuleSummary & WithScope(ScopeT &&value)
RuleType GetRuleType() const
RuleSummary & WithTarget(TargetT &&value)
const RuleScope & GetScope() const
void SetAction(RuleAction value)
AWS_DATAZONE_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedBy(LastUpdatedByT &&value)
bool LastUpdatedByHasBeenSet() const
void SetTarget(TargetT &&value)
bool TargetHasBeenSet() const
void SetRuleType(RuleType value)
bool IdentifierHasBeenSet() const
const Aws::String & GetIdentifier() const
const Aws::String & GetLastUpdatedBy() const
void SetScope(ScopeT &&value)
void SetTargetType(RuleTargetType value)
RuleSummary & WithIdentifier(IdentifierT &&value)
bool TargetTypeHasBeenSet() const
bool UpdatedAtHasBeenSet() const
RuleSummary & WithName(NameT &&value)
AWS_DATAZONE_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
RuleTargetType GetTargetType() const
bool ActionHasBeenSet() const
AWS_DATAZONE_API RuleSummary()=default
void SetRevision(RevisionT &&value)
bool ScopeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue