7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RetrievalResultConfluenceLocation.h>
9#include <aws/bedrock-agent-runtime/model/RetrievalResultCustomDocumentLocation.h>
10#include <aws/bedrock-agent-runtime/model/RetrievalResultGoogleDriveLocation.h>
11#include <aws/bedrock-agent-runtime/model/RetrievalResultKendraDocumentLocation.h>
12#include <aws/bedrock-agent-runtime/model/RetrievalResultLocationType.h>
13#include <aws/bedrock-agent-runtime/model/RetrievalResultOneDriveLocation.h>
14#include <aws/bedrock-agent-runtime/model/RetrievalResultS3Location.h>
15#include <aws/bedrock-agent-runtime/model/RetrievalResultSalesforceLocation.h>
16#include <aws/bedrock-agent-runtime/model/RetrievalResultSharePointLocation.h>
17#include <aws/bedrock-agent-runtime/model/RetrievalResultSqlLocation.h>
18#include <aws/bedrock-agent-runtime/model/RetrievalResultWebLocation.h>
29namespace BedrockAgentRuntime {
58 template <
typename ConfluenceLocationT = RetrievalResultConfluenceLocation>
60 m_confluenceLocationHasBeenSet =
true;
61 m_confluenceLocation = std::forward<ConfluenceLocationT>(value);
63 template <
typename ConfluenceLocationT = RetrievalResultConfluenceLocation>
76 template <
typename CustomDocumentLocationT = RetrievalResultCustomDocumentLocation>
78 m_customDocumentLocationHasBeenSet =
true;
79 m_customDocumentLocation = std::forward<CustomDocumentLocationT>(value);
81 template <
typename CustomDocumentLocationT = RetrievalResultCustomDocumentLocation>
94 template <
typename GoogleDriveLocationT = RetrievalResultGoogleDriveLocation>
96 m_googleDriveLocationHasBeenSet =
true;
97 m_googleDriveLocation = std::forward<GoogleDriveLocationT>(value);
99 template <
typename GoogleDriveLocationT = RetrievalResultGoogleDriveLocation>
112 template <
typename KendraDocumentLocationT = RetrievalResultKendraDocumentLocation>
114 m_kendraDocumentLocationHasBeenSet =
true;
115 m_kendraDocumentLocation = std::forward<KendraDocumentLocationT>(value);
117 template <
typename KendraDocumentLocationT = RetrievalResultKendraDocumentLocation>
130 template <
typename OneDriveLocationT = RetrievalResultOneDriveLocation>
132 m_oneDriveLocationHasBeenSet =
true;
133 m_oneDriveLocation = std::forward<OneDriveLocationT>(value);
135 template <
typename OneDriveLocationT = RetrievalResultOneDriveLocation>
148 template <
typename S3LocationT = RetrievalResultS3Location>
150 m_s3LocationHasBeenSet =
true;
151 m_s3Location = std::forward<S3LocationT>(value);
153 template <
typename S3LocationT = RetrievalResultS3Location>
166 template <
typename SalesforceLocationT = RetrievalResultSalesforceLocation>
168 m_salesforceLocationHasBeenSet =
true;
169 m_salesforceLocation = std::forward<SalesforceLocationT>(value);
171 template <
typename SalesforceLocationT = RetrievalResultSalesforceLocation>
184 template <
typename SharePo
intLocationT = RetrievalResultSharePo
intLocation>
186 m_sharePointLocationHasBeenSet =
true;
187 m_sharePointLocation = std::forward<SharePointLocationT>(value);
189 template <
typename SharePo
intLocationT = RetrievalResultSharePo
intLocation>
202 template <
typename SqlLocationT = RetrievalResultSqlLocation>
204 m_sqlLocationHasBeenSet =
true;
205 m_sqlLocation = std::forward<SqlLocationT>(value);
207 template <
typename SqlLocationT = RetrievalResultSqlLocation>
221 m_typeHasBeenSet =
true;
236 template <
typename WebLocationT = RetrievalResultWebLocation>
238 m_webLocationHasBeenSet =
true;
239 m_webLocation = std::forward<WebLocationT>(value);
241 template <
typename WebLocationT = RetrievalResultWebLocation>
268 RetrievalResultWebLocation m_webLocation;
269 bool m_confluenceLocationHasBeenSet =
false;
270 bool m_customDocumentLocationHasBeenSet =
false;
271 bool m_googleDriveLocationHasBeenSet =
false;
272 bool m_kendraDocumentLocationHasBeenSet =
false;
273 bool m_oneDriveLocationHasBeenSet =
false;
274 bool m_s3LocationHasBeenSet =
false;
275 bool m_salesforceLocationHasBeenSet =
false;
276 bool m_sharePointLocationHasBeenSet =
false;
277 bool m_sqlLocationHasBeenSet =
false;
278 bool m_typeHasBeenSet =
false;
279 bool m_webLocationHasBeenSet =
false;
void SetType(RetrievalResultLocationType value)
RetrievalResultLocation & WithOneDriveLocation(OneDriveLocationT &&value)
void SetOneDriveLocation(OneDriveLocationT &&value)
RetrievalResultLocation & WithWebLocation(WebLocationT &&value)
RetrievalResultLocation & WithSalesforceLocation(SalesforceLocationT &&value)
bool ConfluenceLocationHasBeenSet() const
RetrievalResultLocation & WithType(RetrievalResultLocationType value)
const RetrievalResultWebLocation & GetWebLocation() const
void SetSharePointLocation(SharePointLocationT &&value)
bool WebLocationHasBeenSet() const
const RetrievalResultS3Location & GetS3Location() const
bool SqlLocationHasBeenSet() const
void SetS3Location(S3LocationT &&value)
RetrievalResultLocation & WithGoogleDriveLocation(GoogleDriveLocationT &&value)
const RetrievalResultGoogleDriveLocation & GetGoogleDriveLocation() const
bool CustomDocumentLocationHasBeenSet() const
const RetrievalResultConfluenceLocation & GetConfluenceLocation() const
bool SharePointLocationHasBeenSet() const
void SetCustomDocumentLocation(CustomDocumentLocationT &&value)
void SetConfluenceLocation(ConfluenceLocationT &&value)
void SetSalesforceLocation(SalesforceLocationT &&value)
const RetrievalResultSharePointLocation & GetSharePointLocation() const
RetrievalResultLocation & WithConfluenceLocation(ConfluenceLocationT &&value)
void SetWebLocation(WebLocationT &&value)
RetrievalResultLocation & WithSqlLocation(SqlLocationT &&value)
const RetrievalResultSalesforceLocation & GetSalesforceLocation() const
bool KendraDocumentLocationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const RetrievalResultCustomDocumentLocation & GetCustomDocumentLocation() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation(Aws::Utils::Json::JsonView jsonValue)
bool OneDriveLocationHasBeenSet() const
void SetGoogleDriveLocation(GoogleDriveLocationT &&value)
void SetKendraDocumentLocation(KendraDocumentLocationT &&value)
bool GoogleDriveLocationHasBeenSet() const
RetrievalResultLocationType GetType() const
bool S3LocationHasBeenSet() const
RetrievalResultLocation & WithSharePointLocation(SharePointLocationT &&value)
RetrievalResultLocation & WithCustomDocumentLocation(CustomDocumentLocationT &&value)
const RetrievalResultSqlLocation & GetSqlLocation() const
bool TypeHasBeenSet() const
void SetSqlLocation(SqlLocationT &&value)
RetrievalResultLocation & WithS3Location(S3LocationT &&value)
bool SalesforceLocationHasBeenSet() const
RetrievalResultLocation & WithKendraDocumentLocation(KendraDocumentLocationT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const RetrievalResultOneDriveLocation & GetOneDriveLocation() const
const RetrievalResultKendraDocumentLocation & GetKendraDocumentLocation() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation()=default
RetrievalResultLocationType
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue