7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra/model/Principal.h>
12#include <aws/kendra/model/HierarchicalPrincipal.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateAccessControlConfiguration"; }
46 template<
typename IndexIdT = Aws::String>
47 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
48 template<
typename IndexIdT = Aws::String>
58 template<
typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
60 template<
typename IdT = Aws::String>
70 template<
typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
97 template<
typename AccessControlListT = Aws::Vector<Principal>>
98 void SetAccessControlList(AccessControlListT&& value) { m_accessControlListHasBeenSet =
true; m_accessControlList = std::forward<AccessControlListT>(value); }
99 template<
typename AccessControlListT = Aws::Vector<Principal>>
101 template<
typename AccessControlListT = Principal>
114 template<
typename HierarchicalAccessControlListT = Aws::Vector<HierarchicalPrincipal>>
115 void SetHierarchicalAccessControlList(HierarchicalAccessControlListT&& value) { m_hierarchicalAccessControlListHasBeenSet =
true; m_hierarchicalAccessControlList = std::forward<HierarchicalAccessControlListT>(value); }
116 template<
typename HierarchicalAccessControlListT = Aws::Vector<HierarchicalPrincipal>>
118 template<
typename HierarchicalAccessControlListT = HierarchicalPrincipal>
124 bool m_indexIdHasBeenSet =
false;
127 bool m_idHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_descriptionHasBeenSet =
false;
136 bool m_accessControlListHasBeenSet =
false;
139 bool m_hierarchicalAccessControlListHasBeenSet =
false;
bool NameHasBeenSet() const
const Aws::Vector< HierarchicalPrincipal > & GetHierarchicalAccessControlList() const
bool IndexIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateAccessControlConfigurationRequest & WithIndexId(IndexIdT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
void SetIndexId(IndexIdT &&value)
const Aws::String & GetId() const
UpdateAccessControlConfigurationRequest & AddAccessControlList(AccessControlListT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
UpdateAccessControlConfigurationRequest & WithAccessControlList(AccessControlListT &&value)
UpdateAccessControlConfigurationRequest & AddHierarchicalAccessControlList(HierarchicalAccessControlListT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetIndexId() const
bool AccessControlListHasBeenSet() const
UpdateAccessControlConfigurationRequest & WithHierarchicalAccessControlList(HierarchicalAccessControlListT &&value)
UpdateAccessControlConfigurationRequest & WithId(IdT &&value)
const Aws::Vector< Principal > & GetAccessControlList() const
bool DescriptionHasBeenSet() const
UpdateAccessControlConfigurationRequest & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KENDRA_API UpdateAccessControlConfigurationRequest()=default
bool HierarchicalAccessControlListHasBeenSet() const
void SetHierarchicalAccessControlList(HierarchicalAccessControlListT &&value)
bool IdHasBeenSet() const
UpdateAccessControlConfigurationRequest & WithName(NameT &&value)
void SetAccessControlList(AccessControlListT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector