/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a template for the configuration information to connect to your data
* source.See Also:
AWS
* API Reference
The template schema used for the data source, where templates schemas are * supported.
See Data source * template schemas.
*/ inline Aws::Utils::DocumentView GetTemplate() const{ return m_template; } /** *The template schema used for the data source, where templates schemas are * supported.
See Data source * template schemas.
*/ inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } /** *The template schema used for the data source, where templates schemas are * supported.
See Data source * template schemas.
*/ inline void SetTemplate(const Aws::Utils::Document& value) { m_templateHasBeenSet = true; m_template = value; } /** *The template schema used for the data source, where templates schemas are * supported.
See Data source * template schemas.
*/ inline void SetTemplate(Aws::Utils::Document&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } /** *The template schema used for the data source, where templates schemas are * supported.
See Data source * template schemas.
*/ inline TemplateConfiguration& WithTemplate(const Aws::Utils::Document& value) { SetTemplate(value); return *this;} /** *The template schema used for the data source, where templates schemas are * supported.
*/ inline TemplateConfiguration& WithTemplate(Aws::Utils::Document&& value) { SetTemplate(std::move(value)); return *this;} private: Aws::Utils::Document m_template; bool m_templateHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws