7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/ExternalSourcesGenerationConfiguration.h>
11#include <aws/bedrock/model/ExternalSource.h>
52 template<
typename ModelArnT = Aws::String>
53 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
54 template<
typename ModelArnT = Aws::String>
65 template<
typename SourcesT = Aws::Vector<ExternalSource>>
66 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet =
true; m_sources = std::forward<SourcesT>(value); }
67 template<
typename SourcesT = Aws::Vector<ExternalSource>>
69 template<
typename SourcesT = ExternalSource>
80 template<
typename GenerationConfigurationT = ExternalSourcesGenerationConfiguration>
81 void SetGenerationConfiguration(GenerationConfigurationT&& value) { m_generationConfigurationHasBeenSet =
true; m_generationConfiguration = std::forward<GenerationConfigurationT>(value); }
82 template<
typename GenerationConfigurationT = ExternalSourcesGenerationConfiguration>
88 bool m_modelArnHasBeenSet =
false;
91 bool m_sourcesHasBeenSet =
false;
94 bool m_generationConfigurationHasBeenSet =
false;
AWS_BEDROCK_API ExternalSourcesRetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalSourcesRetrieveAndGenerateConfiguration & WithModelArn(ModelArnT &&value)
AWS_BEDROCK_API ExternalSourcesRetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool GenerationConfigurationHasBeenSet() const
AWS_BEDROCK_API ExternalSourcesRetrieveAndGenerateConfiguration()=default
ExternalSourcesRetrieveAndGenerateConfiguration & WithGenerationConfiguration(GenerationConfigurationT &&value)
ExternalSourcesRetrieveAndGenerateConfiguration & WithSources(SourcesT &&value)
bool ModelArnHasBeenSet() const
const ExternalSourcesGenerationConfiguration & GetGenerationConfiguration() const
ExternalSourcesRetrieveAndGenerateConfiguration & AddSources(SourcesT &&value)
void SetGenerationConfiguration(GenerationConfigurationT &&value)
void SetSources(SourcesT &&value)
bool SourcesHasBeenSet() const
const Aws::Vector< ExternalSource > & GetSources() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelArn(ModelArnT &&value)
const Aws::String & GetModelArn() 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