AWS SDK for C++

AWS SDK for C++ Version 1.11.878

Loading...
Searching...
No Matches
CheckIngestedDocumentAclRequest.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
9#include <aws/bedrock-agent-runtime/model/UserContext.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BedrockAgentRuntime {
16namespace Model {
17
21 public:
22 AWS_BEDROCKAGENTRUNTIME_API CheckIngestedDocumentAclRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CheckIngestedDocumentAcl"; }
29
30 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
37 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
38 template <typename DataSourceIdT = Aws::String>
40 m_dataSourceIdHasBeenSet = true;
41 m_dataSourceId = std::forward<DataSourceIdT>(value);
42 }
43 template <typename DataSourceIdT = Aws::String>
45 SetDataSourceId(std::forward<DataSourceIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDocumentId() const { return m_documentId; }
55 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
56 template <typename DocumentIdT = Aws::String>
57 void SetDocumentId(DocumentIdT&& value) {
58 m_documentIdHasBeenSet = true;
59 m_documentId = std::forward<DocumentIdT>(value);
60 }
61 template <typename DocumentIdT = Aws::String>
63 SetDocumentId(std::forward<DocumentIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
73 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
74 template <typename KnowledgeBaseIdT = Aws::String>
76 m_knowledgeBaseIdHasBeenSet = true;
77 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
78 }
79 template <typename KnowledgeBaseIdT = Aws::String>
81 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
82 return *this;
83 }
85
87
92 inline const UserContext& GetUserContext() const { return m_userContext; }
93 inline bool UserContextHasBeenSet() const { return m_userContextHasBeenSet; }
94 template <typename UserContextT = UserContext>
96 m_userContextHasBeenSet = true;
97 m_userContext = std::forward<UserContextT>(value);
98 }
99 template <typename UserContextT = UserContext>
101 SetUserContext(std::forward<UserContextT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_dataSourceId;
107
108 Aws::String m_documentId;
109
110 Aws::String m_knowledgeBaseId;
111
112 UserContext m_userContext;
113 bool m_dataSourceIdHasBeenSet = false;
114 bool m_documentIdHasBeenSet = false;
115 bool m_knowledgeBaseIdHasBeenSet = false;
116 bool m_userContextHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace BedrockAgentRuntime
121} // namespace Aws
CheckIngestedDocumentAclRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
CheckIngestedDocumentAclRequest & WithUserContext(UserContextT &&value)
CheckIngestedDocumentAclRequest & WithDataSourceId(DataSourceIdT &&value)
CheckIngestedDocumentAclRequest & WithDocumentId(DocumentIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API CheckIngestedDocumentAclRequest()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String