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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/datazone/model/RuleType.h>
13#include <aws/datazone/model/RuleTargetType.h>
61 template<
typename AssetTypesT = Aws::Vector<Aws::String>>
62 void SetAssetTypes(AssetTypesT&& value) { m_assetTypesHasBeenSet =
true; m_assetTypes = std::forward<AssetTypesT>(value); }
63 template<
typename AssetTypesT = Aws::Vector<Aws::String>>
65 template<
typename AssetTypesT = Aws::String>
66 ListRulesRequest&
AddAssetTypes(AssetTypesT&& value) { m_assetTypesHasBeenSet =
true; m_assetTypes.emplace_back(std::forward<AssetTypesT>(value));
return *
this; }
75 inline void SetDataProduct(
bool value) { m_dataProductHasBeenSet =
true; m_dataProduct = value; }
85 template<
typename DomainIdentifierT = Aws::String>
86 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
87 template<
typename DomainIdentifierT = Aws::String>
97 inline void SetIncludeCascaded(
bool value) { m_includeCascadedHasBeenSet =
true; m_includeCascaded = value; }
111 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
126 template<
typename NextTokenT = Aws::String>
127 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
128 template<
typename NextTokenT = Aws::String>
138 template<
typename ProjectIdsT = Aws::Vector<Aws::String>>
139 void SetProjectIds(ProjectIdsT&& value) { m_projectIdsHasBeenSet =
true; m_projectIds = std::forward<ProjectIdsT>(value); }
140 template<
typename ProjectIdsT = Aws::Vector<Aws::String>>
142 template<
typename ProjectIdsT = Aws::String>
143 ListRulesRequest&
AddProjectIds(ProjectIdsT&& value) { m_projectIdsHasBeenSet =
true; m_projectIds.emplace_back(std::forward<ProjectIdsT>(value));
return *
this; }
162 template<
typename TargetIdentifierT = Aws::String>
163 void SetTargetIdentifier(TargetIdentifierT&& value) { m_targetIdentifierHasBeenSet =
true; m_targetIdentifier = std::forward<TargetIdentifierT>(value); }
164 template<
typename TargetIdentifierT = Aws::String>
180 bool m_actionHasBeenSet =
false;
183 bool m_assetTypesHasBeenSet =
false;
185 bool m_dataProduct{
false};
186 bool m_dataProductHasBeenSet =
false;
189 bool m_domainIdentifierHasBeenSet =
false;
191 bool m_includeCascaded{
false};
192 bool m_includeCascadedHasBeenSet =
false;
195 bool m_maxResultsHasBeenSet =
false;
198 bool m_nextTokenHasBeenSet =
false;
201 bool m_projectIdsHasBeenSet =
false;
204 bool m_ruleTypeHasBeenSet =
false;
207 bool m_targetIdentifierHasBeenSet =
false;
210 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