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 NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
77 m_ruleTypeHasBeenSet =
true;
91 template <
typename TargetT = RuleTarget>
93 m_targetHasBeenSet =
true;
94 m_target = std::forward<TargetT>(value);
96 template <
typename TargetT = RuleTarget>
109 m_actionHasBeenSet =
true;
123 template <
typename ScopeT = RuleScope>
125 m_scopeHasBeenSet =
true;
126 m_scope = std::forward<ScopeT>(value);
128 template <
typename ScopeT = RuleScope>
130 SetScope(std::forward<ScopeT>(value));
140 template <
typename DetailT = RuleDetail>
142 m_detailHasBeenSet =
true;
143 m_detail = std::forward<DetailT>(value);
145 template <
typename DetailT = RuleDetail>
158 m_targetTypeHasBeenSet =
true;
159 m_targetType = value;
172 template <
typename DescriptionT = Aws::String>
174 m_descriptionHasBeenSet =
true;
175 m_description = std::forward<DescriptionT>(value);
177 template <
typename DescriptionT = Aws::String>
189 template <
typename CreatedAtT = Aws::Utils::DateTime>
191 m_createdAtHasBeenSet =
true;
192 m_createdAt = std::forward<CreatedAtT>(value);
194 template <
typename CreatedAtT = Aws::Utils::DateTime>
206 template <
typename CreatedByT = Aws::String>
208 m_createdByHasBeenSet =
true;
209 m_createdBy = std::forward<CreatedByT>(value);
211 template <
typename CreatedByT = Aws::String>
221 template <
typename RequestIdT = Aws::String>
223 m_requestIdHasBeenSet =
true;
224 m_requestId = std::forward<RequestIdT>(value);
226 template <
typename RequestIdT = Aws::String>
259 bool m_identifierHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
261 bool m_ruleTypeHasBeenSet =
false;
262 bool m_targetHasBeenSet =
false;
263 bool m_actionHasBeenSet =
false;
264 bool m_scopeHasBeenSet =
false;
265 bool m_detailHasBeenSet =
false;
266 bool m_targetTypeHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
268 bool m_createdAtHasBeenSet =
false;
269 bool m_createdByHasBeenSet =
false;
270 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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