7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/CustomContent.h>
9#include <aws/bedrock-agent/model/ContentDataSourceType.h>
10#include <aws/bedrock-agent/model/S3Content.h>
51 template<
typename CustomT = CustomContent>
52 void SetCustom(CustomT&& value) { m_customHasBeenSet =
true; m_custom = std::forward<CustomT>(value); }
53 template<
typename CustomT = CustomContent>
75 template<
typename S3T = S3Content>
76 void SetS3(S3T&& value) { m_s3HasBeenSet =
true; m_s3 = std::forward<S3T>(value); }
77 template<
typename S3T = S3Content>
83 bool m_customHasBeenSet =
false;
86 bool m_dataSourceTypeHasBeenSet =
false;
89 bool m_s3HasBeenSet =
false;
bool CustomHasBeenSet() const
bool S3HasBeenSet() const
AWS_BEDROCKAGENT_API DocumentContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataSourceType(ContentDataSourceType value)
ContentDataSourceType GetDataSourceType() const
bool DataSourceTypeHasBeenSet() const
AWS_BEDROCKAGENT_API DocumentContent(Aws::Utils::Json::JsonView jsonValue)
void SetCustom(CustomT &&value)
DocumentContent & WithCustom(CustomT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentContent & WithS3(S3T &&value)
const CustomContent & GetCustom() const
AWS_BEDROCKAGENT_API DocumentContent()=default
DocumentContent & WithDataSourceType(ContentDataSourceType value)
const S3Content & GetS3() const
Aws::Utils::Json::JsonValue JsonValue