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
51 template<
typename GenerationConfigurationT = ExternalSourcesGenerationConfiguration>
52 void SetGenerationConfiguration(GenerationConfigurationT&& value) { m_generationConfigurationHasBeenSet =
true; m_generationConfiguration = std::forward<GenerationConfigurationT>(value); }
53 template<
typename GenerationConfigurationT = ExternalSourcesGenerationConfiguration>
64 template<
typename ModelArnT = Aws::String>
65 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
66 template<
typename ModelArnT = Aws::String>
77 template<
typename SourcesT = Aws::Vector<ExternalSource>>
78 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet =
true; m_sources = std::forward<SourcesT>(value); }
79 template<
typename SourcesT = Aws::Vector<ExternalSource>>
81 template<
typename SourcesT = ExternalSource>
87 bool m_generationConfigurationHasBeenSet =
false;
90 bool m_modelArnHasBeenSet =
false;
93 bool m_sourcesHasBeenSet =
false;
ExternalSourcesRetrieveAndGenerateConfiguration & WithModelArn(ModelArnT &&value)
ExternalSourcesRetrieveAndGenerateConfiguration & AddSources(SourcesT &&value)
bool ModelArnHasBeenSet() const
ExternalSourcesRetrieveAndGenerateConfiguration & WithSources(SourcesT &&value)
const Aws::Vector< ExternalSource > & GetSources() const
const ExternalSourcesGenerationConfiguration & GetGenerationConfiguration() const
void SetSources(SourcesT &&value)
void SetModelArn(ModelArnT &&value)
void SetGenerationConfiguration(GenerationConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesRetrieveAndGenerateConfiguration()=default
const Aws::String & GetModelArn() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool GenerationConfigurationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesRetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalSourcesRetrieveAndGenerateConfiguration & WithGenerationConfiguration(GenerationConfigurationT &&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