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/RetrievalResultKendraDocumentLocation.h>
11#include <aws/bedrock-agent-runtime/model/RetrievalResultLocationType.h>
12#include <aws/bedrock-agent-runtime/model/RetrievalResultS3Location.h>
13#include <aws/bedrock-agent-runtime/model/RetrievalResultSalesforceLocation.h>
14#include <aws/bedrock-agent-runtime/model/RetrievalResultSharePointLocation.h>
15#include <aws/bedrock-agent-runtime/model/RetrievalResultSqlLocation.h>
16#include <aws/bedrock-agent-runtime/model/RetrievalResultWebLocation.h>
27namespace BedrockAgentRuntime {
56 template <
typename ConfluenceLocationT = RetrievalResultConfluenceLocation>
58 m_confluenceLocationHasBeenSet =
true;
59 m_confluenceLocation = std::forward<ConfluenceLocationT>(value);
61 template <
typename ConfluenceLocationT = RetrievalResultConfluenceLocation>
74 template <
typename CustomDocumentLocationT = RetrievalResultCustomDocumentLocation>
76 m_customDocumentLocationHasBeenSet =
true;
77 m_customDocumentLocation = std::forward<CustomDocumentLocationT>(value);
79 template <
typename CustomDocumentLocationT = RetrievalResultCustomDocumentLocation>
92 template <
typename KendraDocumentLocationT = RetrievalResultKendraDocumentLocation>
94 m_kendraDocumentLocationHasBeenSet =
true;
95 m_kendraDocumentLocation = std::forward<KendraDocumentLocationT>(value);
97 template <
typename KendraDocumentLocationT = RetrievalResultKendraDocumentLocation>
110 template <
typename S3LocationT = RetrievalResultS3Location>
112 m_s3LocationHasBeenSet =
true;
113 m_s3Location = std::forward<S3LocationT>(value);
115 template <
typename S3LocationT = RetrievalResultS3Location>
128 template <
typename SalesforceLocationT = RetrievalResultSalesforceLocation>
130 m_salesforceLocationHasBeenSet =
true;
131 m_salesforceLocation = std::forward<SalesforceLocationT>(value);
133 template <
typename SalesforceLocationT = RetrievalResultSalesforceLocation>
146 template <
typename SharePo
intLocationT = RetrievalResultSharePo
intLocation>
148 m_sharePointLocationHasBeenSet =
true;
149 m_sharePointLocation = std::forward<SharePointLocationT>(value);
151 template <
typename SharePo
intLocationT = RetrievalResultSharePo
intLocation>
164 template <
typename SqlLocationT = RetrievalResultSqlLocation>
166 m_sqlLocationHasBeenSet =
true;
167 m_sqlLocation = std::forward<SqlLocationT>(value);
169 template <
typename SqlLocationT = RetrievalResultSqlLocation>
183 m_typeHasBeenSet =
true;
198 template <
typename WebLocationT = RetrievalResultWebLocation>
200 m_webLocationHasBeenSet =
true;
201 m_webLocation = std::forward<WebLocationT>(value);
203 template <
typename WebLocationT = RetrievalResultWebLocation>
226 RetrievalResultWebLocation m_webLocation;
227 bool m_confluenceLocationHasBeenSet =
false;
228 bool m_customDocumentLocationHasBeenSet =
false;
229 bool m_kendraDocumentLocationHasBeenSet =
false;
230 bool m_s3LocationHasBeenSet =
false;
231 bool m_salesforceLocationHasBeenSet =
false;
232 bool m_sharePointLocationHasBeenSet =
false;
233 bool m_sqlLocationHasBeenSet =
false;
234 bool m_typeHasBeenSet =
false;
235 bool m_webLocationHasBeenSet =
false;
void SetType(RetrievalResultLocationType 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)
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)
void SetKendraDocumentLocation(KendraDocumentLocationT &&value)
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 RetrievalResultKendraDocumentLocation & GetKendraDocumentLocation() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation()=default
RetrievalResultLocationType
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue