7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename ApplicationIdT = Aws::String>
51 template<
typename ApplicationIdT = Aws::String>
62 template<
typename IndexIdT = Aws::String>
63 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
64 template<
typename IndexIdT = Aws::String>
75 template<
typename UserIdT = Aws::String>
76 void SetUserId(
UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
77 template<
typename UserIdT = Aws::String>
88 template<
typename DocumentIdT = Aws::String>
90 template<
typename DocumentIdT = Aws::String>
103 template<
typename DataSourceIdT = Aws::String>
105 template<
typename DataSourceIdT = Aws::String>
111 bool m_applicationIdHasBeenSet =
false;
114 bool m_indexIdHasBeenSet =
false;
117 bool m_userIdHasBeenSet =
false;
120 bool m_documentIdHasBeenSet =
false;
123 bool m_dataSourceIdHasBeenSet =
false;
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetApplicationId(ApplicationIdT &&value)
bool IndexIdHasBeenSet() const
CheckDocumentAccessRequest & WithDataSourceId(DataSourceIdT &&value)
CheckDocumentAccessRequest & WithDocumentId(DocumentIdT &&value)
bool DocumentIdHasBeenSet() const
const Aws::String & GetDocumentId() const
AWS_QBUSINESS_API CheckDocumentAccessRequest()=default
bool DataSourceIdHasBeenSet() const
const Aws::String & GetUserId() const
void SetIndexId(IndexIdT &&value)
void SetDocumentId(DocumentIdT &&value)
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetIndexId() const
CheckDocumentAccessRequest & WithApplicationId(ApplicationIdT &&value)
void SetDataSourceId(DataSourceIdT &&value)
const Aws::String & GetApplicationId() const
void SetUserId(UserIdT &&value)
CheckDocumentAccessRequest & WithUserId(UserIdT &&value)
bool ApplicationIdHasBeenSet() const
CheckDocumentAccessRequest & WithIndexId(IndexIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDataSourceId() const
bool UserIdHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String