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/RetrievalResultS3Location.h>
12#include <aws/bedrock-agent-runtime/model/RetrievalResultSalesforceLocation.h>
13#include <aws/bedrock-agent-runtime/model/RetrievalResultSharePointLocation.h>
14#include <aws/bedrock-agent-runtime/model/RetrievalResultSqlLocation.h>
15#include <aws/bedrock-agent-runtime/model/RetrievalResultLocationType.h>
16#include <aws/bedrock-agent-runtime/model/RetrievalResultWebLocation.h>
29namespace BedrockAgentRuntime
62 template<
typename ConfluenceLocationT = RetrievalResultConfluenceLocation>
63 void SetConfluenceLocation(ConfluenceLocationT&& value) { m_confluenceLocationHasBeenSet =
true; m_confluenceLocation = std::forward<ConfluenceLocationT>(value); }
64 template<
typename ConfluenceLocationT = RetrievalResultConfluenceLocation>
74 template<
typename CustomDocumentLocationT = RetrievalResultCustomDocumentLocation>
75 void SetCustomDocumentLocation(CustomDocumentLocationT&& value) { m_customDocumentLocationHasBeenSet =
true; m_customDocumentLocation = std::forward<CustomDocumentLocationT>(value); }
76 template<
typename CustomDocumentLocationT = RetrievalResultCustomDocumentLocation>
86 template<
typename KendraDocumentLocationT = RetrievalResultKendraDocumentLocation>
87 void SetKendraDocumentLocation(KendraDocumentLocationT&& value) { m_kendraDocumentLocationHasBeenSet =
true; m_kendraDocumentLocation = std::forward<KendraDocumentLocationT>(value); }
88 template<
typename KendraDocumentLocationT = RetrievalResultKendraDocumentLocation>
98 template<
typename S3LocationT = RetrievalResultS3Location>
99 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet =
true; m_s3Location = std::forward<S3LocationT>(value); }
100 template<
typename S3LocationT = RetrievalResultS3Location>
110 template<
typename SalesforceLocationT = RetrievalResultSalesforceLocation>
111 void SetSalesforceLocation(SalesforceLocationT&& value) { m_salesforceLocationHasBeenSet =
true; m_salesforceLocation = std::forward<SalesforceLocationT>(value); }
112 template<
typename SalesforceLocationT = RetrievalResultSalesforceLocation>
122 template<
typename SharePo
intLocationT = RetrievalResultSharePo
intLocation>
123 void SetSharePointLocation(SharePointLocationT&& value) { m_sharePointLocationHasBeenSet =
true; m_sharePointLocation = std::forward<SharePointLocationT>(value); }
124 template<
typename SharePo
intLocationT = RetrievalResultSharePo
intLocation>
134 template<
typename SqlLocationT = RetrievalResultSqlLocation>
135 void SetSqlLocation(SqlLocationT&& value) { m_sqlLocationHasBeenSet =
true; m_sqlLocation = std::forward<SqlLocationT>(value); }
136 template<
typename SqlLocationT = RetrievalResultSqlLocation>
156 template<
typename WebLocationT = RetrievalResultWebLocation>
157 void SetWebLocation(WebLocationT&& value) { m_webLocationHasBeenSet =
true; m_webLocation = std::forward<WebLocationT>(value); }
158 template<
typename WebLocationT = RetrievalResultWebLocation>
164 bool m_confluenceLocationHasBeenSet =
false;
167 bool m_customDocumentLocationHasBeenSet =
false;
170 bool m_kendraDocumentLocationHasBeenSet =
false;
173 bool m_s3LocationHasBeenSet =
false;
176 bool m_salesforceLocationHasBeenSet =
false;
179 bool m_sharePointLocationHasBeenSet =
false;
182 bool m_sqlLocationHasBeenSet =
false;
185 bool m_typeHasBeenSet =
false;
187 RetrievalResultWebLocation m_webLocation;
188 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
Aws::Utils::Json::JsonValue JsonValue