7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/RuleAction.h>
12#include <aws/datazone/model/RuleDetail.h>
13#include <aws/datazone/model/RuleScope.h>
14#include <aws/datazone/model/RuleTarget.h>
15#include <aws/datazone/model/RuleTargetType.h>
16#include <aws/datazone/model/RuleType.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename IdentifierT = Aws::String>
44 m_identifierHasBeenSet =
true;
45 m_identifier = std::forward<IdentifierT>(value);
47 template <
typename IdentifierT = Aws::String>
59 template <
typename RevisionT = Aws::String>
61 m_revisionHasBeenSet =
true;
62 m_revision = std::forward<RevisionT>(value);
64 template <
typename RevisionT = Aws::String>
76 template <
typename NameT = Aws::String>
78 m_nameHasBeenSet =
true;
79 m_name = std::forward<NameT>(value);
81 template <
typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
94 m_ruleTypeHasBeenSet =
true;
108 template <
typename TargetT = RuleTarget>
110 m_targetHasBeenSet =
true;
111 m_target = std::forward<TargetT>(value);
113 template <
typename TargetT = RuleTarget>
126 m_actionHasBeenSet =
true;
140 template <
typename ScopeT = RuleScope>
142 m_scopeHasBeenSet =
true;
143 m_scope = std::forward<ScopeT>(value);
145 template <
typename ScopeT = RuleScope>
147 SetScope(std::forward<ScopeT>(value));
157 template <
typename DetailT = RuleDetail>
159 m_detailHasBeenSet =
true;
160 m_detail = std::forward<DetailT>(value);
162 template <
typename DetailT = RuleDetail>
175 m_targetTypeHasBeenSet =
true;
176 m_targetType = value;
189 template <
typename DescriptionT = Aws::String>
191 m_descriptionHasBeenSet =
true;
192 m_description = std::forward<DescriptionT>(value);
194 template <
typename DescriptionT = Aws::String>
206 template <
typename CreatedAtT = Aws::Utils::DateTime>
208 m_createdAtHasBeenSet =
true;
209 m_createdAt = std::forward<CreatedAtT>(value);
211 template <
typename CreatedAtT = Aws::Utils::DateTime>
223 template <
typename UpdatedAtT = Aws::Utils::DateTime>
225 m_updatedAtHasBeenSet =
true;
226 m_updatedAt = std::forward<UpdatedAtT>(value);
228 template <
typename UpdatedAtT = Aws::Utils::DateTime>
240 template <
typename CreatedByT = Aws::String>
242 m_createdByHasBeenSet =
true;
243 m_createdBy = std::forward<CreatedByT>(value);
245 template <
typename CreatedByT = Aws::String>
257 template <
typename LastUpdatedByT = Aws::String>
259 m_lastUpdatedByHasBeenSet =
true;
260 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
262 template <
typename LastUpdatedByT = Aws::String>
272 template <
typename RequestIdT = Aws::String>
274 m_requestIdHasBeenSet =
true;
275 m_requestId = std::forward<RequestIdT>(value);
277 template <
typename RequestIdT = Aws::String>
316 bool m_identifierHasBeenSet =
false;
317 bool m_revisionHasBeenSet =
false;
318 bool m_nameHasBeenSet =
false;
319 bool m_ruleTypeHasBeenSet =
false;
320 bool m_targetHasBeenSet =
false;
321 bool m_actionHasBeenSet =
false;
322 bool m_scopeHasBeenSet =
false;
323 bool m_detailHasBeenSet =
false;
324 bool m_targetTypeHasBeenSet =
false;
325 bool m_descriptionHasBeenSet =
false;
326 bool m_createdAtHasBeenSet =
false;
327 bool m_updatedAtHasBeenSet =
false;
328 bool m_createdByHasBeenSet =
false;
329 bool m_lastUpdatedByHasBeenSet =
false;
330 bool m_requestIdHasBeenSet =
false;
void SetCreatedBy(CreatedByT &&value)
void SetTargetType(RuleTargetType value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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