7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ExternalSourcesGenerationConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent-runtime/model/ExternalSource.h>
24namespace BedrockAgentRuntime
66 inline void SetModelArn(
const char* value) { m_modelArnHasBeenSet =
true; m_modelArn.assign(value); }
89 bool m_generationConfigurationHasBeenSet =
false;
92 bool m_modelArnHasBeenSet =
false;
95 bool m_sourcesHasBeenSet =
false;
ExternalSourcesRetrieveAndGenerateConfiguration & WithModelArn(Aws::String &&value)
ExternalSourcesRetrieveAndGenerateConfiguration & WithModelArn(const Aws::String &value)
bool ModelArnHasBeenSet() const
const Aws::Vector< ExternalSource > & GetSources() const
const ExternalSourcesGenerationConfiguration & GetGenerationConfiguration() const
ExternalSourcesRetrieveAndGenerateConfiguration & AddSources(const ExternalSource &value)
void SetSources(Aws::Vector< ExternalSource > &&value)
void SetGenerationConfiguration(ExternalSourcesGenerationConfiguration &&value)
ExternalSourcesRetrieveAndGenerateConfiguration & WithModelArn(const char *value)
void SetModelArn(const Aws::String &value)
void SetGenerationConfiguration(const ExternalSourcesGenerationConfiguration &value)
void SetModelArn(const char *value)
ExternalSourcesRetrieveAndGenerateConfiguration & WithGenerationConfiguration(ExternalSourcesGenerationConfiguration &&value)
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesRetrieveAndGenerateConfiguration()
ExternalSourcesRetrieveAndGenerateConfiguration & WithGenerationConfiguration(const ExternalSourcesGenerationConfiguration &value)
void SetSources(const Aws::Vector< ExternalSource > &value)
const Aws::String & GetModelArn() const
ExternalSourcesRetrieveAndGenerateConfiguration & WithSources(Aws::Vector< ExternalSource > &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool GenerationConfigurationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesRetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalSourcesRetrieveAndGenerateConfiguration & AddSources(ExternalSource &&value)
ExternalSourcesRetrieveAndGenerateConfiguration & WithSources(const Aws::Vector< ExternalSource > &value)
void SetModelArn(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesRetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool SourcesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue