7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ByteContentDoc.h>
9#include <aws/bedrock-agent-runtime/model/ExternalSourceType.h>
10#include <aws/bedrock-agent-runtime/model/S3ObjectDoc.h>
21namespace BedrockAgentRuntime {
44 template <
typename ByteContentT = ByteContentDoc>
46 m_byteContentHasBeenSet =
true;
47 m_byteContent = std::forward<ByteContentT>(value);
49 template <
typename ByteContentT = ByteContentDoc>
62 template <
typename S3LocationT = S3ObjectDoc>
64 m_s3LocationHasBeenSet =
true;
65 m_s3Location = std::forward<S3LocationT>(value);
67 template <
typename S3LocationT = S3ObjectDoc>
81 m_sourceTypeHasBeenSet =
true;
95 bool m_byteContentHasBeenSet =
false;
96 bool m_s3LocationHasBeenSet =
false;
97 bool m_sourceTypeHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceTypeHasBeenSet() const
ExternalSource & WithSourceType(ExternalSourceType value)
bool S3LocationHasBeenSet() const
void SetByteContent(ByteContentT &&value)
ExternalSource & WithByteContent(ByteContentT &&value)
void SetS3Location(S3LocationT &&value)
ExternalSource & WithS3Location(S3LocationT &&value)
const ByteContentDoc & GetByteContent() const
void SetSourceType(ExternalSourceType value)
ExternalSourceType GetSourceType() const
bool ByteContentHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ExternalSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API ExternalSource()=default
AWS_BEDROCKAGENTRUNTIME_API ExternalSource(Aws::Utils::Json::JsonView jsonValue)
const S3ObjectDoc & GetS3Location() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue