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/S3ObjectDoc.h>
10#include <aws/bedrock-agent-runtime/model/ExternalSourceType.h>
23namespace BedrockAgentRuntime
50 template<
typename ByteContentT = ByteContentDoc>
51 void SetByteContent(ByteContentT&& value) { m_byteContentHasBeenSet =
true; m_byteContent = std::forward<ByteContentT>(value); }
52 template<
typename ByteContentT = ByteContentDoc>
62 template<
typename S3LocationT = S3ObjectDoc>
63 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet =
true; m_s3Location = std::forward<S3LocationT>(value); }
64 template<
typename S3LocationT = S3ObjectDoc>
80 bool m_byteContentHasBeenSet =
false;
83 bool m_s3LocationHasBeenSet =
false;
86 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
Aws::Utils::Json::JsonValue JsonValue