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/FileSourceType.h>
10#include <aws/bedrock-agent-runtime/model/S3ObjectFile.h>
21namespace BedrockAgentRuntime {
43 template <
typename ByteContentT = ByteContentFile>
45 m_byteContentHasBeenSet =
true;
46 m_byteContent = std::forward<ByteContentT>(value);
48 template <
typename ByteContentT = ByteContentFile>
61 template <
typename S3LocationT = S3ObjectFile>
63 m_s3LocationHasBeenSet =
true;
64 m_s3Location = std::forward<S3LocationT>(value);
66 template <
typename S3LocationT = S3ObjectFile>
80 m_sourceTypeHasBeenSet =
true;
94 bool m_byteContentHasBeenSet =
false;
95 bool m_s3LocationHasBeenSet =
false;
96 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue