7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ExternalSourceType.h>
9#include <aws/bedrock/model/S3ObjectDoc.h>
10#include <aws/bedrock/model/ByteContentDoc.h>
59 template<
typename S3LocationT = S3ObjectDoc>
60 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet =
true; m_s3Location = std::forward<S3LocationT>(value); }
61 template<
typename S3LocationT = S3ObjectDoc>
72 template<
typename ByteContentT = ByteContentDoc>
73 void SetByteContent(ByteContentT&& value) { m_byteContentHasBeenSet =
true; m_byteContent = std::forward<ByteContentT>(value); }
74 template<
typename ByteContentT = ByteContentDoc>
80 bool m_sourceTypeHasBeenSet =
false;
82 S3ObjectDoc m_s3Location;
83 bool m_s3LocationHasBeenSet =
false;
85 ByteContentDoc m_byteContent;
86 bool m_byteContentHasBeenSet =
false;
bool S3LocationHasBeenSet() const
ExternalSourceType GetSourceType() const
AWS_BEDROCK_API ExternalSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const ByteContentDoc & GetByteContent() const
void SetS3Location(S3LocationT &&value)
ExternalSource & WithSourceType(ExternalSourceType value)
ExternalSource & WithByteContent(ByteContentT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetByteContent(ByteContentT &&value)
AWS_BEDROCK_API ExternalSource()=default
void SetSourceType(ExternalSourceType value)
AWS_BEDROCK_API ExternalSource(Aws::Utils::Json::JsonView jsonValue)
const S3ObjectDoc & GetS3Location() const
ExternalSource & WithS3Location(S3LocationT &&value)
bool SourceTypeHasBeenSet() const
bool ByteContentHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue