7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.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/RuleTargetType.h>
13#include <aws/datazone/model/RuleType.h>
47 m_actionHasBeenSet =
true;
62 template <
typename AssetTypesT = Aws::Vector<Aws::String>>
64 m_assetTypesHasBeenSet =
true;
65 m_assetTypes = std::forward<AssetTypesT>(value);
67 template <
typename AssetTypesT = Aws::Vector<Aws::String>>
72 template <
typename AssetTypesT = Aws::String>
74 m_assetTypesHasBeenSet =
true;
75 m_assetTypes.emplace_back(std::forward<AssetTypesT>(value));
87 m_dataProductHasBeenSet =
true;
88 m_dataProduct = value;
102 template <
typename DomainIdentifierT = Aws::String>
104 m_domainIdentifierHasBeenSet =
true;
105 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
107 template <
typename DomainIdentifierT = Aws::String>
121 m_includeCascadedHasBeenSet =
true;
122 m_includeCascaded = value;
141 m_maxResultsHasBeenSet =
true;
142 m_maxResults = value;
161 template <
typename NextTokenT = Aws::String>
163 m_nextTokenHasBeenSet =
true;
164 m_nextToken = std::forward<NextTokenT>(value);
166 template <
typename NextTokenT = Aws::String>
179 template <
typename ProjectIdsT = Aws::Vector<Aws::String>>
181 m_projectIdsHasBeenSet =
true;
182 m_projectIds = std::forward<ProjectIdsT>(value);
184 template <
typename ProjectIdsT = Aws::Vector<Aws::String>>
189 template <
typename ProjectIdsT = Aws::String>
191 m_projectIdsHasBeenSet =
true;
192 m_projectIds.emplace_back(std::forward<ProjectIdsT>(value));
204 m_ruleTypeHasBeenSet =
true;
219 template <
typename TargetIdentifierT = Aws::String>
221 m_targetIdentifierHasBeenSet =
true;
222 m_targetIdentifier = std::forward<TargetIdentifierT>(value);
224 template <
typename TargetIdentifierT = Aws::String>
238 m_targetTypeHasBeenSet =
true;
239 m_targetType = value;
248 bool m_actionHasBeenSet =
false;
251 bool m_assetTypesHasBeenSet =
false;
253 bool m_dataProduct{
false};
254 bool m_dataProductHasBeenSet =
false;
257 bool m_domainIdentifierHasBeenSet =
false;
259 bool m_includeCascaded{
false};
260 bool m_includeCascadedHasBeenSet =
false;
263 bool m_maxResultsHasBeenSet =
false;
266 bool m_nextTokenHasBeenSet =
false;
269 bool m_projectIdsHasBeenSet =
false;
272 bool m_ruleTypeHasBeenSet =
false;
275 bool m_targetIdentifierHasBeenSet =
false;
278 bool m_targetTypeHasBeenSet =
false;
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRulesRequest & WithIncludeCascaded(bool value)
bool ActionHasBeenSet() const
const Aws::String & GetNextToken() const
ListRulesRequest & WithRuleType(RuleType value)
void SetAction(RuleAction value)
bool GetIncludeCascaded() const
int GetMaxResults() const
const Aws::String & GetTargetIdentifier() const
ListRulesRequest & WithTargetType(RuleTargetType value)
bool ProjectIdsHasBeenSet() const
ListRulesRequest & WithAssetTypes(AssetTypesT &&value)
bool TargetTypeHasBeenSet() const
ListRulesRequest & WithAction(RuleAction value)
bool IncludeCascadedHasBeenSet() const
void SetIncludeCascaded(bool value)
void SetTargetIdentifier(TargetIdentifierT &&value)
void SetDataProduct(bool value)
void SetMaxResults(int value)
void SetAssetTypes(AssetTypesT &&value)
bool GetDataProduct() const
bool DataProductHasBeenSet() const
const Aws::String & GetDomainIdentifier() const
ListRulesRequest & WithMaxResults(int value)
bool AssetTypesHasBeenSet() const
bool RuleTypeHasBeenSet() const
ListRulesRequest & WithNextToken(NextTokenT &&value)
void SetTargetType(RuleTargetType value)
bool NextTokenHasBeenSet() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API ListRulesRequest()=default
ListRulesRequest & WithProjectIds(ProjectIdsT &&value)
RuleAction GetAction() const
ListRulesRequest & AddProjectIds(ProjectIdsT &&value)
const Aws::Vector< Aws::String > & GetAssetTypes() const
bool DomainIdentifierHasBeenSet() const
ListRulesRequest & WithTargetIdentifier(TargetIdentifierT &&value)
ListRulesRequest & WithDomainIdentifier(DomainIdentifierT &&value)
const Aws::Vector< Aws::String > & GetProjectIds() const
bool MaxResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
RuleTargetType GetTargetType() const
void SetProjectIds(ProjectIdsT &&value)
ListRulesRequest & WithDataProduct(bool value)
ListRulesRequest & AddAssetTypes(AssetTypesT &&value)
RuleType GetRuleType() const
bool TargetIdentifierHasBeenSet() const
void SetNextToken(NextTokenT &&value)
void SetRuleType(RuleType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector