7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/model/RuleAction.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/RuleDetail.h>
12#include <aws/datazone/model/RuleScope.h>
13#include <aws/datazone/model/RuleTarget.h>
15#include <aws/core/utils/UUID.h>
57 template<
typename ClientTokenT = Aws::String>
58 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
59 template<
typename ClientTokenT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
81 template<
typename DetailT = RuleDetail>
82 void SetDetail(DetailT&& value) { m_detailHasBeenSet =
true; m_detail = std::forward<DetailT>(value); }
83 template<
typename DetailT = RuleDetail>
93 template<
typename DomainIdentifierT = Aws::String>
94 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
95 template<
typename DomainIdentifierT = Aws::String>
105 template<
typename NameT = Aws::String>
106 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
107 template<
typename NameT = Aws::String>
117 template<
typename ScopeT = RuleScope>
118 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
119 template<
typename ScopeT = RuleScope>
129 template<
typename TargetT = RuleTarget>
130 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
131 template<
typename TargetT = RuleTarget>
137 bool m_actionHasBeenSet =
false;
140 bool m_clientTokenHasBeenSet =
true;
143 bool m_descriptionHasBeenSet =
false;
146 bool m_detailHasBeenSet =
false;
149 bool m_domainIdentifierHasBeenSet =
false;
152 bool m_nameHasBeenSet =
false;
155 bool m_scopeHasBeenSet =
false;
158 bool m_targetHasBeenSet =
false;
CreateRuleRequest & WithDetail(DetailT &&value)
virtual const char * GetServiceRequestName() const override
CreateRuleRequest & WithClientToken(ClientTokenT &&value)
CreateRuleRequest & WithScope(ScopeT &&value)
CreateRuleRequest & WithDomainIdentifier(DomainIdentifierT &&value)
const RuleDetail & GetDetail() const
void SetDescription(DescriptionT &&value)
AWS_DATAZONE_API CreateRuleRequest()=default
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
void SetDomainIdentifier(DomainIdentifierT &&value)
bool ActionHasBeenSet() const
void SetTarget(TargetT &&value)
void SetAction(RuleAction value)
bool DetailHasBeenSet() const
bool ClientTokenHasBeenSet() const
bool TargetHasBeenSet() const
CreateRuleRequest & WithDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetDomainIdentifier() const
CreateRuleRequest & WithName(NameT &&value)
const RuleScope & GetScope() const
bool ScopeHasBeenSet() const
CreateRuleRequest & WithAction(RuleAction value)
const RuleTarget & GetTarget() const
void SetName(NameT &&value)
void SetDetail(DetailT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
const Aws::String & GetName() const
RuleAction GetAction() const
bool DomainIdentifierHasBeenSet() const
CreateRuleRequest & WithTarget(TargetT &&value)
void SetScope(ScopeT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String