7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/DocumentFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-runtime/model/DocumentSource.h>
23namespace BedrockRuntime
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 bool m_formatHasBeenSet =
false;
91 bool m_nameHasBeenSet =
false;
94 bool m_sourceHasBeenSet =
false;
void SetFormat(const DocumentFormat &value)
DocumentBlock & WithSource(const DocumentSource &value)
bool FormatHasBeenSet() const
DocumentBlock & WithFormat(const DocumentFormat &value)
const DocumentFormat & GetFormat() const
DocumentBlock & WithSource(DocumentSource &&value)
bool SourceHasBeenSet() const
void SetName(Aws::String &&value)
void SetSource(const DocumentSource &value)
AWS_BEDROCKRUNTIME_API DocumentBlock()
DocumentBlock & WithName(const Aws::String &value)
DocumentBlock & WithName(const char *value)
const Aws::String & GetName() const
DocumentBlock & WithFormat(DocumentFormat &&value)
AWS_BEDROCKRUNTIME_API DocumentBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSource(DocumentSource &&value)
void SetName(const char *value)
AWS_BEDROCKRUNTIME_API DocumentBlock(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(DocumentFormat &&value)
void SetName(const Aws::String &value)
DocumentBlock & WithName(Aws::String &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const DocumentSource & GetSource() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue