7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/DocumentAclCondition.h>
9#include <aws/bedrock-agent-runtime/model/DocumentAclMemberRelation.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockAgentRuntime {
43 template <
typename ConditionsT = Aws::Vector<DocumentAclCondition>>
45 m_conditionsHasBeenSet =
true;
46 m_conditions = std::forward<ConditionsT>(value);
48 template <
typename ConditionsT = Aws::Vector<DocumentAclCondition>>
53 template <
typename ConditionsT = DocumentAclCondition>
55 m_conditionsHasBeenSet =
true;
56 m_conditions.emplace_back(std::forward<ConditionsT>(value));
69 m_memberRelationHasBeenSet =
true;
70 m_memberRelation = value;
81 bool m_conditionsHasBeenSet =
false;
82 bool m_memberRelationHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API DocumentAclMembership & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DocumentAclCondition > & GetConditions() const
AWS_BEDROCKAGENTRUNTIME_API DocumentAclMembership(Aws::Utils::Json::JsonView jsonValue)
void SetMemberRelation(DocumentAclMemberRelation value)
DocumentAclMembership & WithMemberRelation(DocumentAclMemberRelation value)
void SetConditions(ConditionsT &&value)
bool MemberRelationHasBeenSet() const
bool ConditionsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API DocumentAclMembership()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentAclMembership & AddConditions(ConditionsT &&value)
DocumentAclMembership & WithConditions(ConditionsT &&value)
DocumentAclMemberRelation GetMemberRelation() const
DocumentAclMemberRelation
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue