7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/DocumentAclGroup.h>
9#include <aws/bedrock-agent-runtime/model/DocumentAclMemberRelation.h>
10#include <aws/bedrock-agent-runtime/model/DocumentAclUser.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace BedrockAgentRuntime {
49 m_conditionOperatorHasBeenSet =
true;
50 m_conditionOperator = value;
64 template <
typename GroupsT = Aws::Vector<DocumentAclGroup>>
66 m_groupsHasBeenSet =
true;
67 m_groups = std::forward<GroupsT>(value);
69 template <
typename GroupsT = Aws::Vector<DocumentAclGroup>>
74 template <
typename GroupsT = DocumentAclGroup>
76 m_groupsHasBeenSet =
true;
77 m_groups.emplace_back(std::forward<GroupsT>(value));
88 template <
typename UsersT = Aws::Vector<DocumentAclUser>>
90 m_usersHasBeenSet =
true;
91 m_users = std::forward<UsersT>(value);
93 template <
typename UsersT = Aws::Vector<DocumentAclUser>>
95 SetUsers(std::forward<UsersT>(value));
98 template <
typename UsersT = DocumentAclUser>
100 m_usersHasBeenSet =
true;
101 m_users.emplace_back(std::forward<UsersT>(value));
111 bool m_conditionOperatorHasBeenSet =
false;
112 bool m_groupsHasBeenSet =
false;
113 bool m_usersHasBeenSet =
false;
bool GroupsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUsers(UsersT &&value)
DocumentAclCondition & AddUsers(UsersT &&value)
bool ConditionOperatorHasBeenSet() const
void SetGroups(GroupsT &&value)
const Aws::Vector< DocumentAclGroup > & GetGroups() const
const Aws::Vector< DocumentAclUser > & GetUsers() const
DocumentAclCondition & AddGroups(GroupsT &&value)
AWS_BEDROCKAGENTRUNTIME_API DocumentAclCondition()=default
bool UsersHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API DocumentAclCondition(Aws::Utils::Json::JsonView jsonValue)
DocumentAclCondition & WithConditionOperator(DocumentAclMemberRelation value)
void SetConditionOperator(DocumentAclMemberRelation value)
DocumentAclCondition & WithGroups(GroupsT &&value)
DocumentAclMemberRelation GetConditionOperator() const
AWS_BEDROCKAGENTRUNTIME_API DocumentAclCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentAclCondition & WithUsers(UsersT &&value)
DocumentAclMemberRelation
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue