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 NameT = Aws::String>
112 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
113 template<
typename NameT = Aws::String>
131 template<
typename ScopeT = RuleScope>
132 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
133 template<
typename ScopeT = RuleScope>
142 template<
typename TargetT = RuleTarget>
143 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
144 template<
typename TargetT = RuleTarget>
160 template<
typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
162 template<
typename RequestIdT = Aws::String>
168 bool m_actionHasBeenSet =
false;
171 bool m_createdAtHasBeenSet =
false;
174 bool m_createdByHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
180 bool m_detailHasBeenSet =
false;
183 bool m_identifierHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
189 bool m_ruleTypeHasBeenSet =
false;
192 bool m_scopeHasBeenSet =
false;
195 bool m_targetHasBeenSet =
false;
198 bool m_targetTypeHasBeenSet =
false;
201 bool m_requestIdHasBeenSet =
false;
CreateRuleResult & WithRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
RuleAction GetAction() const
const Aws::String & GetCreatedBy() const
const RuleScope & GetScope() const
void SetTarget(TargetT &&value)
const Aws::String & GetName() const
void SetCreatedBy(CreatedByT &&value)
RuleTargetType GetTargetType() const
const Aws::String & GetIdentifier() const
CreateRuleResult & WithDetail(DetailT &&value)
AWS_DATAZONE_API CreateRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RuleType GetRuleType() const
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetDescription() const
CreateRuleResult & WithName(NameT &&value)
CreateRuleResult & WithCreatedAt(CreatedAtT &&value)
void SetDetail(DetailT &&value)
AWS_DATAZONE_API CreateRuleResult()=default
void SetName(NameT &&value)
void SetAction(RuleAction value)
CreateRuleResult & WithCreatedBy(CreatedByT &&value)
void SetRuleType(RuleType value)
CreateRuleResult & WithIdentifier(IdentifierT &&value)
CreateRuleResult & WithAction(RuleAction value)
void SetScope(ScopeT &&value)
const RuleTarget & GetTarget() const
void SetTargetType(RuleTargetType value)
AWS_DATAZONE_API CreateRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
CreateRuleResult & WithTargetType(RuleTargetType value)
const RuleDetail & GetDetail() const
CreateRuleResult & WithScope(ScopeT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateRuleResult & WithDescription(DescriptionT &&value)
CreateRuleResult & WithRuleType(RuleType value)
CreateRuleResult & WithTarget(TargetT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue