7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/RuleAction.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/RuleDetail.h>
12#include <aws/datazone/model/RuleType.h>
13#include <aws/datazone/model/RuleScope.h>
14#include <aws/datazone/model/RuleTarget.h>
15#include <aws/datazone/model/RuleTargetType.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
56 template<
typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<
typename CreatedAtT = Aws::Utils::DateTime>
67 template<
typename CreatedByT = Aws::String>
68 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
69 template<
typename CreatedByT = Aws::String>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
89 template<
typename DetailT = RuleDetail>
90 void SetDetail(DetailT&& value) { m_detailHasBeenSet =
true; m_detail = std::forward<DetailT>(value); }
91 template<
typename DetailT = RuleDetail>
100 template<
typename IdentifierT = Aws::String>
101 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
102 template<
typename IdentifierT = Aws::String>
111 template<
typename LastUpdatedByT = Aws::String>
112 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
113 template<
typename LastUpdatedByT = Aws::String>
122 template<
typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
124 template<
typename NameT = Aws::String>
133 template<
typename RevisionT = Aws::String>
134 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet =
true; m_revision = std::forward<RevisionT>(value); }
135 template<
typename RevisionT = Aws::String>
153 template<
typename ScopeT = RuleScope>
154 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
155 template<
typename ScopeT = RuleScope>
164 template<
typename TargetT = RuleTarget>
165 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
166 template<
typename TargetT = RuleTarget>
184 template<
typename UpdatedAtT = Aws::Utils::DateTime>
185 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
186 template<
typename UpdatedAtT = Aws::Utils::DateTime>
193 template<
typename RequestIdT = Aws::String>
194 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
195 template<
typename RequestIdT = Aws::String>
201 bool m_actionHasBeenSet =
false;
204 bool m_createdAtHasBeenSet =
false;
207 bool m_createdByHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
213 bool m_detailHasBeenSet =
false;
216 bool m_identifierHasBeenSet =
false;
219 bool m_lastUpdatedByHasBeenSet =
false;
222 bool m_nameHasBeenSet =
false;
225 bool m_revisionHasBeenSet =
false;
228 bool m_ruleTypeHasBeenSet =
false;
231 bool m_scopeHasBeenSet =
false;
234 bool m_targetHasBeenSet =
false;
237 bool m_targetTypeHasBeenSet =
false;
240 bool m_updatedAtHasBeenSet =
false;
243 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