7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.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>
43 m_actionHasBeenSet =
true;
59 template <
typename ClientTokenT = Aws::String>
61 m_clientTokenHasBeenSet =
true;
62 m_clientToken = std::forward<ClientTokenT>(value);
64 template <
typename ClientTokenT = Aws::String>
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
95 template <
typename DetailT = RuleDetail>
97 m_detailHasBeenSet =
true;
98 m_detail = std::forward<DetailT>(value);
100 template <
typename DetailT = RuleDetail>
113 template <
typename DomainIdentifierT = Aws::String>
115 m_domainIdentifierHasBeenSet =
true;
116 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
118 template <
typename DomainIdentifierT = Aws::String>
131 template <
typename NameT = Aws::String>
133 m_nameHasBeenSet =
true;
134 m_name = std::forward<NameT>(value);
136 template <
typename NameT = Aws::String>
138 SetName(std::forward<NameT>(value));
149 template <
typename ScopeT = RuleScope>
151 m_scopeHasBeenSet =
true;
152 m_scope = std::forward<ScopeT>(value);
154 template <
typename ScopeT = RuleScope>
156 SetScope(std::forward<ScopeT>(value));
167 template <
typename TargetT = RuleTarget>
169 m_targetHasBeenSet =
true;
170 m_target = std::forward<TargetT>(value);
172 template <
typename TargetT = RuleTarget>
180 bool m_actionHasBeenSet =
false;
183 bool m_clientTokenHasBeenSet =
true;
186 bool m_descriptionHasBeenSet =
false;
189 bool m_detailHasBeenSet =
false;
192 bool m_domainIdentifierHasBeenSet =
false;
195 bool m_nameHasBeenSet =
false;
198 bool m_scopeHasBeenSet =
false;
201 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