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/RuleDetail.h>
12#include <aws/datazone/model/RuleScope.h>
13#include <aws/datazone/model/RuleTarget.h>
14#include <aws/datazone/model/RuleTargetType.h>
15#include <aws/datazone/model/RuleType.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename IdentifierT = Aws::String>
43 m_identifierHasBeenSet =
true;
44 m_identifier = std::forward<IdentifierT>(value);
46 template <
typename IdentifierT = Aws::String>
58 template <
typename RevisionT = Aws::String>
60 m_revisionHasBeenSet =
true;
61 m_revision = std::forward<RevisionT>(value);
63 template <
typename RevisionT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
93 m_ruleTypeHasBeenSet =
true;
107 template <
typename TargetT = RuleTarget>
109 m_targetHasBeenSet =
true;
110 m_target = std::forward<TargetT>(value);
112 template <
typename TargetT = RuleTarget>
125 m_actionHasBeenSet =
true;
139 template <
typename ScopeT = RuleScope>
141 m_scopeHasBeenSet =
true;
142 m_scope = std::forward<ScopeT>(value);
144 template <
typename ScopeT = RuleScope>
146 SetScope(std::forward<ScopeT>(value));
156 template <
typename DetailT = RuleDetail>
158 m_detailHasBeenSet =
true;
159 m_detail = std::forward<DetailT>(value);
161 template <
typename DetailT = RuleDetail>
174 m_targetTypeHasBeenSet =
true;
175 m_targetType = value;
188 template <
typename DescriptionT = Aws::String>
190 m_descriptionHasBeenSet =
true;
191 m_description = std::forward<DescriptionT>(value);
193 template <
typename DescriptionT = Aws::String>
205 template <
typename CreatedAtT = Aws::Utils::DateTime>
207 m_createdAtHasBeenSet =
true;
208 m_createdAt = std::forward<CreatedAtT>(value);
210 template <
typename CreatedAtT = Aws::Utils::DateTime>
222 template <
typename UpdatedAtT = Aws::Utils::DateTime>
224 m_updatedAtHasBeenSet =
true;
225 m_updatedAt = std::forward<UpdatedAtT>(value);
227 template <
typename UpdatedAtT = Aws::Utils::DateTime>
239 template <
typename CreatedByT = Aws::String>
241 m_createdByHasBeenSet =
true;
242 m_createdBy = std::forward<CreatedByT>(value);
244 template <
typename CreatedByT = Aws::String>
256 template <
typename LastUpdatedByT = Aws::String>
258 m_lastUpdatedByHasBeenSet =
true;
259 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
261 template <
typename LastUpdatedByT = Aws::String>
271 template <
typename RequestIdT = Aws::String>
273 m_requestIdHasBeenSet =
true;
274 m_requestId = std::forward<RequestIdT>(value);
276 template <
typename RequestIdT = Aws::String>
312 bool m_identifierHasBeenSet =
false;
313 bool m_revisionHasBeenSet =
false;
314 bool m_nameHasBeenSet =
false;
315 bool m_ruleTypeHasBeenSet =
false;
316 bool m_targetHasBeenSet =
false;
317 bool m_actionHasBeenSet =
false;
318 bool m_scopeHasBeenSet =
false;
319 bool m_detailHasBeenSet =
false;
320 bool m_targetTypeHasBeenSet =
false;
321 bool m_descriptionHasBeenSet =
false;
322 bool m_createdAtHasBeenSet =
false;
323 bool m_updatedAtHasBeenSet =
false;
324 bool m_createdByHasBeenSet =
false;
325 bool m_lastUpdatedByHasBeenSet =
false;
326 bool m_requestIdHasBeenSet =
false;
void SetCreatedBy(CreatedByT &&value)
void SetTargetType(RuleTargetType value)
GetRuleResult & WithDetail(DetailT &&value)
void SetRevision(RevisionT &&value)
const RuleTarget & GetTarget() const
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
AWS_DATAZONE_API GetRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRevision() const
GetRuleResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetRuleResult & WithDescription(DescriptionT &&value)
GetRuleResult & WithAction(RuleAction value)
void SetTarget(TargetT &&value)
AWS_DATAZONE_API GetRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedBy(LastUpdatedByT &&value)
void SetDetail(DetailT &&value)
const Aws::String & GetIdentifier() const
GetRuleResult & WithCreatedBy(CreatedByT &&value)
GetRuleResult & WithRequestId(RequestIdT &&value)
GetRuleResult & WithRevision(RevisionT &&value)
const Aws::String & GetName() const
GetRuleResult & WithTargetType(RuleTargetType value)
void SetRequestId(RequestIdT &&value)
GetRuleResult & WithIdentifier(IdentifierT &&value)
const Aws::String & GetDescription() const
RuleType GetRuleType() const
const Aws::String & GetCreatedBy() const
GetRuleResult & WithTarget(TargetT &&value)
void SetDescription(DescriptionT &&value)
GetRuleResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetRuleResult & WithRuleType(RuleType value)
GetRuleResult & WithName(NameT &&value)
RuleTargetType GetTargetType() const
void SetScope(ScopeT &&value)
void SetIdentifier(IdentifierT &&value)
void SetCreatedAt(CreatedAtT &&value)
const RuleScope & GetScope() const
AWS_DATAZONE_API GetRuleResult()=default
GetRuleResult & WithLastUpdatedBy(LastUpdatedByT &&value)
const RuleDetail & GetDetail() const
void SetRuleType(RuleType value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetLastUpdatedBy() const
void SetAction(RuleAction value)
GetRuleResult & WithScope(ScopeT &&value)
RuleAction GetAction() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue