7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/RuleConfiguration.h>
9#include <aws/qbusiness/model/RuleType.h>
10#include <aws/qbusiness/model/UsersAndGroups.h>
32 AWS_QBUSINESS_API
Rule() =
default;
43 template <
typename IncludedUsersAndGroupsT = UsersAndGroups>
45 m_includedUsersAndGroupsHasBeenSet =
true;
46 m_includedUsersAndGroups = std::forward<IncludedUsersAndGroupsT>(value);
48 template <
typename IncludedUsersAndGroupsT = UsersAndGroups>
61 template <
typename ExcludedUsersAndGroupsT = UsersAndGroups>
63 m_excludedUsersAndGroupsHasBeenSet =
true;
64 m_excludedUsersAndGroups = std::forward<ExcludedUsersAndGroupsT>(value);
66 template <
typename ExcludedUsersAndGroupsT = UsersAndGroups>
80 m_ruleTypeHasBeenSet =
true;
95 template <
typename RuleConfigurationT = RuleConfiguration>
97 m_ruleConfigurationHasBeenSet =
true;
98 m_ruleConfiguration = std::forward<RuleConfigurationT>(value);
100 template <
typename RuleConfigurationT = RuleConfiguration>
108 bool m_includedUsersAndGroupsHasBeenSet =
false;
111 bool m_excludedUsersAndGroupsHasBeenSet =
false;
114 bool m_ruleTypeHasBeenSet =
false;
116 RuleConfiguration m_ruleConfiguration;
117 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