7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/UsersAndGroups.h>
9#include <aws/qbusiness/model/RuleType.h>
10#include <aws/qbusiness/model/RuleConfiguration.h>
74 inline void SetRuleType(
RuleType&& value) { m_ruleTypeHasBeenSet =
true; m_ruleType = std::move(value); }
93 bool m_includedUsersAndGroupsHasBeenSet =
false;
96 bool m_excludedUsersAndGroupsHasBeenSet =
false;
99 bool m_ruleTypeHasBeenSet =
false;
102 bool m_ruleConfigurationHasBeenSet =
false;
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API Rule(Aws::Utils::Json::JsonView jsonValue)
Rule & WithIncludedUsersAndGroups(UsersAndGroups &&value)
bool IncludedUsersAndGroupsHasBeenSet() const
const UsersAndGroups & GetExcludedUsersAndGroups() const
void SetRuleType(const RuleType &value)
Rule & WithRuleType(RuleType &&value)
const RuleType & GetRuleType() const
void SetIncludedUsersAndGroups(const UsersAndGroups &value)
void SetExcludedUsersAndGroups(const UsersAndGroups &value)
Rule & WithIncludedUsersAndGroups(const UsersAndGroups &value)
bool RuleTypeHasBeenSet() const
AWS_QBUSINESS_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
Rule & WithExcludedUsersAndGroups(const UsersAndGroups &value)
void SetExcludedUsersAndGroups(UsersAndGroups &&value)
void SetRuleType(RuleType &&value)
bool ExcludedUsersAndGroupsHasBeenSet() const
Rule & WithRuleConfiguration(const RuleConfiguration &value)
Rule & WithExcludedUsersAndGroups(UsersAndGroups &&value)
void SetIncludedUsersAndGroups(UsersAndGroups &&value)
void SetRuleConfiguration(const RuleConfiguration &value)
bool RuleConfigurationHasBeenSet() const
void SetRuleConfiguration(RuleConfiguration &&value)
Rule & WithRuleConfiguration(RuleConfiguration &&value)
const RuleConfiguration & GetRuleConfiguration() const
Rule & WithRuleType(const RuleType &value)
const UsersAndGroups & GetIncludedUsersAndGroups() const
Aws::Utils::Json::JsonValue JsonValue