7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ByteContentDoc.h>
9#include <aws/bedrock/model/ExternalSourceType.h>
10#include <aws/bedrock/model/S3ObjectDoc.h>
44 m_sourceTypeHasBeenSet =
true;
59 template <
typename S3LocationT = S3ObjectDoc>
61 m_s3LocationHasBeenSet =
true;
62 m_s3Location = std::forward<S3LocationT>(value);
64 template <
typename S3LocationT = S3ObjectDoc>
78 template <
typename ByteContentT = ByteContentDoc>
80 m_byteContentHasBeenSet =
true;
81 m_byteContent = std::forward<ByteContentT>(value);
83 template <
typename ByteContentT = ByteContentDoc>
92 S3ObjectDoc m_s3Location;
94 ByteContentDoc m_byteContent;
95 bool m_sourceTypeHasBeenSet =
false;
96 bool m_s3LocationHasBeenSet =
false;
97 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue