7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ByteContentFile.h>
9#include <aws/bedrock-agent-runtime/model/S3ObjectFile.h>
10#include <aws/bedrock-agent-runtime/model/FileSourceType.h>
23namespace BedrockAgentRuntime
49 template<
typename ByteContentT = ByteContentFile>
50 void SetByteContent(ByteContentT&& value) { m_byteContentHasBeenSet =
true; m_byteContent = std::forward<ByteContentT>(value); }
51 template<
typename ByteContentT = ByteContentFile>
61 template<
typename S3LocationT = S3ObjectFile>
62 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet =
true; m_s3Location = std::forward<S3LocationT>(value); }
63 template<
typename S3LocationT = S3ObjectFile>
79 bool m_byteContentHasBeenSet =
false;
82 bool m_s3LocationHasBeenSet =
false;
85 bool m_sourceTypeHasBeenSet =
false;
FileSource & WithSourceType(FileSourceType value)
void SetSourceType(FileSourceType value)
void SetByteContent(ByteContentT &&value)
const ByteContentFile & GetByteContent() const
FileSourceType GetSourceType() const
AWS_BEDROCKAGENTRUNTIME_API FileSource(Aws::Utils::Json::JsonView jsonValue)
bool S3LocationHasBeenSet() const
void SetS3Location(S3LocationT &&value)
bool ByteContentHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FileSource()=default
const S3ObjectFile & GetS3Location() const
AWS_BEDROCKAGENTRUNTIME_API FileSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceTypeHasBeenSet() const
FileSource & WithS3Location(S3LocationT &&value)
FileSource & WithByteContent(ByteContentT &&value)
Aws::Utils::Json::JsonValue JsonValue