AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetrievalResultLocation.h
1
6#pragma once
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/RetrievalResultS3Location.h>
10#include <aws/bedrock-agent-runtime/model/RetrievalResultSalesforceLocation.h>
11#include <aws/bedrock-agent-runtime/model/RetrievalResultSharePointLocation.h>
12#include <aws/bedrock-agent-runtime/model/RetrievalResultLocationType.h>
13#include <aws/bedrock-agent-runtime/model/RetrievalResultWebLocation.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgentRuntime
27{
28namespace Model
29{
30
45 {
46 public:
47 AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation();
48 AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation(Aws::Utils::Json::JsonView jsonValue);
49 AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const RetrievalResultConfluenceLocation& GetConfluenceLocation() const{ return m_confluenceLocation; }
58 inline bool ConfluenceLocationHasBeenSet() const { return m_confluenceLocationHasBeenSet; }
59 inline void SetConfluenceLocation(const RetrievalResultConfluenceLocation& value) { m_confluenceLocationHasBeenSet = true; m_confluenceLocation = value; }
60 inline void SetConfluenceLocation(RetrievalResultConfluenceLocation&& value) { m_confluenceLocationHasBeenSet = true; m_confluenceLocation = std::move(value); }
64
66
69 inline const RetrievalResultS3Location& GetS3Location() const{ return m_s3Location; }
70 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
71 inline void SetS3Location(const RetrievalResultS3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
72 inline void SetS3Location(RetrievalResultS3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
74 inline RetrievalResultLocation& WithS3Location(RetrievalResultS3Location&& value) { SetS3Location(std::move(value)); return *this;}
76
78
81 inline const RetrievalResultSalesforceLocation& GetSalesforceLocation() const{ return m_salesforceLocation; }
82 inline bool SalesforceLocationHasBeenSet() const { return m_salesforceLocationHasBeenSet; }
83 inline void SetSalesforceLocation(const RetrievalResultSalesforceLocation& value) { m_salesforceLocationHasBeenSet = true; m_salesforceLocation = value; }
84 inline void SetSalesforceLocation(RetrievalResultSalesforceLocation&& value) { m_salesforceLocationHasBeenSet = true; m_salesforceLocation = std::move(value); }
88
90
93 inline const RetrievalResultSharePointLocation& GetSharePointLocation() const{ return m_sharePointLocation; }
94 inline bool SharePointLocationHasBeenSet() const { return m_sharePointLocationHasBeenSet; }
95 inline void SetSharePointLocation(const RetrievalResultSharePointLocation& value) { m_sharePointLocationHasBeenSet = true; m_sharePointLocation = value; }
96 inline void SetSharePointLocation(RetrievalResultSharePointLocation&& value) { m_sharePointLocationHasBeenSet = true; m_sharePointLocation = std::move(value); }
100
102
105 inline const RetrievalResultLocationType& GetType() const{ return m_type; }
106 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
107 inline void SetType(const RetrievalResultLocationType& value) { m_typeHasBeenSet = true; m_type = value; }
108 inline void SetType(RetrievalResultLocationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
109 inline RetrievalResultLocation& WithType(const RetrievalResultLocationType& value) { SetType(value); return *this;}
110 inline RetrievalResultLocation& WithType(RetrievalResultLocationType&& value) { SetType(std::move(value)); return *this;}
112
114
117 inline const RetrievalResultWebLocation& GetWebLocation() const{ return m_webLocation; }
118 inline bool WebLocationHasBeenSet() const { return m_webLocationHasBeenSet; }
119 inline void SetWebLocation(const RetrievalResultWebLocation& value) { m_webLocationHasBeenSet = true; m_webLocation = value; }
120 inline void SetWebLocation(RetrievalResultWebLocation&& value) { m_webLocationHasBeenSet = true; m_webLocation = std::move(value); }
122 inline RetrievalResultLocation& WithWebLocation(RetrievalResultWebLocation&& value) { SetWebLocation(std::move(value)); return *this;}
124 private:
125
126 RetrievalResultConfluenceLocation m_confluenceLocation;
127 bool m_confluenceLocationHasBeenSet = false;
128
129 RetrievalResultS3Location m_s3Location;
130 bool m_s3LocationHasBeenSet = false;
131
132 RetrievalResultSalesforceLocation m_salesforceLocation;
133 bool m_salesforceLocationHasBeenSet = false;
134
135 RetrievalResultSharePointLocation m_sharePointLocation;
136 bool m_sharePointLocationHasBeenSet = false;
137
139 bool m_typeHasBeenSet = false;
140
141 RetrievalResultWebLocation m_webLocation;
142 bool m_webLocationHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace BedrockAgentRuntime
147} // namespace Aws
void SetType(const RetrievalResultLocationType &value)
RetrievalResultLocation & WithS3Location(RetrievalResultS3Location &&value)
RetrievalResultLocation & WithConfluenceLocation(RetrievalResultConfluenceLocation &&value)
const RetrievalResultWebLocation & GetWebLocation() const
const RetrievalResultS3Location & GetS3Location() const
RetrievalResultLocation & WithWebLocation(const RetrievalResultWebLocation &value)
const RetrievalResultConfluenceLocation & GetConfluenceLocation() const
RetrievalResultLocation & WithSharePointLocation(const RetrievalResultSharePointLocation &value)
RetrievalResultLocation & WithS3Location(const RetrievalResultS3Location &value)
const RetrievalResultSharePointLocation & GetSharePointLocation() const
RetrievalResultLocation & WithType(const RetrievalResultLocationType &value)
RetrievalResultLocation & WithType(RetrievalResultLocationType &&value)
void SetSalesforceLocation(RetrievalResultSalesforceLocation &&value)
RetrievalResultLocation & WithSalesforceLocation(const RetrievalResultSalesforceLocation &value)
const RetrievalResultSalesforceLocation & GetSalesforceLocation() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API RetrievalResultLocation(Aws::Utils::Json::JsonView jsonValue)
RetrievalResultLocation & WithSharePointLocation(RetrievalResultSharePointLocation &&value)
void SetS3Location(const RetrievalResultS3Location &value)
void SetSharePointLocation(RetrievalResultSharePointLocation &&value)
void SetWebLocation(const RetrievalResultWebLocation &value)
void SetSalesforceLocation(const RetrievalResultSalesforceLocation &value)
RetrievalResultLocation & WithWebLocation(RetrievalResultWebLocation &&value)
RetrievalResultLocation & WithConfluenceLocation(const RetrievalResultConfluenceLocation &value)
void SetConfluenceLocation(const RetrievalResultConfluenceLocation &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
RetrievalResultLocation & WithSalesforceLocation(RetrievalResultSalesforceLocation &&value)
void SetSharePointLocation(const RetrievalResultSharePointLocation &value)
void SetConfluenceLocation(RetrievalResultConfluenceLocation &&value)
Aws::Utils::Json::JsonValue JsonValue