7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ContentDataSourceType.h>
9#include <aws/bedrock-agent/model/CustomDocumentIdentifier.h>
10#include <aws/bedrock-agent/model/S3Location.h>
21namespace BedrockAgent {
45 m_dataSourceTypeHasBeenSet =
true;
46 m_dataSourceType = value;
60 template <
typename S3T = S3Location>
62 m_s3HasBeenSet =
true;
63 m_s3 = std::forward<S3T>(value);
65 template <
typename S3T = S3Location>
67 SetS3(std::forward<S3T>(value));
79 template <
typename CustomT = CustomDocumentIdentifier>
81 m_customHasBeenSet =
true;
82 m_custom = std::forward<CustomT>(value);
84 template <
typename CustomT = CustomDocumentIdentifier>
95 CustomDocumentIdentifier m_custom;
96 bool m_dataSourceTypeHasBeenSet =
false;
97 bool m_s3HasBeenSet =
false;
98 bool m_customHasBeenSet =
false;
AWS_BEDROCKAGENT_API DocumentIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentIdentifier & WithCustom(CustomT &&value)
void SetCustom(CustomT &&value)
DocumentIdentifier & WithS3(S3T &&value)
AWS_BEDROCKAGENT_API DocumentIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API DocumentIdentifier()=default
void SetDataSourceType(ContentDataSourceType value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataSourceTypeHasBeenSet() const
bool S3HasBeenSet() const
bool CustomHasBeenSet() const
DocumentIdentifier & WithDataSourceType(ContentDataSourceType value)
const CustomDocumentIdentifier & GetCustom() const
const S3Location & GetS3() const
ContentDataSourceType GetDataSourceType() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue