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 NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 m_ruleTypeHasBeenSet =
true;
90 template <
typename TargetT = RuleTarget>
92 m_targetHasBeenSet =
true;
93 m_target = std::forward<TargetT>(value);
95 template <
typename TargetT = RuleTarget>
108 m_actionHasBeenSet =
true;
122 template <
typename ScopeT = RuleScope>
124 m_scopeHasBeenSet =
true;
125 m_scope = std::forward<ScopeT>(value);
127 template <
typename ScopeT = RuleScope>
129 SetScope(std::forward<ScopeT>(value));
139 template <
typename DetailT = RuleDetail>
141 m_detailHasBeenSet =
true;
142 m_detail = std::forward<DetailT>(value);
144 template <
typename DetailT = RuleDetail>
157 m_targetTypeHasBeenSet =
true;
158 m_targetType = value;
171 template <
typename DescriptionT = Aws::String>
173 m_descriptionHasBeenSet =
true;
174 m_description = std::forward<DescriptionT>(value);
176 template <
typename DescriptionT = Aws::String>
188 template <
typename CreatedAtT = Aws::Utils::DateTime>
190 m_createdAtHasBeenSet =
true;
191 m_createdAt = std::forward<CreatedAtT>(value);
193 template <
typename CreatedAtT = Aws::Utils::DateTime>
205 template <
typename CreatedByT = Aws::String>
207 m_createdByHasBeenSet =
true;
208 m_createdBy = std::forward<CreatedByT>(value);
210 template <
typename CreatedByT = Aws::String>
220 template <
typename RequestIdT = Aws::String>
222 m_requestIdHasBeenSet =
true;
223 m_requestId = std::forward<RequestIdT>(value);
225 template <
typename RequestIdT = Aws::String>
255 bool m_identifierHasBeenSet =
false;
256 bool m_nameHasBeenSet =
false;
257 bool m_ruleTypeHasBeenSet =
false;
258 bool m_targetHasBeenSet =
false;
259 bool m_actionHasBeenSet =
false;
260 bool m_scopeHasBeenSet =
false;
261 bool m_detailHasBeenSet =
false;
262 bool m_targetTypeHasBeenSet =
false;
263 bool m_descriptionHasBeenSet =
false;
264 bool m_createdAtHasBeenSet =
false;
265 bool m_createdByHasBeenSet =
false;
266 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