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>
37 AWS_QBUSINESS_API
Rule() =
default;
49 template<
typename IncludedUsersAndGroupsT = UsersAndGroups>
51 template<
typename IncludedUsersAndGroupsT = UsersAndGroups>
61 template<
typename ExcludedUsersAndGroupsT = UsersAndGroups>
63 template<
typename ExcludedUsersAndGroupsT = UsersAndGroups>
83 template<
typename RuleConfigurationT = RuleConfiguration>
85 template<
typename RuleConfigurationT = RuleConfiguration>
91 bool m_includedUsersAndGroupsHasBeenSet =
false;
94 bool m_excludedUsersAndGroupsHasBeenSet =
false;
97 bool m_ruleTypeHasBeenSet =
false;
99 RuleConfiguration m_ruleConfiguration;
100 bool m_ruleConfigurationHasBeenSet =
false;
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Rule & WithRuleType(RuleType value)
AWS_QBUSINESS_API Rule(Aws::Utils::Json::JsonView jsonValue)
bool IncludedUsersAndGroupsHasBeenSet() const
Rule & WithIncludedUsersAndGroups(IncludedUsersAndGroupsT &&value)
const UsersAndGroups & GetExcludedUsersAndGroups() const
AWS_QBUSINESS_API Rule()=default
RuleType GetRuleType() const
Rule & WithExcludedUsersAndGroups(ExcludedUsersAndGroupsT &&value)
bool RuleTypeHasBeenSet() const
void SetIncludedUsersAndGroups(IncludedUsersAndGroupsT &&value)
AWS_QBUSINESS_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
Rule & WithRuleConfiguration(RuleConfigurationT &&value)
bool ExcludedUsersAndGroupsHasBeenSet() const
void SetExcludedUsersAndGroups(ExcludedUsersAndGroupsT &&value)
void SetRuleConfiguration(RuleConfigurationT &&value)
bool RuleConfigurationHasBeenSet() const
const RuleConfiguration & GetRuleConfiguration() const
void SetRuleType(RuleType value)
const UsersAndGroups & GetIncludedUsersAndGroups() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue